Skip to content

Commit

Permalink
Changing example files to accomodate Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
adanalis committed Feb 21, 2025
1 parent a1f0c41 commit 3a98a80
Show file tree
Hide file tree
Showing 9 changed files with 292 additions and 781 deletions.
1 change: 0 additions & 1 deletion src/counter_analysis_toolkit/scripts/default.gnp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ set key maxcolumns 0 maxrows 0
set key noopaque
unset label
unset arrow
set style increment default
unset style line
unset style arrow
set style histogram clustered gap 2 title textcolor lt -1
Expand Down
36 changes: 22 additions & 14 deletions src/counter_analysis_toolkit/scripts/multi_plot.gnp
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
L1_per_core=48*1024
L2_per_core=1280*1024
L3_per_core=36864*1024/4
L1_per_core=32768
L2_per_core=1048576
L3_per_core=4194304

SML_STRIDE=128
BIG_STRIDE=256
SML_PPB=16
BIG_PPB=512

DIR="sample_data/"
EVENT1="L2_RQSTS:DEMAND_DATA_RD_MISS"
EVENT2="L2_RQSTS:DEMAND_DATA_RD_HIT"
EVENT3="L2_RQSTS:ALL_DEMAND_REFERENCES"
PLOT_TITLE="L2_RQSTS (MISS/HIT/REF)"
EVENT1="PM_DATA_FROM_L2"
EVENT2="PM_DATA_FROM_L3"
EVENT3="PM_DATA_FROM_L3MISS"
PLOT_TITLE="L2 Reads / L3_reads / L3 Misses"

SUFFIX=".data.reads.stat"

Expand Down Expand Up @@ -39,7 +44,7 @@ WIDTH=(1.0-(OFFSET+5.0*GAP+GAP/4.0))/6.0


###
set label 21 "RND:64:256" at graph 0.1,-0.05 font ",10" # X-label
set label 21 sprintf("RND:%d:%d",SML_STRIDE,BIG_PPB) at graph 0.1,-0.05 font ",10" # X-label
set size 0.1475,1
set size WIDTH,1
set origin OFFSET,0.0
Expand All @@ -55,7 +60,7 @@ set ytics scale 0.1,0.5
unset label 20

###
set label 21 "RND:64:16" at graph 0.16,-0.05 font ",10" # X-label
set label 21 sprintf("RND:%d:%d",SML_STRIDE,SML_PPB) at graph 0.16,-0.05 font ",10" # X-label
set object 1 rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#FFFAE8' fillstyle solid noborder
set size WIDTH,1
set origin OFFSET+(WIDTH+GAP)*1,0
Expand All @@ -66,7 +71,7 @@ plot \
unset object 1

###
set label 21 "RND:128:256" at graph 0.1,-0.05 font ",10" # X-label
set label 21 sprintf("RND:%d:%d",BIG_STRIDE,BIG_PPB) at graph 0.1,-0.05 font ",10" # X-label
set size WIDTH,1
set origin OFFSET+(WIDTH+GAP)*2,0
plot \
Expand All @@ -75,7 +80,7 @@ plot \
FILE3 every :::2::2 using 1:2 w lp ls 1

###
set label 21 "RND:128:16" at graph 0.1,-0.05 font ",10" # X-label
set label 21 sprintf("RND:%d:%d",BIG_STRIDE,SML_PPB) at graph 0.1,-0.05 font ",10" # X-label
set object rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#FFFAE8' fillstyle solid noborder
set size WIDTH,1
set origin OFFSET+(WIDTH+GAP)*3,0
Expand All @@ -85,7 +90,7 @@ plot \
FILE3 every :::3::3 using 1:2 w lp ls 1

###
set label 21 "SEQ:64" at graph 0.25,-0.05 font ",10" # X-label
set label 21 sprintf("SEQ:%d",SML_STRIDE) at graph 0.25,-0.05 font ",10" # X-label
set object rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#F0F6FF' fillstyle solid noborder
set size WIDTH,1
set origin OFFSET+(WIDTH+GAP)*4,0
Expand All @@ -95,8 +100,11 @@ plot \
FILE3 every :::4::4 using 1:2 w lp ls 1

###
set key top right font ",6"
set label 21 "SEQ:128" at graph 0.2,-0.05 font ",10" # X-label
set key at screen 0.997,0.997
set key font ",6"
set key opaque box samplen 4 width 2 height 1

set label 21 sprintf("SEQ:%d",BIG_STRIDE) at graph 0.2,-0.05 font ",10" # X-label
set object rectangle from graph 0,0 to graph 1,1 behind fillcolor rgb '#F0F6FF' fillstyle solid noborder
set size WIDTH,1
set origin OFFSET+(WIDTH+GAP)*5,0
Expand Down

This file was deleted.

Loading

0 comments on commit 3a98a80

Please sign in to comment.