Cumulative reports for Poly/ML profiling output.
authorwenzelm
Fri, 06 Jul 2007 11:55:05 +0200
changeset 23604 56f945f1ed50
parent 23603 4a2e36475367
child 23605 81d0fdec9edc
Cumulative reports for Poly/ML profiling output.
Admin/profiling_reports
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Admin/profiling_reports	Fri Jul 06 11:55:05 2007 +0200
@@ -0,0 +1,20 @@
+#!/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