Admin/profiling_reports
author Walther Neuper <neuper@ist.tugraz.at>
Mon, 13 Sep 2010 18:12:15 +0200
branchisac-update-Isa09-2
changeset 38007 d679c1f837a7
parent 36866 51af1657263b
child 45023 a07748619f53
permissions -rwxr-xr-x
ref --> Unsynchronized.ref tuned.

there are differences in compiling via (1) Build_Isac.thy and via (2) ROOT.ML:
# (1) still accepts ref, while (2) requires Unsynchronized.ref
# (2) is more rigid in type checking (eg. "can't find a fixed record type")
     1 #!/usr/bin/env bash
     2 #
     3 # Author: Makarius
     4 #
     5 # DESCRIPTION: Cumulative reports for Poly/ML profiling output.
     6 
     7 THIS=$(cd $(dirname "$0"); echo "$PWD")
     8 
     9 SRC="$1"
    10 DST="$2"
    11 
    12 mkdir -p "$DST"
    13 
    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