Multi-ApplicationOnlineProfiling  2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Knowledge_System.h File Reference
#include "Buffered_FIFO.h"
#include "Spinlock.h"
Include dependency graph for Knowledge_System.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Knowledge_system
 The Knowledge_system structure. More...
 
struct  Knowledge_system_job
 struct representing a job that does the actual data processing (created by Knowledge_system) More...
 

Functions

void Knowledge_system_init (struct Knowledge_system *ks, uint64_t type, uint64_t *sensivity_keys, uint32_t sensivity_count, void(*process)(struct MALP_blackboard *bb, struct Data_entry **de, uint32_t entry_count, void *arg), void *arg)
 Initializes a Knowledge_system. More...
 
void Knowledge_system_release (struct Knowledge_system *ks)
 Knowledge_system release. More...
 
void Knowledge_system_set_process (struct Knowledge_system *ks, void(*process)(struct MALP_blackboard *bb, struct Data_entry **de, uint32_t entry_count, void *arg), void *arg)
 sets the processing function to a Knowledge_system More...
 
void Knowledge_system_set_serial (struct Knowledge_system *ks, int is_serial)
 sets the parallelism mode for this KS More...
 
int Knowledge_system_has_unsatisfied_sensivities (struct Knowledge_system *ks)
 Knowledge_system_has_unsatisfied_sensivities. More...
 
struct Knowledge_system_job Knowledge_system_job_new (struct Knowledge_system *ks)
 Knowledge_system_job_new. More...
 
void Knowledge_system_job_release (struct Knowledge_system_job *ksj)
 Knowledge_system_job_release. More...
 
struct Knowledge_system_job Knowledge_system_submit_data_entry (struct Knowledge_system *ks, struct Data_entry *de)
 Knowledge_system_submit_data_entry. More...