suricata
|
#include <time.h>
Go to the source code of this file.
Macros | |
#define | CLOCK_INIT clock_t clo1, clo2; clo1 = clo2 = 0; |
#define | CLOCK_START clo1 = clock() |
#define | CLOCK_END clo2 = clock() |
#define | CLOCK_PRINT_SEC printf("Seconds spent: %.4fs\n", ((double)(clo2 - clo1) / (double)CLOCKS_PER_SEC)) |
Definition in file util-clock.h.
#define CLOCK_END clo2 = clock() |
Definition at line 35 of file util-clock.h.
#define CLOCK_INIT clock_t clo1, clo2; clo1 = clo2 = 0; |
Definition at line 32 of file util-clock.h.
#define CLOCK_PRINT_SEC printf("Seconds spent: %.4fs\n", ((double)(clo2 - clo1) / (double)CLOCKS_PER_SEC)) |
Definition at line 37 of file util-clock.h.
#define CLOCK_START clo1 = clock() |
Definition at line 33 of file util-clock.h.