|Non-Confidential||PDF version||ARM DUI0471M|
|Home > What is Semihosting? > SYS_ELAPSED (0x30)|
Returns the number of elapsed target ticks since execution started.
SYS_TICKFREQ to determine the tick frequency.
R1 points to a two-word data
block to be used for returning the number of elapsed ticks:
the least significant word and is at the low address
the most significant word and is at the high address.
to a doubleword that contains the number of elapsed ticks. On failure,
R0 contains 0. On
R0 contains -1.
Some debuggers might not support this SVC when connected though
RVI or DSTREAM, and they always return –1 in