diff options
Diffstat (limited to 'include/afl-fuzz.h')
-rw-r--r-- | include/afl-fuzz.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/afl-fuzz.h b/include/afl-fuzz.h index 693e0dc6..d5ad4653 100644 --- a/include/afl-fuzz.h +++ b/include/afl-fuzz.h @@ -858,32 +858,6 @@ static u64 next_p2(u64 val) { } -/* Get unix time in milliseconds */ - -static u64 get_cur_time(void) { - - struct timeval tv; - struct timezone tz; - - gettimeofday(&tv, &tz); - - return (tv.tv_sec * 1000ULL) + (tv.tv_usec / 1000); - -} - -/* Get unix time in microseconds */ - -static u64 get_cur_time_us(void) { - - struct timeval tv; - struct timezone tz; - - gettimeofday(&tv, &tz); - - return (tv.tv_sec * 1000000ULL) + tv.tv_usec; - -} - #ifdef _AFL_DOCUMENT_MUTATIONS extern u8 do_document; extern u32 document_counter; |