Add repeat option for bench

This commit is contained in:
Patrick Pelissier committed 2019-12-15 10:01:32 +01:00
1 parent 7263629c55
commit e99735d2b6
2 files changed
+27 -5

No files matched your search

+2 -2
View File
@@ -90,11 +90,11 @@ cputime (void)
extern unsigned long g_result;
// The rand value
static
extern
#if defined(MULTI_THREAD_MEASURE)
M_THREAD_ATTR
#endif
unsigned int randValue = 0;
unsigned int randValue;
// Pseudo rand value generator.
// Not very random but sufficient and fast enough for the bench