.G1 copy "legend.grap" frame invis ht 3 wid 4 left solid bot solid coord x 0,100000 label left "Cost of adding" unaligned "a new entry (ns)" left 0.8 label bot "Number of entries already in the structure" down 0.1 obfifo = obefficientfifo = 0 cbfifo = cbefficientfifo = 0 legendxleft = 1000 legendxright = 50000 legendyup = 190000 legendydown = 140000 boite(legendxleft,legendxright,legendyup,legendydown) legend_fifo_addition(legendxleft,legendxright,legendyup,legendydown) copy "../data/fifo_100000_100000_redux.d" thru X cx = $1 cbfifo = $2 cbefficientfifo = $3 # fifo efficientfifo .gcolor orange if (obfifo > 0) then {line from cx,cbfifo to ox,obfifo} .gcolor .gcolor green if (obefficientfifo > 0) then {line from cx,cbefficientfifo to ox,obefficientfifo} .gcolor obfifo = cbfifo obefficientfifo = cbefficientfifo ox = cx # fifo efficientfifo .gcolor orange bullet at cx,cbfifo .gcolor .gcolor green bullet at cx,cbefficientfifo .gcolor X .G2