diff options
author | Dave Jones <davej@redhat.com> | 2008-08-29 21:51:13 -0400 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2008-08-29 21:51:13 -0400 |
commit | 4362251d546fed1f365818b65c21aa7553032970 (patch) | |
tree | 259d233f8b01fcb31744f14898f472398009e522 /bench | |
parent | 094cab878a354a80b81a14045660a41ddd80a6f2 (diff) |
Only do CPU binding once per cpu.
Diffstat (limited to 'bench')
-rw-r--r-- | bench/MHz.c | 2 | ||||
-rw-r--r-- | bench/benchmarks.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/bench/MHz.c b/bench/MHz.c index 2aa9ad3..bc5f430 100644 --- a/bench/MHz.c +++ b/bench/MHz.c @@ -36,8 +36,6 @@ void estimate_MHz(struct cpudata *cpu) return; } - bind_cpu(cpu); - if (signal(SIGALRM, sighandler) == SIG_ERR) { printf("Some kind of signal failure.\n"); return; diff --git a/bench/benchmarks.c b/bench/benchmarks.c index 7b61ec4..c8e1d8b 100644 --- a/bench/benchmarks.c +++ b/bench/benchmarks.c @@ -16,8 +16,6 @@ void show_benchmarks(struct cpudata *cpu) { int tmp = 0; - bind_cpu(cpu); - #ifdef __linux__ TIME(asm volatile("int $0x80" :"=a" (tmp) :"0" (__NR_getppid)), "int 0x80"); #endif |