projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix hyphen as minus sign errors by escaping minus signs.
[fio.git]
/
gettime.c
diff --git
a/gettime.c
b/gettime.c
index 2037354d0116a122ffb9b698c55b7b9aacbce86b..e8f5ab55af38381e125a961407f876a82bcfb207 100644
(file)
--- a/
gettime.c
+++ b/
gettime.c
@@
-24,7
+24,7
@@
int fio_gtod_offload = 0;
int fio_gtod_cpu = -1;
static pthread_t gtod_thread;
int fio_gtod_cpu = -1;
static pthread_t gtod_thread;
-enum fio_cs fio_clock_source =
CS_GTOD
;
+enum fio_cs fio_clock_source =
FIO_PREFERRED_CLOCK_SOURCE
;
#ifdef FIO_DEBUG_TIME
#ifdef FIO_DEBUG_TIME
@@
-273,7
+273,7
@@
void fio_gtod_init(void)
assert(fio_tv);
}
assert(fio_tv);
}
-void fio_gtod_update(void)
+
static
void fio_gtod_update(void)
{
gettimeofday(fio_tv, NULL);
}
{
gettimeofday(fio_tv, NULL);
}