summaryrefslogtreecommitdiff
path: root/benchmarks/hbench/patches/patch-ac
blob: 83ccb0f17962fdb5b35d4be6afb5645635587e52 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
$NetBSD: patch-ac,v 1.3 1999/11/15 13:19:52 rh Exp $

--- scripts/create-all-latgraphs.orig	Mon Nov 15 14:15:28 1999
+++ scripts/create-all-latgraphs	Mon Nov 15 14:15:28 1999
@@ -33,13 +33,10 @@
 #
 # $Id: patch-ac,v 1.3 1999/11/15 13:19:52 rh Exp $
 
-# Step 1: Discover hbench root path
-HBENCHROOT=`(cd \`dirname $0\`/.. ; pwd)`
-
-for dir in */*
+for dir in @PREFIX@/share/hbench/*/*
 do
     if [ -d $dir -a -d ${dir}/lat_mem_rd ]; then
 	echo "Generating latency graph for $dir..."
-	${HBENCHROOT}/scripts/gen-latgraph -ps ${dir}/lat_mem_rd
+	@PREFIX@/bin/hbench/gen-latgraph -ps ${dir}/lat_mem_rd
     fi
 done