diff options
Diffstat (limited to 'benchtests/README')
-rw-r--r-- | benchtests/README | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/benchtests/README b/benchtests/README index 4ddff794d1..c4f03fd872 100644 --- a/benchtests/README +++ b/benchtests/README @@ -27,12 +27,16 @@ BENCH_DURATION. The benchmark suite does function call measurements using architecture-specific high precision timing instructions whenever available. When such support is -not available, it uses clock_gettime (CLOCK_PROCESS_CPUTIME_ID). One can force -the benchmark to use clock_gettime by invoking make as follows: +not available, it uses clock_gettime (CLOCK_MONOTONIC). - $ make USE_CLOCK_GETTIME=1 bench +On x86 processors, RDTSCP instruction provides more precise timing data +than RDTSC instruction. All x86 processors since 2010 support RDTSCP +instruction. One can force the benchmark to use RDTSCP by invoking make +as follows: -Again, one must run `make bench-clean' before changing the measurement method. + $ make USE_RDTSCP=1 bench + +One must run `make bench-clean' before changing the measurement method. Running benchmarks on another target: ==================================== |