mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-04 05:04:41 +02:00
add missing parameter in SHOW_INTEL_CYCLES
This commit is contained in:
@@ -166,7 +166,7 @@
|
|||||||
} while (0);
|
} while (0);
|
||||||
|
|
||||||
/* s == size in bytes that 1 count represents, normally BENCH_SIZE */
|
/* s == size in bytes that 1 count represents, normally BENCH_SIZE */
|
||||||
#define SHOW_INTEL_CYCLES(b, n) \
|
#define SHOW_INTEL_CYCLES(b, n, s) \
|
||||||
XSNPRINTF(b + XSTRLEN(b), n - XSTRLEN(b), " Cycles per byte = %6.2f\n", \
|
XSNPRINTF(b + XSTRLEN(b), n - XSTRLEN(b), " Cycles per byte = %6.2f\n", \
|
||||||
(float)total_cycles / (count*s))
|
(float)total_cycles / (count*s))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user