source: tests/scaling_tests/plotting/gen_small

Last change on this file was ec550f7, checked in by Mei <mei@…>, 11 years ago

1) reworked how API doc is generated
2) tweak top level Makefile.am
3) loading issuer principal as side-effect of loading

an attribute credentials

4) add examples of GENI specific attribute credentials

and principal certificates into the regression testing

5) rename examples to tests

  • Property mode set to 100755
File size: 1014 bytes
Line 
1#!/bin/sh
2
3SET=$1
4filename=${SET}_orig
5if [ ! -e $filename ] ; then
6    exit
7fi
8
9## generate the plot script
10make_script() {
11cat <<FIN > $DATA.p
12set title "$TITLE"
13set terminal jpeg medium size 640,480
14set output "$DATA.jpeg"
15set   autoscale   
16unset log
17unset label                           
18set xtic auto                         
19set ytic auto                         
20set xr [0:*]
21set yr [0:*]
22set xlabel "Number of Credentials"
23set ylabel "$TYPE time ($TIME)"
24plot '$DATA.dat' using $X:$Y notitle with linespoints
25FIN
26}
27
28X=1
29Y=2
30### making loading script
31TYPE='Loading'
32TITLE='Credential Loading Time'
33DATA=${SET}_load
34TIME='msec'
35make_script
36gnuplot ${SET}_load.p
37
38### making average good query script
39TYPE='Successful Query'
40TITLE='Average Successful Query Time'
41DATA=${SET}_mgood
42TIME='microsec'
43make_script
44gnuplot ${SET}_mgood.p
45
46### making average bad query script
47TYPE='Unsuccessful Query'
48TITLE='Average Unsuccessful Query Time'
49DATA=${SET}_mbad
50TIME='microsec'
51make_script
52gnuplot ${SET}_mbad.p
53
Note: See TracBrowser for help on using the repository browser.