My Project
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
stat_msg_handler.c File Reference
#include "stat_msg_handler.h"
#include "timeseries.h"
#include "controller_stats.h"
#include "scheduling_decision.h"
#include "logging.h"
#include "scheduling.h"
#include "controller_dfg.h"
#include "controller_mysql.h"

Go to the source code of this file.

Macros

#define MAX_STAT_SAMPLES   128
 
#define MAX_SAMPLE_SIZE   64
 

Functions

static int process_stat_sample (int runtime_id, struct stat_sample *sample)
 
int handle_serialized_stats_buffer (int runtime_id, void *buffer, size_t buffer_len)
 
int init_stats_msg_handler ()
 

Variables

struct stat_sampleincoming_samples
 

Macro Definition Documentation

#define MAX_SAMPLE_SIZE   64

Definition at line 30 of file stat_msg_handler.c.

#define MAX_STAT_SAMPLES   128

Definition at line 29 of file stat_msg_handler.c.

Function Documentation

int handle_serialized_stats_buffer ( int  runtime_id,
void *  buffer,
size_t  buffer_len 
)

Definition at line 66 of file stat_msg_handler.c.

int init_stats_msg_handler ( )

Definition at line 93 of file stat_msg_handler.c.

static int process_stat_sample ( int  runtime_id,
struct stat_sample sample 
)
static

Definition at line 33 of file stat_msg_handler.c.

Variable Documentation

struct stat_sample* incoming_samples

Definition at line 31 of file stat_msg_handler.c.