| author | krauss | 
| Fri, 30 Oct 2009 01:32:06 +0100 | |
| changeset 33351 | 37ec56ac3fd4 | 
| parent 33264 | a0f5896d877e | 
| child 34237 | 225daff4323b | 
| permissions | -rwxr-xr-x | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 1 | #!/usr/bin/env bash | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 2 | # | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 3 | # Author: Makarius | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 4 | # | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 5 | # DESCRIPTION: Standard statistics. | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 6 | |
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 7 | THIS=$(cd "$(dirname "$0")"; pwd -P) | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 8 | |
| 33264 | 9 | PLATFORMS="at-poly at64-poly mac-poly-M4 mac-poly64-M4 mac-poly-M8 mac-poly64-M8 at-poly-5.1-para-e at64-poly-5.1-para at-mac-poly-5.1-para afp at-sml-dev sun-poly" | 
| 24831 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 10 | |
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 11 | ISABELLE_SESSIONS="\ | 
| 27448 | 12 | HOL-Plain \ | 
| 28530 | 13 | HOL-Main \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 14 | HOL \ | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 15 | HOL-Algebra \ | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 16 | HOL-Auth \ | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 17 | HOL-Bali \ | 
| 30111 | 18 | HOL-Decision_Procs \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 19 | HOL-Extraction \ | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 20 | HOL-Hoare \ | 
| 33072 | 21 | HOL-Hoare_Parallel \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 22 | HOL-Lambda \ | 
| 26172 | 23 | HOL-Library \ | 
| 33027 | 24 | HOL-Metis_Examples \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 25 | HOL-MicroJava \ | 
| 27478 | 26 | HOL-NSA \ | 
| 23443 | 27 | HOL-Nominal-Examples \ | 
| 32633 | 28 | HOL-Number_Theory \ | 
| 29 | HOL-Old_Number_Theory \ | |
| 33028 | 30 | HOL-SET_Protocol \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 31 | HOL-UNITY \ | 
| 27478 | 32 | HOL-Word \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 33 | HOL-ex \ | 
| 30616 | 34 | HOLCF \ | 
| 35 | IOA \ | |
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 36 | ZF \ | 
| 29283 | 37 | ZF-Constructible \ | 
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 38 | ZF-UNITY" | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 39 | |
| 24831 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 40 | AFP_SESSIONS="\ | 
| 29283 | 41 | CoreC++ \ | 
| 32276 | 42 | Jinja-Slicing \ | 
| 29283 | 43 | HOL-BytecodeLogicJmlTypes \ | 
| 44 | HOL-DiskPaxos \ | |
| 45 | HOL-Fermat3_4 \ | |
| 46 | HOL-Flyspeck-Tame \ | |
| 47 | HOL-Group-Ring-Module \ | |
| 48 | HOL-Jinja \ | |
| 49 | HOL-JinjaThreads \ | |
| 50 | HOL-JiveDataStoreModel \ | |
| 51 | HOL-POPLmark-deBruijn \ | |
| 52 | HOL-Program-Conflict-Analysis \ | |
| 53 | HOL-RSAPSS \ | |
| 54 | HOL-Recursion-Theory-I \ | |
| 55 | HOL-SATSolverVerification \ | |
| 56 | HOL-SIFPL \ | |
| 57 | HOL-SenSocialChoice \ | |
| 58 | HOL-SumSquares \ | |
| 59 | HOL-Topology \ | |
| 60 | HOL-Valuation \ | |
| 61 | LinearQuantifierElim \ | |
| 62 | Simpl \ | |
| 63 | Simpl-BDD" | |
| 24831 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 64 | |
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 65 | for PLATFORM in $PLATFORMS | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 66 | do | 
| 24831 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 67 | if [ "$PLATFORM" = afp ]; then | 
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 68 | SESSIONS="$AFP_SESSIONS" | 
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 69 | else | 
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 70 | SESSIONS="$ISABELLE_SESSIONS" | 
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 71 | fi | 
| 
887d1b32a1a5
cover AFP logs as well, using "afp" pseudo-platform;
 wenzelm parents: 
24489diff
changeset | 72 | |
| 22410 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 73 |   "$THIS/isatest-statistics" "stats/$PLATFORM" "$PLATFORM" ${1:-100} $SESSIONS
 | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 74 | cat > "stats/$PLATFORM.html" <<EOF | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 75 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 76 | <html> | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 77 | <head><title>Development Snapshot -- Performance Statistics</title></head> | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 78 | |
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 79 | <body> | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 80 | <h1>$PLATFORM</h1> | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 81 | EOF | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 82 | |
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 83 | for SESSION in $SESSIONS | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 84 | do | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 85 | echo "<br><img src="$PLATFORM/$SESSION.png"><br>" >> "stats/$PLATFORM.html" | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 86 | done | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 87 | |
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 88 | echo "</body>" >> "stats/$PLATFORM.html" | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 89 | echo "</html>" >> "stats/$PLATFORM.html" | 
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 90 | |
| 
da313b67a04d
moved all isatest/cron job related files to own directory
 kleing parents: diff
changeset | 91 | done |