SourcePoint Intel Help

Table of Contents

print cycles

Print trace data to a file.

Syntax

print cycles [startCycle to endCycle | startCycle length count]

Where :

startCycle

is a trace cycle state number.

endCycle

is a trace cycle state number.

count

is an integer expression.

Discussion

The print cycles command "prints" or saves all of a portion of the trace buffer to a file named "trc.txt" in the CWD path. If the "trc.txt" file does not exist, one will be created. If the file does exist, it will be overwritten with the new print cycles data.

The range is an optional cycle range. If the range is omitted, print cycles defaults to all cycles.

This same functionality is available in the Trace window by selecting Save As in the File menu.

The formatting of the data matches the Trace window. ย If more than one Trace window is open, the last active window is used.

Examples

Command inputs:

print cycles ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย // prints the entire trace buffer ย ย 

ย ย ย ย ย ย 

print cycles 0 length 100T ย // print 100 cycles beginning at state 0

ย 

print cycles -100T to 0 ย ย ย ย // print trace from state -100 to state 0

ย 

Note: In the Trace window, the cycle number is in decimal. ย But when entered into the Command window, SourcePoint interprets it as a hex number unless there is a "T" on the end.

ย