[1754] | 1 | #!/bin/sh |
---|
| 2 | |
---|
[2009] | 3 | #PREFIX=osp-rss-single |
---|
[2639] | 4 | PREFIX=osp-vienna |
---|
| 5 | #PREFIX=osp-pompeii |
---|
| 6 | #PREFIX=osp-arena-time |
---|
| 7 | #PREFIX=osp-PIXEL3 |
---|
[2009] | 8 | #PREFIX=osp-rss2 |
---|
[1754] | 9 | |
---|
| 10 | |
---|
| 11 | #COMMAND1=../cmxplot |
---|
| 12 | COMMAND1=./ps_memory_plot |
---|
| 13 | COMMAND2=./ps_memory_plot2 |
---|
| 14 | COMMAND3=./ps_memory_plot3 |
---|
| 15 | |
---|
| 16 | |
---|
[2639] | 17 | |
---|
[1754] | 18 | #$PREFIX-l.log \ |
---|
| 19 | |
---|
| 20 | #FILES="\ |
---|
| 21 | #$PREFIX-e1.log \ |
---|
| 22 | #$PREFIX-e2.log \ |
---|
| 23 | #" |
---|
| 24 | |
---|
[2639] | 25 | #FILES="../../scripts/stats.log" |
---|
| 26 | #FILES="`ls $PREFIX*.log`" |
---|
[2009] | 27 | |
---|
[2639] | 28 | #FILES="`ls osp-pompeii3-*m2*.log` `ls osp-pompeii4-*m2*.log`" |
---|
| 29 | #FILES="`ls $PREFIX*m1-4*.log` `ls $PREFIX*m8*.log` " |
---|
| 30 | #FILES="`ls $PREFIX*m1-4*.log` `ls $PREFIX*m1-6*.log`" |
---|
[2038] | 31 | |
---|
[2639] | 32 | #FILES="$PREFIX-m1-6.log $PREFIX-m2-6.log" |
---|
[2038] | 33 | |
---|
[2009] | 34 | ################################ |
---|
| 35 | # for the SIGGRAPH PAPER!!!! |
---|
| 36 | |
---|
[2038] | 37 | # Vienna plots |
---|
| 38 | #FILES="osp-1e5-i-mixed-b1-n4l.log osp-1e5-r-reference-global.log osp-1e5-r-reference.log" |
---|
[2639] | 39 | # COMPARISON PLOT |
---|
| 40 | # 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 \ |
---|
| 41 | # osp-vienna-SG08-reference-global.log \ |
---|
| 42 | # osp-vienna-SG08-combined-m1-3.log \ |
---|
| 43 | # osp-vienna-SG08-combined-m2-3.log \ |
---|
| 44 | # osp-vienna-SG08-combined-m3-1.log \ |
---|
| 45 | # osp-vienna-SG08-combined-m3-2.log \ |
---|
| 46 | # osp-vienna-SG08-combined-m3-3.log \ |
---|
| 47 | # osp-vienna-SG08-combined-m3-4.log \ |
---|
| 48 | # osp-vienna-SG08-combined-m3-5.log \ |
---|
| 49 | # osp-vienna-SG08-combined-m4-1.log \ |
---|
| 50 | # osp-vienna-SG08-combined-m4-2.log \ |
---|
| 51 | # osp-vienna-SG08-combined-m5-1.log \ |
---|
| 52 | # osp-vienna-SG08-combined-m5-2.log \ |
---|
| 53 | # osp-vienna-SG08-combined-m6-1.log \ |
---|
| 54 | # osp-vienna-SG08-combined-m6-2.log \ |
---|
| 55 | # osp-vienna-SG08-combined-m6-3.log \ |
---|
| 56 | # osp-vienna-SG08-combined-m7-1.log \ |
---|
| 57 | # osp-vienna-SG08-combined-m7-2.log \ |
---|
| 58 | # osp-vienna-SG08-combined-m7-3.log \ |
---|
| 59 | # osp-vienna-SG08-combined-m7-4.log \ |
---|
| 60 | # osp-vienna-SG08-combined-m7-5.log \ |
---|
| 61 | # osp-vienna-SG08-combined-m7-6.log \ |
---|
| 62 | # osp-vienna-SG08-combined-m7-7.log \ |
---|
| 63 | # osp-vienna-SG08-combined-m8-1.log \ |
---|
| 64 | # osp-vienna-SG08-combined-m8-2.log \ |
---|
| 65 | # osp-vienna-SG08-combined-m8-3.log \ |
---|
| 66 | # osp-vienna-SG08-combined-m8-4.log \ |
---|
| 67 | # " |
---|
| 68 | #FINAL PLOT - VIENNA |
---|
| 69 | FILES="osp-vienna-SG08-combined-m8-2.log osp-1e5-r-reference-global.log osp-1e5-r-reference.log" |
---|
[2038] | 70 | |
---|
[2639] | 71 | |
---|
| 72 | #FINAL TIME PLOT - VIENNA |
---|
| 73 | #FILES="osp-vienna-SG08-TIME-combined-m8-2.log osp-vienna-SG08-TIME-reference-global.log osp-vienna-SG08-TIME-r-reference.log" |
---|
| 74 | |
---|
[2038] | 75 | # Pompeii plots |
---|
[2639] | 76 | #FILES="osp-pompeii4-1e5-i-mixed-b1-n4n.log osp-pompeii4-1e5-r-reference-global.log osp-pompeii4-1e5-r-reference.log" |
---|
[2147] | 77 | #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" |
---|
| 78 | #FILES="osp-pompeii4-1e5-i-mixed-bvh-n4n.log osp-pompeii4-1e5-r-bvh-reference-global.log osp-pompeii4-1e5-r-bvh-reference.log" |
---|
[2038] | 79 | |
---|
[2639] | 80 | # FILES="osp-pompeii3-1e5-i-mixed-b1-n4n.log osp-pompeii3-1e5-r-reference-global.log osp-pompeii3-1e5-r-reference.log \ |
---|
| 81 | # osp-pompeii-SG08-r-bvh-reference.log \ |
---|
| 82 | # osp-pompeii-SG08-r-bvh-reference-global.log \ |
---|
| 83 | # osp-pompeii-SG08-r-reference.log \ |
---|
| 84 | # osp-pompeii-SG08-r-reference-global.log \ |
---|
| 85 | # osp-pompeii-SG08-i-mixed-bvh-n4n.log \ |
---|
| 86 | # osp-pompeii-SG08-combined-m5-2.log \ |
---|
| 87 | # osp-pompeii-SG08-combined-m8-2.log \ |
---|
| 88 | # osp-pompeii-SG08-combined-m8-3.log \ |
---|
| 89 | # osp-pompeii-SG08-combined-m8-4.log \ |
---|
| 90 | # osp-pompeii-SG08a-r-bvh-reference.log \ |
---|
| 91 | # osp-pompeii-SG08a-r-bvh-reference-global.log \ |
---|
| 92 | # osp-pompeii-SG08a-combined-m8-4.log \ |
---|
| 93 | # " |
---|
| 94 | #FINAL PLOT - POMPEII |
---|
| 95 | # FILES="osp-pompeii-SG08a-combined-m8-4.log \ |
---|
| 96 | # osp-pompeii-SG08a-r-bvh-reference-global.log \ |
---|
| 97 | # osp-pompeii-SG08a-r-bvh-reference.log \ |
---|
| 98 | # " |
---|
[2147] | 99 | |
---|
[2038] | 100 | # Arena plots |
---|
[2639] | 101 | #FILES="osp-arena1-1e5-i-mixed-b1-n4a.log osp-arena1-1e5-r-reference-global.log osp-arena1-1e5-r-reference.log" |
---|
| 102 | # FILES="osp-arena1-1e5-i-mixed-b1-n4a.log osp-arena2-1e5-r-reference-global.log osp-arena1-1e5-r-reference.log \ |
---|
| 103 | # osp-arena-SG08-r-reference-global.log \ |
---|
| 104 | # osp-arena-SG08-combined-m5-2.log \ |
---|
| 105 | # osp-arena-SG08-combined-m8-2.log \ |
---|
| 106 | # osp-arena-SG08-combined-m8-4.log \ |
---|
| 107 | # osp-arena-SG08a-r-reference.log \ |
---|
| 108 | # osp-arena-SG08a-r-reference-global.log \ |
---|
| 109 | # osp-arena-SG08a-combined-m8-2.log \ |
---|
| 110 | # osp-arena-SG08a-TIME-r-reference-global.log \ |
---|
| 111 | # " |
---|
[2038] | 112 | |
---|
[2639] | 113 | #FINAL PLOT |
---|
| 114 | # FILES="\ |
---|
| 115 | # osp-arena-SG08a-combined-m8-2.log \ |
---|
| 116 | # osp-arena-SG08a-r-reference-global.log \ |
---|
| 117 | # osp-arena-SG08a-r-reference.log \ |
---|
| 118 | # " |
---|
| 119 | |
---|
[2038] | 120 | |
---|
[2639] | 121 | #FINAL TIME_PLOT |
---|
| 122 | # FILES="\ |
---|
| 123 | # osp-arena-SG08a-TIME-combined-m8-2.log \ |
---|
| 124 | # osp-arena-SG08a-TIME-r-reference-global.log \ |
---|
| 125 | # osp-arena-SG08a-TIME-r-reference.log \ |
---|
| 126 | # " |
---|
| 127 | |
---|
| 128 | |
---|
| 129 | #FINAL PLOT |
---|
| 130 | # FILES="\ |
---|
| 131 | # osp-arena-SG08k-combined-m8-2.log \ |
---|
| 132 | # osp-arena-SG08a-combined-m8-2.log \ |
---|
| 133 | # osp-arena-SG08a-r-reference-global.log \ |
---|
| 134 | # osp-arena-SG08a-r-reference.log \ |
---|
| 135 | # " |
---|
| 136 | |
---|
[2038] | 137 | # Power plant plots |
---|
| 138 | |
---|
[2147] | 139 | #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" |
---|
| 140 | |
---|
[2639] | 141 | # FILES="\ |
---|
| 142 | # osp-powerplant-SG08-i-mixed-b1-n4a.log \ |
---|
| 143 | # osp-powerplant-SG08a-i-mixed-b1-n4a.log \ |
---|
| 144 | # osp-powerplant-SG08a-r-reference-global.log \ |
---|
| 145 | # osp-powerplant-SG08a-r-reference.log \ |
---|
| 146 | # osp-powerplant-SG08e-r-reference.log \ |
---|
| 147 | # osp-powerplant-SG08f-r-reference.log \ |
---|
| 148 | # " |
---|
| 149 | # osp-powerplant-SG08b-i-mixed-b1-n4a.log \ |
---|
[2147] | 150 | |
---|
| 151 | |
---|
[2009] | 152 | ################################ |
---|
| 153 | |
---|
| 154 | |
---|
| 155 | #FILES="osp-rss2-1e5-i-mixed-b1-n4c.log osp-rss2-1e5-r-reference-global.log" |
---|
| 156 | #FILES="osp-rss2-1e5-i-mixed-b1-n4c.log osp-rss2-1e5-r-reference.log" |
---|
| 157 | #FILES="osp-rss2-1e5-i-mixed-b1-n4c.log osp-rss2-1e5-r-reference.log osp-rss2-1e5-r-reference-global.log" |
---|
| 158 | #FILES="../../src/stats.log n1/stats2.log" |
---|
[1754] | 159 | #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" |
---|
| 160 | #FILES="atlanta-50.log atlanta-new-10.log" |
---|
| 161 | #FILES="soda5-50.log soda5-new-10.log soda5-new-50.log soda5-new-20.log" |
---|
| 162 | #FILES="soda-100M-1.log soda-100M-2.log soda-100M-3.log" |
---|
| 163 | #FILES="atlanta-50M-1.log" |
---|
| 164 | #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" |
---|
| 165 | #FILES="soda-rss3-r-object-based.log soda-rss3-r-direction-based.log soda-rss3-i-combined.log" |
---|
| 166 | |
---|
| 167 | #FILES="atlanta2-rss1-i-combined.log atlanta2-rss1-i-combined-update.log atlanta2-rss1-r-spatial-based.log" |
---|
| 168 | |
---|
| 169 | #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" |
---|
| 170 | |
---|
| 171 | #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" |
---|
| 172 | |
---|
| 173 | #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" |
---|
| 174 | # soda-rss3-r-object-based2.log" |
---|
| 175 | |
---|
| 176 | #../../src/stats.log |
---|
| 177 | |
---|
| 178 | echo $FILES |
---|
| 179 | |
---|
| 180 | STYLE=lines |
---|
| 181 | |
---|
| 182 | |
---|
| 183 | $COMMAND2 $STYLE TotalSamples AVG_PVS $FILES |
---|
| 184 | ./showplot $PREFIX-avgpvs |
---|
| 185 | |
---|
[2009] | 186 | $COMMAND2 $STYLE TotalSamples AVG_ENTRIES_PVS $FILES |
---|
| 187 | ./showplot $PREFIX-avgpvse |
---|
| 188 | |
---|
[2639] | 189 | $COMMAND3 $STYLE TotalSamples AVG_REL_PVS_INCREASE $FILES |
---|
| 190 | ./showplot $PREFIX-avgpvsincrease |
---|
[2009] | 191 | |
---|
| 192 | # $COMMAND2 $STYLE RssSamples AVG_PVS $FILES |
---|
| 193 | # ./showplot $PREFIX-avgpvs-rss |
---|
| 194 | |
---|
| 195 | # $COMMAND3 $STYLE RssSamples AVG_REL_PVS_INCREASE $FILES |
---|
| 196 | # ./showplot $PREFIX-avgrelpvsincrease |
---|
| 197 | |
---|
| 198 | # $COMMAND2 $STYLE TotalSamples AVG_VIEWCELLS_PER_RAY $FILES |
---|
| 199 | # ./showplot $PREFIX-avgviewcellsperray |
---|
| 200 | |
---|
| 201 | # $COMMAND2 $STYLE TotalSamples CONTRIBUTING_RAYS $FILES |
---|
| 202 | # ./showplot $PREFIX-contributingrays |
---|
| 203 | |
---|
| 204 | # #$COMMAND3 $STYLE RssSamples DEV_REL_PVS_INCREASE $FILES |
---|
| 205 | # #./showplot $PREFIX-devrelpvsincrease |
---|
| 206 | |
---|
[1754] | 207 | $COMMAND2 $STYLE Time AVG_PVS $FILES |
---|
| 208 | ./showplot $PREFIX-avgpvstime |
---|
| 209 | |
---|
[2009] | 210 | # $COMMAND2 $STYLE TotalSamples AVG_FILTERED_PVS $FILES |
---|
| 211 | # ./showplot $PREFIX-avgfpvs |
---|
[1965] | 212 | |
---|
[2009] | 213 | # $COMMAND2 $STYLE TotalSamples AVG_FILTERED_ENTRIES_PVS $FILES |
---|
| 214 | # ./showplot $PREFIX-avgfpvse |
---|
[1965] | 215 | |
---|
[2038] | 216 | #$COMMAND2 $STYLE TotalSamples AVG_FILTERED_PVS $FILES |
---|
| 217 | #./showplot $PREFIX-avgfilteredpvs |
---|
[2009] | 218 | |
---|
[2639] | 219 | #$COMMAND1 $STYLE TotalSamples AvgPvsRenderError $FILES |
---|
| 220 | #./showplot $PREFIX-avgpvsrendererror |
---|
[2009] | 221 | |
---|
[2639] | 222 | #$COMMAND1 $STYLE TotalSamples AvgPixelError $FILES |
---|
| 223 | #./showplot $PREFIX-avgpixelerror |
---|
| 224 | |
---|
[2147] | 225 | $COMMAND2 $STYLE TotalSamples AvgPixelError $FILES |
---|
[2038] | 226 | ./showplot $PREFIX-avgpixelerror |
---|
| 227 | |
---|
[2639] | 228 | #$COMMAND1 $STYLE TotalSamples MaxPvsRenderError $FILES |
---|
| 229 | #./showplot $PREFIX-maxpvsrendererror |
---|
| 230 | |
---|
[2147] | 231 | $COMMAND2 $STYLE TotalSamples MaxPixelError $FILES |
---|
| 232 | ./showplot $PREFIX-maxpixelerror |
---|
[2038] | 233 | |
---|
[2639] | 234 | #$COMMAND2 $STYLE TotalSamples ErrorFreeFrames $FILES |
---|
| 235 | #./showplot $PREFIX-errorfreeframes |
---|
[2038] | 236 | |
---|
[2147] | 237 | |
---|
| 238 | #./ps_multi_plot lines osp-PIXEL2-1e5-i-mixed-b1-n4l.log TotalSamples Distribution0 Distribution1 Distribution2 |
---|
| 239 | |
---|
[2038] | 240 | # "#AvgPvsRenderError\n" <<renderer->mPvsStat.GetAvgError()<<endl<< |
---|
| 241 | # "#MaxPvsRenderError\n" <<renderer->mPvsStat.GetMaxError()<<endl<< |
---|
| 242 | # "#ErrorFreeFrames\n" <<renderer->mPvsStat.GetErrorFreeFrames()<<endl<< |
---|
| 243 | # "#AvgRenderPvs\n" <<renderer->mPvsStat.GetAvgPvs()<<endl; |
---|