aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorChris Dearman <chris@mips.com>2012-10-17 19:54:01 -0700
committerChris Dearman <chris@mips.com>2012-10-18 11:48:33 -0700
commit37550cf5a86c7ca7424a2a318dd64e550f13f5df (patch)
tree9e4446fbd9942dc8ba6e981f3106c17c08ba125c /utils
parentec6edca7aa42b6affd989ef91b5897f96795e40f (diff)
Remove whitespace at end of line
This is a scripted change done using the following command: find . -type d -name .git -prune -o \ -type f \! -name \*\~ \! -name .\#\* \ \! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \ xargs -0 sed -i -e 's/[\t ]*$//' Signed-off-by: Chris Dearman <chris@mips.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/Makefile2
-rw-r--r--utils/benchmark/ebizzy-0.3/ChangeLog2
-rw-r--r--utils/benchmark/ebizzy-0.3/configure8
-rw-r--r--utils/benchmark/ebizzy-0.3/ebizzy.h2
-rw-r--r--utils/benchmark/kernbench-0.42/README12
-rw-r--r--utils/benchmark/kernbench-0.42/kernbench2
6 files changed, 14 insertions, 14 deletions
diff --git a/utils/Makefile b/utils/Makefile
index 3cc4d24f9..e90f8a925 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -1,4 +1,4 @@
-################################################################################
+################################################################################
#
# Copyright (c) International Business Machines Corp., 2008 ##
#
diff --git a/utils/benchmark/ebizzy-0.3/ChangeLog b/utils/benchmark/ebizzy-0.3/ChangeLog
index 01ef1fdcd..acc80bb46 100644
--- a/utils/benchmark/ebizzy-0.3/ChangeLog
+++ b/utils/benchmark/ebizzy-0.3/ChangeLog
@@ -8,7 +8,7 @@
2007-08-15 Valerie Henson <val@nmt.edu>
* Release 0.2.
-
+
* Started reporting a rate of transactions per second rather than
just measuring the time.
diff --git a/utils/benchmark/ebizzy-0.3/configure b/utils/benchmark/ebizzy-0.3/configure
index 49f36520d..25d06664c 100644
--- a/utils/benchmark/ebizzy-0.3/configure
+++ b/utils/benchmark/ebizzy-0.3/configure
@@ -1,6 +1,6 @@
-#!/bin/sh
+#!/bin/sh
-OS=`uname -s`
+OS=`uname -s`
SUPPORTED="Linux SunOS HP-UX FreeBSD"
for i in `echo "$SUPPORTED"`
@@ -20,7 +20,7 @@ LIBS="-lpthread"
FLAGS=""
case "$OS" in
- "SunOS")
+ "SunOS")
LIBS="${LIBS} -lmalloc";
FLAGS="${FLAGS} -D_solaris";;
"FreeBSD")
@@ -34,7 +34,7 @@ ebizzy: ebizzy.c
gcc -Wall -Wshadow ${LIBS} ${FLAGS} -o ebizzy ebizzy.c
clean:
- rm -f ebizzy Makefile
+ rm -f ebizzy Makefile
EOF
echo "Type 'make' to compile"
diff --git a/utils/benchmark/ebizzy-0.3/ebizzy.h b/utils/benchmark/ebizzy-0.3/ebizzy.h
index 95fa3d243..da1a78ced 100644
--- a/utils/benchmark/ebizzy-0.3/ebizzy.h
+++ b/utils/benchmark/ebizzy-0.3/ebizzy.h
@@ -25,7 +25,7 @@
/*
* HP-UX compatibility stuff
*/
-#ifdef _HPUX_SOURCE
+#ifdef _HPUX_SOURCE
#define _SC_NPROCESSORS_ONLN pthread_num_processors_np()
#endif
diff --git a/utils/benchmark/kernbench-0.42/README b/utils/benchmark/kernbench-0.42/README
index 2dde10329..6293fd5e7 100644
--- a/utils/benchmark/kernbench-0.42/README
+++ b/utils/benchmark/kernbench-0.42/README
@@ -9,7 +9,7 @@ hardware. To compare hardware you need to be running the same architecture
machines (eg i386), the same userspace binaries and run kernbench on the same
kernel source tree.
-It runs a kernel at various numbers of concurrent jobs: 1/2 number of cpus,
+It runs a kernel at various numbers of concurrent jobs: 1/2 number of cpus,
optimal (default is 4xnumber of cpus) and maximal job count. Optionally it can
also run single threaded. It then prints out a number of useful statistics
for the average of each group of runs and logs them to kernbench.log
@@ -26,7 +26,7 @@ How do I use it?
You need a kernel tree (any 2.6 will do) and the applications 'time', 'awk',
'date' and 'yes' installed. 'time' is different to the builtin time used by
BASH and has more information desired for this benchmark.
-
+
Simply cd into the kernel tree directory and type
/path/to/kernbench
@@ -57,10 +57,10 @@ v0.40 Made all runs use the oldconfig if it exists. Changed to only do one
Cleaned up the code substantially to reuse code where possible.
Added standard deviation statistics courtesy of Peter Williams
-v0.30 Added fast run option which bypasses caching, warmup and tree
- preparation and drops number of runs to 3. Modified half loads to
- detect -j2 and change to -j3. Added syncs. Improved warnings and
- messages.
+v0.30 Added fast run option which bypasses caching, warmup and tree
+ preparation and drops number of runs to 3. Modified half loads to
+ detect -j2 and change to -j3. Added syncs. Improved warnings and
+ messages.
v0.20 Change to average of runs, add options to choose which runs to perform
remove single threaded run from defaults, do warmup run, lots more
diff --git a/utils/benchmark/kernbench-0.42/kernbench b/utils/benchmark/kernbench-0.42/kernbench
index 9ac772254..65e2c635e 100644
--- a/utils/benchmark/kernbench-0.42/kernbench
+++ b/utils/benchmark/kernbench-0.42/kernbench
@@ -41,7 +41,7 @@ done
if [[ ! -f include/linux/kernel.h ]] ; then
echo "No kernel source found; exiting"
- exit
+ exit
fi
for i in time awk yes date