From d37d092aa5b0781414c83de86bb7ea4f2a9e3d09 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 16 Aug 2011 12:04:06 -0400 Subject: [PATCH] * there needs to be an inventory script --- cpu/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpu/Makefile b/cpu/Makefile index d8bcb9c..75f4b9c 100644 --- a/cpu/Makefile +++ b/cpu/Makefile @@ -1,3 +1,7 @@ +# Need to inventory and count the cpus available +# /sys/devices/system/cpu/online +# CPU=`cat /proc/cpuinfo |grep ^processor |tail -n 1 |cut -f 2 |cut -f 2 -d ' '` + all: time ./bc_sin.sh 500 time ./bc_sin.sh 1000