📄 timing-cpu.jgr
字号:
(* Timing.jgr -- * * Master Jgraph file for plotting the results from the Brook timing * tests. *)newgraph (* Read/Write bandwidth for 2D streams *)yaxis label : MB/secxaxis label : Stream Lengthbordertitle : 2D streamRead() + MemcpyKernel + streamWrite() Bandwidthnewcurve marktype circle linetype solid pts 0 0 pts shell : awk '/RW2D/ { print $1*$1, $3 }' graphs/graph-cpu.ptsnewpagenewgraph (* RunKernel MFLOPS for 2D streams *)yaxis label : MFLOPSxaxis label : Stream Lengthbordertitle : 2D Stream MFLOPS (streamRead + 150 runs + streamWrite)newcurve marktype circle linetype solid pts 0 0 pts shell : awk '/RunK2D [0-9]+ R150/ { print $7, $2 }' graphs/graph-cpu.ptsnewpagenewgraph (* RunKernel Knee 2D Total *)yaxis label : Time (msecs)xaxis label : Stream Lengthbordertitle : 2D Kernel overhead (stream length vs. elapsed time)newcurve label : streamRead() + 50 Iterations + streamWrite() marktype circle linetype solid pts shell : awk '/RunK2D [0-9] R50/ { print $7*$7, $1/1000 }' graphs/graph-cpu.pts pts shell : awk '/RunK2D [0-4][0-9] R50/ { print $7*$7, $1/1000 }' graphs/graph-cpu.ptsnewcurve label : streamRead() + 75 Iterations + streamWrite() marktype box linetype solid pts shell : awk '/RunK2D [0-9] R75/ { print $7*$7, $1/1000 }' graphs/graph-cpu.pts pts shell : awk '/RunK2D [0-4][0-9] R75/ { print $7*$7, $1/1000 }' graphs/graph-cpu.ptsnewcurve label : streamRead() + 150 Iterations + streamWrite() marktype triangle linetype solid pts 0 0 pts shell : awk '/RunK2D [0-9] R150/ { print $7*$7, $1/1000 }' graphs/graph-cpu.pts pts shell : awk '/RunK2D [0-4][0-9] R150/ { print $7*$7, $1/1000 }' graphs/graph-cpu.ptslegend bottomnewpagenewgraph (* RunKernel Throughput based on length *)yaxis label : MFLOPSxaxis label : Stream Length (In Each Dimension)bordertitle : 2D Kernel Throughput (stream length vs. MFLOPS)newcurve label : streamRead() + 150 Iterations + streamWrite() marktype circle linetype solid (* pts 0 0 *) pts shell : awk '/RunK2D [0-9]+ R150/ { print $7, $2 }' graphs/graph-cpu.pts newcurve label : streamRead() + 75 Iterations + streamWrite() marktype box linetype solid (* pts 0 0 *) pts shell : awk '/RunK2D [0-9]+ R75/ { print $7, $2 }' graphs/graph-cpu.pts newcurve label : streamRead() + 50 Iterations + streamWrite() marktype triangle linetype solid pts shell : awk '/RunK2D [0-9]+ R50/ { print $7, $2 }' graphs/graph-cpu.pts legend bottomnewpagenewgraph (* RunKernel R/k/W breakdown *)yaxis label : Time (usecs)xaxis label : Stream Lengthbordertitle : 2D Kernel streamRead() / k() / streamWrite() breakdownnewcurve label : streamRead() marktype circle linetype solid pts shell : awk '/RunK2D [0-9]+ R1 / { print $7*$7, $9 }' graphs/graph-cpu.pts newcurve label : streamRead() + 1 iteration marktype box linetype solid (* pts 0 0 *) pts shell : awk '/RunK2D [0-9]+ R1 / { print $7*$7, $1 - $10 }' graphs/graph-cpu.pts newcurve label : streamRead() + 1 iteration + streamWrite() marktype triangle linetype solid pts shell : awk '/RunK2D [0-9]+ R1 / { print $7*$7, $1 }' graphs/graph-cpu.pts legend bottomnewpagenewgraph (* RunKernel R/W Bandwidth *)yaxis label : MB/sxaxis label : Stream Lengthbordertitle : 2D Kernel streamRead() and streamWrite() Bandwidthnewcurve label : MAX(streamRead(), 1000) marktype circle linetype solid pts 0 0 pts shell : awk '/RunK2D [0-9]+ R1 / { \ if (16*$7*$7/$9 > 1000) { \ print $7*$7, 1000 } \ else { print $7*$7, 16*$7*$7/$9 } \ }' graphs/graph-cpu.pts newcurve label : streamWrite() marktype triangle linetype solid pts shell : awk '/RunK2D [0-9]+ R1 / { print $7*$7, 16*$7*$7/$10 }' graphs/graph-cpu.pts legend bottomnewpagenewgraph (* RunKernel Compute k vs. average k *)yaxis label : Time (usecs)xaxis label : Stream Lengthbordertitle : 2D Kernel Computed k vs. Averaged knewcurve label : MAX(( R + k + W ) - R - W, 0) marktype circle linetype solid pts shell : awk '/RunK2D [0-9]+ R1 / { \ if ($9 > $1) { print $7*$7, 0 } else { print $7*$7, ($1 - $9 - $10) } \ }' graphs/graph-cpu.pts newcurve label : (R + 150*k + W) / 150 marktype box linetype solid pts shell : awk '/RunK2D [0-9]+ R150 / { \ print $7*$7, $1/150 \ }' graphs/graph-cpu.pts legend bottom
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -