Next: Single Sample, Previous: Sampling Report Data, Up: Sampling
When run in trace mode the simulator always uses functional simulation, resulting in a much faster run but one in which timing data is not available. Trace mode is controlled by a single RTI:
trace_mode 1
If RSIML is run with the RTI set as above it will run in trace mode. It will run fast, but about the only useful information the simulator will provide is the number of instructions executed and the benchmark's output. Without added code about the only use for trace mode is to verify that a benchmark program runs correctly.
In trace mode and when in sample mode callbacks hooked to
proc->at_trace_insn_finish
are called after each benchmark
instruction. To use trace mode add a procedure to this hook, see the
file ez_trace.cc for details.