Next: Trace Mode, Previous: Sampling and Trace Mode Concepts, Up: Sampling
RSIML reports data on the three modes for use in tuning and to confirm that simulation is proceeding as expected. The report data will be described using the following example.
ZA: Simulated 745649 instr taking 219650 cycles in 2 samples. ZB: Host cpu time 3.41 s ZC: Functional 1744488 insn, 0.14 s, 12462498 insn/s ZD0: Skip 1744488 insn, 0.14 s, 12374098 insn/s. ZD1: Warmup 29624 insn, 0.39 s, 75390 c-insn/s. ZD2: Sample 100003 insn, 2.59 s, 38662 c-insn/s, 288273 d-insn/s. ZD3: Coverage 0.053360 unweighted, 0.133401 weighted.
Line ZA
shows the number of instructions decoded in sample
mode, the total duration of the samples, and the number of samples.
Line ZC
shows the number of instructions handled in functional
simulation mode. This includes the instructions in skip mode and if
the simulator is in trace mode, also includes instructions in warmup
and sample modes.
Line ZD0
shows the number of instructions in skip mode, the
amount of time the host spent in skip mode (in seconds), and the
skip-mode simulation rate in instructions per second. Lines ZD1
provides similar information for warmup mode, and ZD2
for
sample mode. In sample mode the number of decoded instructions per
second is also shown. Note that skip mode is much faster than warmup
and trace modes.
Line ZD3
shows unweighted coverage, the fraction of benchmark
instructions that were simulated in sample mode. A 1 would indicate
the entire benchmark. Also shown is weighted coverage which for
targeted sampling includes the values of the weights.