X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=gettime.c;h=3dcaaf680803fdcdb798de6009745f7821118d39;hp=5741932f283ccc8edf8c262b581e9adf936dba2b;hb=8c43ba6259409244de64f0b1d388a029e38cf3e5;hpb=24575392bff8bdb9ec7709a78b4fbd48367fc1f5 diff --git a/gettime.c b/gettime.c index 5741932f..3dcaaf68 100644 --- a/gettime.c +++ b/gettime.c @@ -425,6 +425,7 @@ void fio_clock_init(void) fio_clock_source = CS_CPUCLOCK; } else if (fio_clock_source == CS_CPUCLOCK) log_info("fio: clocksource=cpu may not be reliable\n"); + dprint(FD_TIME, "gettime: clocksource=%d\n", (int) fio_clock_source); } uint64_t ntime_since(const struct timespec *s, const struct timespec *e) @@ -542,7 +543,7 @@ uint64_t time_since_now(const struct timespec *s) defined(CONFIG_SFAA) #define CLOCK_ENTRIES_DEBUG 100000 -#define CLOCK_ENTRIES_TEST 10000 +#define CLOCK_ENTRIES_TEST 1000 struct clock_entry { uint32_t seq;