Admin/profiling_reports
author chaieb
Thu, 26 Jul 2007 21:49:53 +0200
changeset 23995 c34490f1e0ff
parent 23604 56f945f1ed50
child 24856 f06829479407
permissions -rwxr-xr-x
Updated proofs; changed shadow syntax to improve (processing) time

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

THIS=$(cd $(dirname "$0"); echo "$PWD")

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

mkdir -p "$DST"

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