mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-20 21:25:43 +00:00
ensure this does not happen again
This commit is contained in:
@ -979,6 +979,7 @@ inline u64 get_cur_time(void) {
|
||||
struct timeval tv;
|
||||
struct timezone tz;
|
||||
|
||||
// TO NOT REPLACE WITH clock_gettime!!!
|
||||
gettimeofday(&tv, &tz);
|
||||
|
||||
return (tv.tv_sec * 1000ULL) + (tv.tv_usec / 1000);
|
||||
@ -992,6 +993,7 @@ inline u64 get_cur_time_us(void) {
|
||||
struct timeval tv;
|
||||
struct timezone tz;
|
||||
|
||||
// TO NOT REPLACE WITH clock_gettime!!!
|
||||
gettimeofday(&tv, &tz);
|
||||
|
||||
return (tv.tv_sec * 1000000ULL) + tv.tv_usec;
|
||||
|
Reference in New Issue
Block a user