summaryrefslogtreecommitdiffstats
path: root/dis/postproc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dis/postproc.sh')
-rwxr-xr-xdis/postproc.sh17
1 files changed, 16 insertions, 1 deletions
diff --git a/dis/postproc.sh b/dis/postproc.sh
index c5dd1c9..efe6774 100755
--- a/dis/postproc.sh
+++ b/dis/postproc.sh
@@ -1,3 +1,18 @@
1#!/bin/bash 1#!/bin/bash
2./summarize.py $1.txt > $1-pp.txt 2# This takes the saved output from the timing code in `extra.h`, summarizes
3# it, and converts LLC masks to decimals.
4# This is compatible with the output of all the current DIS runner scripts.
5if echo $1 | grep -q ".txt"; then
6 echo "Don't include .txt! Exiting..."
7 exit
8fi
9if echo $1 | grep -q "\-pp"; then
10 echo "Don't include -pp! Exiting..."
11 exit
12fi
13if [[ ! -f $1.txt ]]; then
14 echo "Input does not exist. Exiting..."
15 exit
16fi
17./summarize.py $1.txt --inf-precision > $1-pp.txt
3./clean.sh $1-pp.txt 18./clean.sh $1-pp.txt