|
|
|
@ -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");
|
|
|
|
|