English
Language : 

R0E417250MCU00 Datasheet, PDF (209/228 Pages) Renesas Technology Corp – E100 Emulator MCU Unit for H8SX/1700 Series
R0E417250MCU00 User’s Manual
5. Debugging Functions
5.17.4 Saving the Execution Times to a File
After the trace data has been acquired, you can use the TRACE_EXECUTE_SAVE command to save the execution times in
the specified section to a file with extension .csv.
The command description given below is an example where the execution times for sections 1 and 2 are saved in result.csv
under the configuration directory.
trace_execute_save $(CONFIGDIR)\\result.csv 1 2
The contents of the .csv file opened in Microsoft Excel will be as follows.
Example:
Section 1 (start: 0x1000, end: 0x10FF)
Within the acquired data, an execution
time is not given if a start event has no
corresponding end event.
Section 2 (start: 0x2000, end: 0x20FF)
Figure 5.128 .csv file opened in Microsoft Excel
The execution time, in nanoseconds, is saved in the file.
Example:
1h 23 m 45 s 678 ms 901 μs 234 ns = 01:23:45.678.901.234 -> 5025678901234
[CAUTION]
Measurement of execution times in specific sections is not possible for events set in the Trace conditions dialog box, so be sure
to specify the events on the command line.
Execute the TRACE_WAIT command before using the TRACE_EXECUTE_SAVE command in a command file. The
TRACE_WAIT command makes the emulator wait for successful acquisition of the trace data.
For details on commands, refer to the online help information.
REJ10J1831-0200 Rev.2.00 Jun.1, 2009
Page 209 of 228