rofi
1.7.0
|
Macros | |
#define | TIMINGS_START() rofi_timings_init() |
#define | TICK() rofi_timings_tick(__FILE__, __func__, __LINE__, "") |
#define | TICK_N(a) rofi_timings_tick(__FILE__, __func__, __LINE__, a) |
#define | TIMINGS_STOP() rofi_timings_quit() |
Functions | |
void | rofi_timings_init (void) |
void | rofi_timings_tick (const char *file, char const *str, int line, char const *msg) |
void | rofi_timings_quit (void) |
#define TICK | ( | ) | rofi_timings_tick(__FILE__, __func__, __LINE__, "") |
#define TICK_N | ( | a | ) | rofi_timings_tick(__FILE__, __func__, __LINE__, a) |
#define TIMINGS_START | ( | ) | rofi_timings_init() |
#define TIMINGS_STOP | ( | ) | rofi_timings_quit() |
void rofi_timings_init | ( | void | ) |
Init the timestamping mechanism . implementation.
Definition at line 44 of file timings.c.
References global_timer.
void rofi_timings_quit | ( | void | ) |
void rofi_timings_tick | ( | const char * | file, |
char const * | str, | ||
int | line, | ||
char const * | msg | ||
) |
file | filename tick originates from |
str | function name. |
line | line number |
msg | message |
Report a tick.
Definition at line 50 of file timings.c.
References global_timer, and global_timer_last.