projects
/
riscv-tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Sort fixes: support for repeated trials.
[riscv-tests.git]
/
benchmarks
/
sort
/
sort.h
diff --git
a/benchmarks/sort/sort.h
b/benchmarks/sort/sort.h
index 326d0de0b9da9299a70cbd621fb49f797d82fedc..517adcfd2c4f8bafc408b6346768d499580fb650 100644
(file)
--- a/
benchmarks/sort/sort.h
+++ b/
benchmarks/sort/sort.h
@@
-2,6
+2,8
@@
#include <stdint.h>
#include <stdbool.h>
+#define USE_N_SQUARED_SORT
+
#define FAKE_MALLOC_INIT(words, name) \
uint32_t heap_##name[words]; \
const size_t max_alloc_##name = (words) * sizeof(uint32_t); \