summaryrefslogtreecommitdiff
path: root/x11pcomp.cpp
diff options
context:
space:
mode:
authorKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
committerKaleb Keithley <kaleb@freedesktop.org>2003-11-17 19:03:47 +0000
commit9105cd947989db96a61c83493c44a336bf10a18c (patch)
tree44e736a163ffea3bde0a475734960c28233b9b1a /x11pcomp.cpp
parent76312369bde4267f6405a4e1d26697258cc06b32 (diff)
merge XFree86 4.3.0.1 to -CURRENT
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?