forked from wolfSSL/wolfssl
Merge branch 'master' of github.com:wolfssl/wolfssl
This commit is contained in:
@@ -85,7 +85,7 @@
|
|||||||
static word64 total_cycles;
|
static word64 total_cycles;
|
||||||
#define BEGIN_INTEL_CYCLES total_cycles = get_intel_cycles();
|
#define BEGIN_INTEL_CYCLES total_cycles = get_intel_cycles();
|
||||||
#define END_INTEL_CYCLES total_cycles = get_intel_cycles() - total_cycles;
|
#define END_INTEL_CYCLES total_cycles = get_intel_cycles() - total_cycles;
|
||||||
#define SHOW_INTEL_CYCLES printf(" Cycles per byte = %5.2f", \
|
#define SHOW_INTEL_CYCLES printf(" Cycles per byte = %6.2f", \
|
||||||
(float)total_cycles / (numBlocks*sizeof(plain)));
|
(float)total_cycles / (numBlocks*sizeof(plain)));
|
||||||
#else
|
#else
|
||||||
#define BEGIN_INTEL_CYCLES
|
#define BEGIN_INTEL_CYCLES
|
||||||
|
Reference in New Issue
Block a user