Admin/profiling_reports
author wenzelm
Tue, 03 Mar 2009 18:31:59 +0100
changeset 30222 4102bbf2af21
parent 24856 f06829479407
child 36859 51af1657263b
permissions -rwxr-xr-x
moved type bstring from name_space.ML to binding.ML -- it is the primitive concept behind bindings; moved separator/is_qualified from binding.ML back to name_space.ML -- only name space introduces an explicit notation for qualified names; type binding: maintain explicit qualifier, indepently of base name; tuned signature of Binding: renamed name_pos to make, renamed base_name to name_of, renamed map_base to map_name, added mandatory flag to qualify, simplified map_prefix (formerly unused); Binding.str_of: include markup with position properties; misc tuning;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23604
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
     1
#!/usr/bin/env bash
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
     2
#
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
     3
# $Id$
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
     4
# Author: Makarius
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
     5
#
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
     6
# DESCRIPTION: Cumulative reports for Poly/ML profiling output.
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
     7
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
     8
THIS=$(cd $(dirname "$0"); echo "$PWD")
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
     9
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
    10
SRC="$1"
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
    11
DST="$2"
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
    12
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
    13
mkdir -p "$DST"
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
    14
24856
f06829479407 cover only .gz files;
wenzelm
parents: 23604
diff changeset
    15
for FILE in "$SRC"/*.gz
23604
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
    16
do
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
    17
  echo "$FILE"
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
    18
  NAME="$(basename "$FILE" .gz)"
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
    19
  gzip -dc "$FILE" | "$THIS/profiling_report" > "$DST/$NAME"
56f945f1ed50 Cumulative reports for Poly/ML profiling output.
wenzelm
parents:
diff changeset
    20
done