projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
smalloc: increase alloc size
[fio.git]
/
gettime.c
diff --git
a/gettime.c
b/gettime.c
index 4f6ec955c561cf49b9bfae3740f1c4968d51a0ff..d78cf6d0ba9281a36ec286c5e6e87843fb49e360 100644
(file)
--- a/
gettime.c
+++ b/
gettime.c
@@
-6,11
+6,10
@@
#include <sys/time.h>
#include "fio.h"
#include <sys/time.h>
#include "fio.h"
-#include "os.h"
#include "hash.h"
#include "hash.h"
-static int clock_gettime_works
= 0
;
+static int clock_gettime_works;
#ifdef FIO_DEBUG_TIME
#ifdef FIO_DEBUG_TIME
@@
-81,7
+80,8
@@
static void fio_exit fio_dump_gtod(void)
list_for_each(entry, &hash[i]) {
log = list_entry(entry, struct gtod_log, list);
list_for_each(entry, &hash[i]) {
log = list_entry(entry, struct gtod_log, list);
- printf("function %p, calls %lu\n", log->caller, log->calls);
+ printf("function %p, calls %lu\n", log->caller,
+ log->calls);
total_calls += log->calls;
}
}
total_calls += log->calls;
}
}