File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed
Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 22# Licensed under the Universal Permissive License v 1.0
33# as shown at https://oss.oracle.com/licenses/upl/
44
5+ # bengsig 21-nov-2023 - Add title to running plot
56# bengsig 17-jul-2023 Modify plot colors
67# bengsig 25-apr-2023 Creation
78
@@ -16,6 +17,7 @@ $if mtit_xc $then
1617$endif
1718
1819
20+ private string mykomment;
1921private integer runno := $1;
2022subdir := "/r"||runno/1000||"/";
2123private file plotfile;
@@ -104,6 +106,7 @@ entries := 0;
104106 printline "set xlabel 'seconds since start'";
105107 printline "set ylabel 'thousand rows per second per process'";
106108 printline "#set y2label 'total throughput'";
109+ printf "set title '%d %s'\n", runno, mykomment;
107110 # Avoid really starting plots until there is at least three lines of data
108111 if entries>=3 then
109112
@@ -122,6 +125,10 @@ entries := 0;
122125end;
123126
124127execute at rwloadsim
128+ select komment mykomment
129+ from rwlrun
130+ where runnumber = :runno
131+ /
125132 for every 2 stop runperiod loop
126133 plotweres(runplot_width);
127134 $if mtit_xc $then xc_read(0); if xc_stopnow=1 or xc_stopnow=2 then break; end; $endif
Original file line number Diff line number Diff line change 22# Licensed under the Universal Permissive License v 1.0
33# as shown at https://oss.oracle.com/licenses/upl/
44
5+ # bengsig 21-nov-2023 - Add title to running plot
56# bengsig 30-mar-2023 - Creation
67
78# running gnuplot of selected wait/exec times
@@ -13,7 +14,7 @@ $if xc_enabled $then
1314 $include:"xc_implementation.rwl"
1415$endif
1516
16-
17+ private string mykomment;
1718private integer runno := $1;
1819subdir := "/r"||runno/1000||"/";
1920private file plotfile;
@@ -117,6 +118,7 @@ procedure plotweres(double xwidth)
117118 printline "set xlabel 'seconds since start'";
118119 printline "set ylabel 'times (ms)'";
119120 printline "set y2label 'total throughput'";
121+ printf "set title '%d %s'\n", runno, mykomment;
120122 # Avoid really starting plots until there is at least three lines of data
121123 if entries>=3 then
122124
@@ -136,8 +138,12 @@ $endif
136138 fflush stdout;
137139end;
138140
139-
140141execute at rwloadsim
142+ select komment mykomment
143+ from rwlrun
144+ where runnumber = :runno
145+ /
146+
141147 for every 2 stop runperiod loop
142148 plotweres(runplot_width);
143149 $if xc_enabled $then xc_read(0); if xc_stopnow=1 or xc_stopnow=2 then break; end; $endif
You can’t perform that action at this time.
0 commit comments