1 | #!/bin/sh |
---|
2 | |
---|
3 | #PREFIX=osp-rss-single |
---|
4 | #PREFIX=sg08-rebuttal-arena-pixel |
---|
5 | PREFIX=osp-vienna |
---|
6 | #PREFIX=osp-pompeii |
---|
7 | #PREFIX=osp-arena-time |
---|
8 | #PREFIX=osp-PIXEL3 |
---|
9 | #PREFIX=osp-rss2 |
---|
10 | |
---|
11 | |
---|
12 | #COMMAND1=../cmxplot |
---|
13 | COMMAND1=./ps_memory_plot |
---|
14 | COMMAND2=./ps_memory_plot2 |
---|
15 | COMMAND3=./ps_memory_plot3 |
---|
16 | |
---|
17 | |
---|
18 | |
---|
19 | #$PREFIX-l.log \ |
---|
20 | |
---|
21 | #FILES="\ |
---|
22 | #$PREFIX-e1.log \ |
---|
23 | #$PREFIX-e2.log \ |
---|
24 | #" |
---|
25 | |
---|
26 | #FILES="`ls $PREFIX*.log`" |
---|
27 | #FILES="../../scripts/stats.log" |
---|
28 | #FILES="`ls $PREFIX*.log`" |
---|
29 | |
---|
30 | #FILES="`ls osp-pompeii3-*m2*.log` `ls osp-pompeii4-*m2*.log`" |
---|
31 | #FILES="`ls $PREFIX*m1-4*.log` `ls $PREFIX*m8*.log` " |
---|
32 | #FILES="`ls $PREFIX*m1-4*.log` `ls $PREFIX*m1-6*.log`" |
---|
33 | |
---|
34 | #FILES="$PREFIX-m1-6.log $PREFIX-m2-6.log" |
---|
35 | |
---|
36 | ################################ |
---|
37 | # for the SIGGRAPH PAPER!!!! |
---|
38 | |
---|
39 | # Vienna plots |
---|
40 | #FILES="osp-1e5-i-mixed-b1-n4l.log osp-1e5-r-reference-global.log osp-1e5-r-reference.log" |
---|
41 | # COMPARISON PLOT |
---|
42 | # FILES="osp-1e5-i-mixed-b1-n4l.log osp-1e5-r-reference-global.log osp-1e5-r-reference.log osp-vienna-SG08-r-reference.log \ |
---|
43 | # osp-vienna-SG08-reference-global.log \ |
---|
44 | # osp-vienna-SG08-combined-m1-3.log \ |
---|
45 | # osp-vienna-SG08-combined-m2-3.log \ |
---|
46 | # osp-vienna-SG08-combined-m3-1.log \ |
---|
47 | # osp-vienna-SG08-combined-m3-2.log \ |
---|
48 | # osp-vienna-SG08-combined-m3-3.log \ |
---|
49 | # osp-vienna-SG08-combined-m3-4.log \ |
---|
50 | # osp-vienna-SG08-combined-m3-5.log \ |
---|
51 | # osp-vienna-SG08-combined-m4-1.log \ |
---|
52 | # osp-vienna-SG08-combined-m4-2.log \ |
---|
53 | # osp-vienna-SG08-combined-m5-1.log \ |
---|
54 | # osp-vienna-SG08-combined-m5-2.log \ |
---|
55 | # osp-vienna-SG08-combined-m6-1.log \ |
---|
56 | # osp-vienna-SG08-combined-m6-2.log \ |
---|
57 | # osp-vienna-SG08-combined-m6-3.log \ |
---|
58 | # osp-vienna-SG08-combined-m7-1.log \ |
---|
59 | # osp-vienna-SG08-combined-m7-2.log \ |
---|
60 | # osp-vienna-SG08-combined-m7-3.log \ |
---|
61 | # osp-vienna-SG08-combined-m7-4.log \ |
---|
62 | # osp-vienna-SG08-combined-m7-5.log \ |
---|
63 | # osp-vienna-SG08-combined-m7-6.log \ |
---|
64 | # osp-vienna-SG08-combined-m7-7.log \ |
---|
65 | # osp-vienna-SG08-combined-m8-1.log \ |
---|
66 | # osp-vienna-SG08-combined-m8-2.log \ |
---|
67 | # osp-vienna-SG08-combined-m8-3.log \ |
---|
68 | # osp-vienna-SG08-combined-m8-4.log \ |
---|
69 | # " |
---|
70 | #FINAL PLOT - VIENNA |
---|
71 | FILES="osp-vienna-SG08-combined-m8-2.log osp-1e5-r-reference-global.log osp-1e5-r-reference.log" |
---|
72 | |
---|
73 | #FINAL PLOT |
---|
74 | #FILES="osp-1e5-i-mixed-b1-n4l.log osp-1e5-r-reference-global.log osp-1e5-r-reference.log \ |
---|
75 | #osp-vienna-SG08-hr-combined-m8-2.log \ |
---|
76 | #" |
---|
77 | |
---|
78 | #FILES="osp-vienna-SG08-hr-r-reference.log osp-vienna-SG08-hr-reference-global.log \ |
---|
79 | #osp-vienna-SG08-ir-r-reference.log osp-vienna-SG08-ir-reference-global.log \ |
---|
80 | #osp-vienna-SG08-gr-r-reference.log osp-vienna-SG08-gr-reference-global.log \ |
---|
81 | #" |
---|
82 | |
---|
83 | |
---|
84 | #FINAL TIME PLOT - VIENNA |
---|
85 | #FILES="osp-vienna-SG08-TIME-combined-m8-2.log osp-vienna-SG08-TIME-reference-global.log osp-vienna-SG08-TIME-r-reference.log" |
---|
86 | |
---|
87 | # Pompeii plots |
---|
88 | #FILES="osp-pompeii4-1e5-i-mixed-b1-n4n.log osp-pompeii4-1e5-r-reference-global.log osp-pompeii4-1e5-r-reference.log" |
---|
89 | #FILES="osp-pompeii4-1e5-i-mixed-b1-n4n.log osp-pompeii4-1e5-i-mixed-bvh-n4n.log osp-pompeii4-1e5-r-reference-global.log osp-pompeii4-1e5-r-reference.log" |
---|
90 | #FILES="osp-pompeii4-1e5-i-mixed-bvh-n4n.log osp-pompeii4-1e5-r-bvh-reference-global.log osp-pompeii4-1e5-r-bvh-reference.log" |
---|
91 | |
---|
92 | # FILES="osp-pompeii3-1e5-i-mixed-b1-n4n.log osp-pompeii3-1e5-r-reference-global.log osp-pompeii3-1e5-r-reference.log \ |
---|
93 | # osp-pompeii-SG08-r-bvh-reference.log \ |
---|
94 | # osp-pompeii-SG08-r-bvh-reference-global.log \ |
---|
95 | # osp-pompeii-SG08-r-reference.log \ |
---|
96 | # osp-pompeii-SG08-r-reference-global.log \ |
---|
97 | # osp-pompeii-SG08-i-mixed-bvh-n4n.log \ |
---|
98 | # osp-pompeii-SG08-combined-m5-2.log \ |
---|
99 | # osp-pompeii-SG08-combined-m8-2.log \ |
---|
100 | # osp-pompeii-SG08-combined-m8-3.log \ |
---|
101 | # osp-pompeii-SG08-combined-m8-4.log \ |
---|
102 | # osp-pompeii-SG08a-r-bvh-reference.log \ |
---|
103 | # osp-pompeii-SG08a-r-bvh-reference-global.log \ |
---|
104 | # osp-pompeii-SG08a-combined-m8-4.log \ |
---|
105 | # " |
---|
106 | #FINAL PLOT - POMPEII |
---|
107 | # FILES="osp-pompeii-SG08a-combined-m8-4.log \ |
---|
108 | # osp-pompeii-SG08a-r-bvh-reference-global.log \ |
---|
109 | # osp-pompeii-SG08a-r-bvh-reference.log \ |
---|
110 | # " |
---|
111 | |
---|
112 | # Arena plots |
---|
113 | #FILES="osp-arena1-1e5-i-mixed-b1-n4a.log osp-arena1-1e5-r-reference-global.log osp-arena1-1e5-r-reference.log" |
---|
114 | # FILES="osp-arena1-1e5-i-mixed-b1-n4a.log osp-arena2-1e5-r-reference-global.log osp-arena1-1e5-r-reference.log \ |
---|
115 | # osp-arena-SG08-r-reference-global.log \ |
---|
116 | # osp-arena-SG08-combined-m5-2.log \ |
---|
117 | # osp-arena-SG08-combined-m8-2.log \ |
---|
118 | # osp-arena-SG08-combined-m8-4.log \ |
---|
119 | # osp-arena-SG08a-r-reference.log \ |
---|
120 | # osp-arena-SG08a-r-reference-global.log \ |
---|
121 | # osp-arena-SG08a-combined-m8-2.log \ |
---|
122 | # osp-arena-SG08a-TIME-r-reference-global.log \ |
---|
123 | # " |
---|
124 | |
---|
125 | #FINAL PLOT |
---|
126 | # FILES="\ |
---|
127 | # osp-arena-SG08a-combined-m8-2.log \ |
---|
128 | # osp-arena-SG08a-r-reference-global.log \ |
---|
129 | # osp-arena-SG08a-r-reference.log \ |
---|
130 | # " |
---|
131 | |
---|
132 | |
---|
133 | #FINAL TIME_PLOT |
---|
134 | # FILES="\ |
---|
135 | # osp-arena-SG08a-TIME-combined-m8-2.log \ |
---|
136 | # osp-arena-SG08a-TIME-r-reference-global.log \ |
---|
137 | # osp-arena-SG08a-TIME-r-reference.log \ |
---|
138 | # " |
---|
139 | |
---|
140 | |
---|
141 | #FINAL PLOT |
---|
142 | # FILES="\ |
---|
143 | # osp-arena-SG08k-combined-m8-2.log \ |
---|
144 | # osp-arena-SG08a-combined-m8-2.log \ |
---|
145 | # osp-arena-SG08a-r-reference-global.log \ |
---|
146 | # osp-arena-SG08a-r-reference.log \ |
---|
147 | # " |
---|
148 | |
---|
149 | # Power plant plots |
---|
150 | |
---|
151 | #FILES="osp-powerplant-1e5-i-mixed-b1-n4a.log osp-powerplant-1e5-i-mixed-b1-n4b.log osp-powerplant-1e5-r-reference-global.log osp-powerplant-1e5-r-reference.log" |
---|
152 | |
---|
153 | # FILES="\ |
---|
154 | # osp-powerplant-SG08-i-mixed-b1-n4a.log \ |
---|
155 | # osp-powerplant-SG08a-i-mixed-b1-n4a.log \ |
---|
156 | # osp-powerplant-SG08a-r-reference-global.log \ |
---|
157 | # osp-powerplant-SG08a-r-reference.log \ |
---|
158 | # osp-powerplant-SG08e-r-reference.log \ |
---|
159 | # osp-powerplant-SG08f-r-reference.log \ |
---|
160 | # " |
---|
161 | # osp-powerplant-SG08b-i-mixed-b1-n4a.log \ |
---|
162 | #FILES="osp-PIXEL-1e5-i-mixed-b1-n4l.log \ |
---|
163 | #osp-vienna-SG08a-PIXEL-i-mixed-b1-n4l.log \ |
---|
164 | #osp-vienna-SG08-PIXEL-i-mixed-b1-n4l.log \ |
---|
165 | #osp-vienna-SG08b-PIXEL-i-mixed-b1-n4l.log \ |
---|
166 | #" |
---|
167 | #osp-vienna-SG08-PIXEL-i-mixed-b1-n4l.log \ |
---|
168 | |
---|
169 | |
---|
170 | #PIXEL ERROR |
---|
171 | #FILES="osp-PIXEL-1e5-i-mixed-b1-n4l.log osp-vienna-SG08a-PIXEL-i-mixed-b1-n4l.log osp-vienna-SG08b-PIXEL-i-mixed-b1-n4l.log osp-vienna-SG08c-PIXEL-i-mixed-b1-n4l.log" |
---|
172 | # FILES="osp-vienna-SG08d-PIXEL-i-mixed-b1-n4l.log \ |
---|
173 | # osp-vienna-SG08e-PIXEL-r-reference.log \ |
---|
174 | # osp-vienna-SG08d-PIXEL-r-reference-global.log \ |
---|
175 | # osp-vienna-SG08e-PIXEL-i-mixed-b1-n4l.log \ |
---|
176 | # osp-vienna-SG08e-PIXELRb-i-mixed-b1-n4l.log \ |
---|
177 | # osp-vienna-SG08e-PIXELRb-nofilter-i-mixed-b1-n4l.log \ |
---|
178 | # osp-vienna-SG08e-PIXELRc-i-mixed-b1-n4l.log \ |
---|
179 | # " |
---|
180 | |
---|
181 | #PIXEL ERROR REBUTTAL SG08 |
---|
182 | #FILES="osp-PIXEL-1e5-i-mixed-b1-n4l.log osp-vienna-SG08a-PIXEL-i-mixed-b1-n4l.log osp-vienna-SG08b-PIXEL-i-mixed-b1-n4l.log osp-vienna-SG08c-PIXEL-i-mixed-b1-n4l.log" |
---|
183 | # FILES="osp-vienna-SG08e-PIXELRc-r-reference.log \ |
---|
184 | # osp-vienna-SG08e-PIXELRc-r-reference-global.log \ |
---|
185 | # osp-vienna-SG08e-PIXELRc-i-mixed-b1-n4l-nofilter.log \ |
---|
186 | # osp-vienna-SG08e-PIXELRc-i-mixed-b1-n4l.log \ |
---|
187 | # " |
---|
188 | |
---|
189 | #FILES="osp-vienna-SG08e-PIXELRd-1e4-r-reference.log \ |
---|
190 | #osp-vienna-SG08e-PIXELRd-1e4-r-reference-global.log \ |
---|
191 | #osp-vienna-SG08e-PIXELRd-1e4-i-mixed-b1-n4l-nofilter.log \ |
---|
192 | #osp-vienna-SG08e-PIXELRd-1e4-i-mixed-b1-n4l.log \ |
---|
193 | #" |
---|
194 | |
---|
195 | FILES="osp-arena-SG08e-PIXELRn-1e5-r-reference.log \ |
---|
196 | osp-arena-SG08e-PIXELRn-1e5-r-reference-global.log \ |
---|
197 | osp-arena-SG08e-PIXELRn-1e5-i-mixed-b1-n4l.log \ |
---|
198 | osp-arena-SG08e-PIXELRn-1e5-i-mixed-b1-n4l-filter.log \ |
---|
199 | " |
---|
200 | |
---|
201 | #osp-arena-SG08e-PIXELRn-1e4-r-reference.log \ |
---|
202 | #osp-arena-SG08e-PIXELRn-1e4-r-reference-global.log \ |
---|
203 | #osp-arena-SG08e-PIXELRn-1e4-i-mixed-b1-n4l.log \ |
---|
204 | #osp-vienna-SG08e-PIXELRn-1e4-i-mixed-b1-n4l-filter.log \ |
---|
205 | |
---|
206 | |
---|
207 | ################################ |
---|
208 | |
---|
209 | |
---|
210 | #FILES="osp-rss2-1e5-i-mixed-b1-n4c.log osp-rss2-1e5-r-reference-global.log" |
---|
211 | #FILES="osp-rss2-1e5-i-mixed-b1-n4c.log osp-rss2-1e5-r-reference.log" |
---|
212 | #FILES="osp-rss2-1e5-i-mixed-b1-n4c.log osp-rss2-1e5-r-reference.log osp-rss2-1e5-r-reference-global.log" |
---|
213 | #FILES="../../src/stats.log n1/stats2.log" |
---|
214 | #FILES="soda5-rss4-i-combined-b3.log soda5-rss4-i-combined-update-b3.log soda5-rss4-r-spatial-based-b3.log soda5-rss4-r-object-based-b3.log ../../src/stats.log" |
---|
215 | #FILES="atlanta-50.log atlanta-new-10.log" |
---|
216 | #FILES="soda5-50.log soda5-new-10.log soda5-new-50.log soda5-new-20.log" |
---|
217 | #FILES="soda-100M-1.log soda-100M-2.log soda-100M-3.log" |
---|
218 | #FILES="atlanta-50M-1.log" |
---|
219 | #FILES="soda-rss-r2.log soda-rss-i2.log soda-rss-i3.log soda-rss-r3-spatial-based.log soda-rss-r4-direction-based.log" |
---|
220 | #FILES="soda-rss3-r-object-based.log soda-rss3-r-direction-based.log soda-rss3-i-combined.log" |
---|
221 | |
---|
222 | #FILES="atlanta2-rss1-i-combined.log atlanta2-rss1-i-combined-update.log atlanta2-rss1-r-spatial-based.log" |
---|
223 | |
---|
224 | #FILES="soda5-rss2-i-combined.log soda5-rss2-i-combined2.log soda5-rss2-i-combined3.log soda5-rss2-i-combined4.log soda5-rss2-i-combined5.log soda5-rss2-i-combined6.log soda5-rss2-i-combined7.log soda5-rss2-i-combined8.log soda5-rss2-r-spatial-based.log" |
---|
225 | |
---|
226 | #FILES="soda5-rss3-i-combined.log soda5-rss3-i-combined2.log soda5-rss3-i-combined3.log soda5-rss3-i-combined-update.log soda5-rss3-i-combined-update2.log soda5-rss3-r-object-based.log" |
---|
227 | |
---|
228 | #FILES="soda-rss3-i-combined.log soda-rss3-i-combined-update.log soda-rss3-i-combined-update2.log soda-rss3-i-combined-update3.log soda-rss3-i-combined-update4.log soda-rss3-i-combined-update5.log ../../src/stats.log soda-rss3-r-object-based.log" |
---|
229 | # soda-rss3-r-object-based2.log" |
---|
230 | |
---|
231 | #../../src/stats.log |
---|
232 | |
---|
233 | echo $FILES |
---|
234 | |
---|
235 | STYLE=lines |
---|
236 | |
---|
237 | |
---|
238 | $COMMAND2 $STYLE TotalSamples AVG_PVS $FILES |
---|
239 | ./showplot $PREFIX-avgpvs |
---|
240 | |
---|
241 | $COMMAND2 $STYLE TotalSamples AVG_ENTRIES_PVS $FILES |
---|
242 | ./showplot $PREFIX-avgpvse |
---|
243 | |
---|
244 | $COMMAND3 $STYLE TotalSamples AVG_REL_PVS_INCREASE $FILES |
---|
245 | ./showplot $PREFIX-avgpvsincrease |
---|
246 | |
---|
247 | # $COMMAND2 $STYLE RssSamples AVG_PVS $FILES |
---|
248 | # ./showplot $PREFIX-avgpvs-rss |
---|
249 | |
---|
250 | # $COMMAND3 $STYLE RssSamples AVG_REL_PVS_INCREASE $FILES |
---|
251 | # ./showplot $PREFIX-avgrelpvsincrease |
---|
252 | |
---|
253 | # $COMMAND2 $STYLE TotalSamples AVG_VIEWCELLS_PER_RAY $FILES |
---|
254 | # ./showplot $PREFIX-avgviewcellsperray |
---|
255 | |
---|
256 | # $COMMAND2 $STYLE TotalSamples CONTRIBUTING_RAYS $FILES |
---|
257 | # ./showplot $PREFIX-contributingrays |
---|
258 | |
---|
259 | # #$COMMAND3 $STYLE RssSamples DEV_REL_PVS_INCREASE $FILES |
---|
260 | # #./showplot $PREFIX-devrelpvsincrease |
---|
261 | |
---|
262 | $COMMAND2 $STYLE Time AVG_PVS $FILES |
---|
263 | ./showplot $PREFIX-avgpvstime |
---|
264 | |
---|
265 | # $COMMAND2 $STYLE TotalSamples AVG_FILTERED_PVS $FILES |
---|
266 | # ./showplot $PREFIX-avgfpvs |
---|
267 | |
---|
268 | # $COMMAND2 $STYLE TotalSamples AVG_FILTERED_ENTRIES_PVS $FILES |
---|
269 | # ./showplot $PREFIX-avgfpvse |
---|
270 | |
---|
271 | #$COMMAND2 $STYLE TotalSamples AVG_FILTERED_PVS $FILES |
---|
272 | #./showplot $PREFIX-avgfilteredpvs |
---|
273 | |
---|
274 | #$COMMAND1 $STYLE TotalSamples AvgPvsRenderError $FILES |
---|
275 | #./showplot $PREFIX-avgpvsrendererror |
---|
276 | |
---|
277 | $COMMAND3 $STYLE TotalSamples AvgPixelError $FILES |
---|
278 | #$COMMAND1 $STYLE TotalSamples AvgPixelError $FILES |
---|
279 | #./showplot $PREFIX-avgpixelerror |
---|
280 | |
---|
281 | $COMMAND2 $STYLE TotalSamples AvgPixelError $FILES |
---|
282 | ./showplot $PREFIX-avgpixelerror |
---|
283 | |
---|
284 | $COMMAND3 $STYLE TotalSamples MaxPixelError $FILES |
---|
285 | #$COMMAND1 $STYLE TotalSamples MaxPvsRenderError $FILES |
---|
286 | #./showplot $PREFIX-maxpvsrendererror |
---|
287 | |
---|
288 | $COMMAND2 $STYLE TotalSamples MaxPixelError $FILES |
---|
289 | ./showplot $PREFIX-maxpixelerror |
---|
290 | |
---|
291 | $COMMAND3 $STYLE Time AvgPixelError $FILES |
---|
292 | ./showplot $PREFIX-avgpixelerrortime |
---|
293 | |
---|
294 | $COMMAND3 $STYLE Time MaxPixelError $FILES |
---|
295 | ./showplot $PREFIX-maxpixelerrortime |
---|
296 | |
---|
297 | $COMMAND2 $STYLE TotalSamples ErrorFreeFrames $FILES |
---|
298 | ./showplot $PREFIX-errorfreeframes |
---|
299 | #$COMMAND2 $STYLE TotalSamples ErrorFreeFrames $FILES |
---|
300 | #./showplot $PREFIX-errorfreeframes |
---|
301 | |
---|
302 | |
---|
303 | #./ps_multi_plot lines osp-PIXEL2-1e5-i-mixed-b1-n4l.log TotalSamples Distribution0 Distribution1 Distribution2 |
---|
304 | |
---|
305 | # "#AvgPvsRenderError\n" <<renderer->mPvsStat.GetAvgError()<<endl<< |
---|
306 | # "#MaxPvsRenderError\n" <<renderer->mPvsStat.GetMaxError()<<endl<< |
---|
307 | # "#ErrorFreeFrames\n" <<renderer->mPvsStat.GetErrorFreeFrames()<<endl<< |
---|
308 | # "#AvgRenderPvs\n" <<renderer->mPvsStat.GetAvgPvs()<<endl; |
---|