Admin/profiling_reports
author wenzelm
Wed, 09 Nov 2011 15:18:39 +0100
changeset 45424 01d75cf04497
parent 44152 a07748619f53
permissions -rwxr-xr-x
localized Record.decode_type: use standard Proof_Context.get_sort; clarified Record.varifyT: more convential use of maxidx + 1;

#!/usr/bin/env bash
#
# Author: Makarius
#
# DESCRIPTION: Cumulative reports for Poly/ML profiling output.

THIS="$(cd $(dirname "$0"); pwd)"

SRC="$1"
DST="$2"

mkdir -p "$DST"

for FILE in "$SRC"/*.gz
do
  echo "$FILE"
  NAME="$(basename "$FILE" .gz)"
  gzip -dc "$FILE" | "$THIS/profiling_report" > "$DST/$NAME"
done