Icinga-core 1.4.0
next gen monitoring
include/profiler.h File Reference

Go to the source code of this file.

Data Structures

struct  profiler_item

Defines

#define EVENT_LOOP_EMPTY_LIST   100
#define EVENT_LOOP_EVENT_LIST_HIGH_EXECUTED   101
#define EVENT_LOOP_FAIL_NO_SERVICE_CHECKS   102
#define EVENT_LOOP_FAIL_MAX_CHECKS   103
#define EVENT_LOOP_FAIL_PARALLEL   104
#define EVENT_LOOP_FAIL_NO_HOST_CHECKS   105
#define EVENT_LOOP_EXECUTED_EVENT   106
#define EVENT_LOOP_NO_EXECUTION   107
#define EVENT_LOOP_IDLED   108
#define EVENT_LOOP_COMPLETION   109

Typedefs

typedef struct profiler_item profiler_item

Functions

void profiler_init ()
void profiler_enable_core ()
void profiler_enable_all ()
void profiler_full_reset (profiler_item *p[])
void profiler_item_reset (profiler_item *p)
void profiler_add (int event, char *name)
void profiler_setstate (int event, int state)
void profiler_rename (int p, char *name)
void profiler_update (int event, struct timeval start)
void profiler_output (FILE *fp)

Variables

profiler_itemprofiler

Define Documentation

#define EVENT_LOOP_COMPLETION   109

Definition at line 46 of file profiler.h.

#define EVENT_LOOP_EMPTY_LIST   100

Definition at line 37 of file profiler.h.

#define EVENT_LOOP_EVENT_LIST_HIGH_EXECUTED   101

Definition at line 38 of file profiler.h.

#define EVENT_LOOP_EXECUTED_EVENT   106

Definition at line 43 of file profiler.h.

#define EVENT_LOOP_FAIL_MAX_CHECKS   103

Definition at line 40 of file profiler.h.

#define EVENT_LOOP_FAIL_NO_HOST_CHECKS   105

Definition at line 42 of file profiler.h.

#define EVENT_LOOP_FAIL_NO_SERVICE_CHECKS   102

Definition at line 39 of file profiler.h.

#define EVENT_LOOP_FAIL_PARALLEL   104

Definition at line 41 of file profiler.h.

#define EVENT_LOOP_IDLED   108

Definition at line 45 of file profiler.h.

#define EVENT_LOOP_NO_EXECUTION   107

Definition at line 44 of file profiler.h.


Typedef Documentation

typedef struct profiler_item profiler_item

Function Documentation

void profiler_add ( int  event,
char *  name 
)

Definition at line 137 of file profiler.c.

void profiler_enable_all ( )

Definition at line 99 of file profiler.c.

void profiler_enable_core ( )

Definition at line 88 of file profiler.c.

void profiler_full_reset ( profiler_item p[])

Definition at line 109 of file profiler.c.

void profiler_init ( )

Definition at line 64 of file profiler.c.

void profiler_item_reset ( profiler_item p)

Definition at line 119 of file profiler.c.

void profiler_output ( FILE *  fp)

Definition at line 192 of file profiler.c.

void profiler_rename ( int  p,
char *  name 
)

Definition at line 162 of file profiler.c.

void profiler_setstate ( int  event,
int  state 
)

Definition at line 157 of file profiler.c.

void profiler_update ( int  event,
struct timeval  start 
)

Definition at line 168 of file profiler.c.


Variable Documentation

Definition at line 61 of file profiler.c.

 All Data Structures Files Functions Variables Typedefs Defines