author | Walther Neuper <wneuper@ist.tugraz.at> |
Tue, 07 Feb 2017 08:57:42 +0100 | |
changeset 59316 | 3a60188d9cc3 |
parent 59180 | 85ec71012df8 |
permissions | -rwxr-xr-x |
1 #!/usr/bin/env bash
2 #
3 # Author: Makarius
4 #
5 # DESCRIPTION: Cumulative reports for Poly/ML profiling output.
7 THIS="$(cd $(dirname "$0"); pwd)"
9 SRC="$1"
10 DST="$2"
12 mkdir -p "$DST"
14 for FILE in "$SRC"/*.gz
15 do
16 echo "$FILE"
17 NAME="$(basename "$FILE" .gz)"
18 gzip -dc "$FILE" | "$THIS/profiling_report" > "$DST/$NAME"
19 done