需要warm up比较大的cache,因此warm up设置的比较大,4Billion instruction.
gem5产生simpoint.bb.gz之后,使用simpoint抓取weight信息,
weight
0.0580581 0
0.612613 1
0.014014 2
0.138138 3
0.177177 4
simpoints
534 0
607 1
554 2
865 3
106 4
其中1片段对应权重0.61,起始指令为60.7Billion。
之所以单位是0.1Billion是因为在gem5 产生simpoint时,使用了--simpoint-interval 100000000(100M指令)。
gem5使用该weight和simpoint产生checkpoint时,会在56.7B处产生checkpoint,然后经过4Billion的instruction,结束warm up,进入真正的60.7Billion的roi 指令。
BaseSimpleCPU0 At 187482894254656 Tid[0] 56700000000 instructions are executed.
Writing checkpoint
Checkpoint #3 written. start inst:56700000000 weight:0.612613
BaseSimpleCPU0 At 187789337907886 Tid[0] 56800000000 instructions are executed.
BaseSimpleCPU0 At 188098696294652 Tid[0] 56900000000 instructions are executed.
BaseSimpleCPU0 At 188408499154876 Tid[0] 57000000000 instructions are executed.
BaseSimpleCPU0 At 188717565573680 Tid[0] 57100000000 instructions are executed.
BaseSimpleCPU0 At 189025094758786 Tid[0] 57200000000 instructions are executed.
BaseSimpleCPU0 At 189332806676156 Tid[0] 57300000000 instructions are executed.
BaseSimpleCPU0 At 189639250090576 Tid[0] 57400000000 instructions are executed.
BaseSimpleCPU0 At 189950905510080 Tid[0] 57500000000 instructions are executed.
BaseSimpleCPU0 At 190261730709908 Tid[0] 57600000000 instructions are executed.
BaseSimpleCPU0 At 190571706936468 Tid[0] 57700000000 instructions are executed.
BaseSimpleCPU0 At 190879816695854 Tid[0] 57800000000 instructions are executed.
BaseSimpleCPU0 At 191191447618886 Tid[0] 57900000000 instructions are executed.
BaseSimpleCPU0 At 191499498250632 Tid[0] 58000000000 instructions are executed.