|
rofi
1.5.4
|
|
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 37 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 | ||
| ) |
| str | function name. |
| line | line number |
| msg | message |
Report a tick.
Definition at line 44 of file timings.c.
References global_timer, and global_timer_last.