rofi 1.7.5
|
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__, "") |
Report current time since TIMINGS_START
Definition at line 64 of file timings.h.
Referenced by cairo_image_surface_blur(), main(), rofi_view_create(), and rofi_view_update().
#define TICK_N | ( | a | ) | rofi_timings_tick(__FILE__, __func__, __LINE__, a) |
a | an string Report current time since TIMINGS_START |
Definition at line 69 of file timings.h.
Referenced by __create_window(), cairo_image_surface_blur(), display_setup(), get_apps(), listview_set_num_elements(), main(), rofi_view_create(), rofi_view_refilter_real(), rofi_view_repaint(), rofi_view_setup_fake_transparency(), rofi_view_update(), rofi_view_workers_initialize(), and startup().
#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.