![]() |
Icinga-core 1.4.0
next gen monitoring
|
#include "../include/icinga.h"
#include "../include/profiler.h"
Go to the source code of this file.
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_free (profiler_item *p[], int count) |
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 | |
int | profiler_item_count = -1 |
int | profiler_core_event_types [] |
profiler_item * | profiler |
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_free | ( | profiler_item * | p[], |
int | count | ||
) |
Definition at line 126 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.
Definition at line 61 of file profiler.c.
{ EVENT_SERVICE_CHECK, EVENT_HOST_CHECK, EVENT_COMMAND_CHECK, EVENT_LOG_ROTATION, EVENT_PROGRAM_SHUTDOWN, EVENT_PROGRAM_RESTART, EVENT_CHECK_REAPER, EVENT_ORPHAN_CHECK, EVENT_RETENTION_SAVE, EVENT_STATUS_SAVE, EVENT_SCHEDULED_DOWNTIME, EVENT_SFRESHNESS_CHECK, EVENT_HFRESHNESS_CHECK, EVENT_EXPIRE_DOWNTIME, EVENT_RESCHEDULE_CHECKS, EVENT_EXPIRE_COMMENT, EVENT_USER_FUNCTION, EVENT_LOOP_COMPLETION }
Definition at line 40 of file profiler.c.
int profiler_item_count = -1 |
Definition at line 38 of file profiler.c.