Permalink
Browse files

remove superfluous benchmarks

  - they slipped in while accepting Jasper's patch for the ' bug.
  • Loading branch information...
1 parent 1af9607 commit 90ec4b0c06e0d4cfac66b0342c32730f7ff21faa @meiersi committed Nov 30, 2010
Showing with 0 additions and 1,504 deletions.
  1. +0 −1,461 tests/Benchmark.hs
  2. +0 −39 tests/CBenchmark.c
  3. +0 −4 tests/CBenchmark.h
View
Oops, something went wrong.
View
@@ -1,39 +0,0 @@
-#include "CBenchmark.h"
-
-void bytewrite(unsigned char *a, int bytes) {
- unsigned char n = 0;
- int i = 0;
- int iterations = bytes;
- while (i < iterations) {
- a[i++] = n++;
- }
-}
-
-unsigned char byteread(unsigned char *a, int bytes) {
- unsigned char n = 0;
- int i = 0;
- int iterations = bytes;
- while (i < iterations) {
- n += a[i++];
- }
- return n;
-}
-
-void wordwrite(unsigned long *a, int bytes) {
- unsigned long n = 0;
- int i = 0;
- int iterations = bytes / sizeof(unsigned long) ;
- while (i < iterations) {
- a[i++] = n++;
- }
-}
-
-unsigned int wordread(unsigned long *a, int bytes) {
- unsigned long n = 0;
- int i = 0;
- int iterations = bytes / sizeof(unsigned long);
- while (i < iterations) {
- n += a[i++];
- }
- return n;
-}
View
@@ -1,4 +0,0 @@
-void bytewrite(unsigned char *a, int bytes);
-unsigned char byteread(unsigned char *a, int bytes);
-void wordwrite(unsigned long *a, int bytes);
-unsigned int wordread(unsigned long *a, int bytes);

0 comments on commit 90ec4b0

Please sign in to comment.