summaryrefslogtreecommitdiff
path: root/x11pcomp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'x11pcomp.cpp')
-rw-r--r--x11pcomp.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/x11pcomp.cpp b/x11pcomp.cpp
index cbfc24e..2fa5b38 100644
--- a/x11pcomp.cpp
+++ b/x11pcomp.cpp
@@ -1,4 +1,7 @@
XCOMM! /bin/sh
+XCOMM
+XCOMM $XFree86: xc/programs/x11perf/x11pcomp.cpp,v 1.5 2002/11/25 14:05:05 eich Exp $
+XCOMM
XCOMM Collects multiple outputs of x11perf. Just feed it a list of files, each
XCOMM containing the output from an x11perf run, and this shell will extract the
XCOMM object/second information and show it in tabular form. An 80-column line
@@ -22,9 +25,10 @@ PATH=LIBPATH:.:$PATH
export PATH
set -e
-tmp=/tmp/rates.$$
+tmp=${TMPDIR-/tmp}/rates.$$
trap "rm -rf $tmp" 0 1 2 15
-mkdir $tmp $tmp/rates
+mkdir $tmp || exit 1
+mkdir $tmp/rates
ratio=
allfiles=
XCOMM Include relative rates in output? Report only relative rates?