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 |
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_item * | profiler |
#define EVENT_LOOP_COMPLETION 109 |
#define EVENT_LOOP_EMPTY_LIST 100 |
#define EVENT_LOOP_EVENT_LIST_HIGH_EXECUTED 101 |
#define EVENT_LOOP_EXECUTED_EVENT 106 |
#define EVENT_LOOP_FAIL_MAX_CHECKS 103 |
#define EVENT_LOOP_FAIL_NO_HOST_CHECKS 105 |
#define EVENT_LOOP_FAIL_NO_SERVICE_CHECKS 102 |
#define EVENT_LOOP_FAIL_PARALLEL 104 |
#define EVENT_LOOP_IDLED 108 |
#define EVENT_LOOP_NO_EXECUTION 107 |
void profiler_add | ( | int | event, | |
char * | name | |||
) |
void profiler_enable_all | ( | ) |
void profiler_enable_core | ( | ) |
void profiler_full_reset | ( | profiler_item * | p[] | ) |
void profiler_init | ( | ) |
void profiler_item_reset | ( | profiler_item * | p | ) |
void profiler_output | ( | FILE * | fp | ) |
void profiler_rename | ( | int | p, | |
char * | name | |||
) |
void profiler_setstate | ( | int | event, | |
int | state | |||
) |
void profiler_update | ( | int | event, | |
struct timeval | start | |||
) |