summaryrefslogtreecommitdiff
path: root/bench.c
diff options
context:
space:
mode:
Diffstat (limited to 'bench.c')
-rw-r--r--bench.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/bench.c b/bench.c
index 19f7204..65bb99c 100644
--- a/bench.c
+++ b/bench.c
@@ -37,16 +37,6 @@ static inline unsigned long timediff_ms(struct timespec *start, struct timespec
return 1000 * (stop->tv_sec - start->tv_sec) + (stop->tv_nsec - start->tv_nsec) / 1000000;
}
-static inline void assert_sorted(int *buffer, size_t size)
-{
- if (!size) return;
- int prev = buffer[0];
- for (size_t i = 1; i < size; i++) {
- if (prev > buffer[i]) abort();
- prev = buffer[i];
- }
-}
-
int main()
{
struct timespec start, stop;