cleanup: Removed unnecessary code copied from ck_spinlock's throughput test

ck_pring
Brendon Scheinman 12 years ago
parent 2492f16ec9
commit e06b4a26ff

@ -43,13 +43,6 @@
#include "../../common.h"
/* 8! = 40320, evenly divide 1 .. 8 processor workload. */
#define WORKLOAD (40320 * 2056)
#ifndef ITERATE
#define ITERATE 65536
#endif
static struct affinity a;
static unsigned int ready;
@ -135,10 +128,6 @@ main(int argc, char *argv[])
exit(EXIT_FAILURE);
}
#ifdef LOCK_INIT
LOCK_INIT;
#endif
critical = atoi(argv[4]);
if (critical < 0) {
ck_error("ERROR: critical section cannot be negative\n");

Loading…
Cancel
Save