11.07.2015 Views

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

IAR PowerPac RTOS User Guide

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

High-resolution measurement API function overviewRoutineOS_TimingStart()OS_TimingEnd()OS_Timing_Getus()OS_Timing_GetCycles()OS_TimingStart()DescriptionMarks the beginning of a section of code to be timed.Prototypevoid OS_Timing_Start (OS_TIMING* pCycle);ParameterDescriptionAdditional InformationThis function must be used with OS_Timing_End().OS_TimingEnd()DescriptionMarks the end of a section of code to be timed.Prototypevoid OS_Timing_End (OS_TIMING* pCycle);ParameterDescriptionAdditional InformationThis function must be used with OS_Timing_Start().OS_Timing_Getus()DescriptionReturns the execution time of the code between OS_Timing_Start() and OS_Timing_End() in microseconds.PrototypeOS_U32 OS_Timing_Getus (OS_TIMING* pCycle);ParameterDescriptionAdditional InformationThe execution time in microseconds (µs) as a 32-bit integer value.OS_Timing_GetCycles()DescriptionDescriptionTable 119: High-resolution measurement API overviewpCycleTable 120: OS_TimingStart() parameter listpCycleTable 121: OS_TimingEnd() parameter listpCycleTable 122: OS_Timing_Getus() parameter listMarks the beginning of a code section to be timed.Marks the end of a code section to be timed.Returns the execution time of the code between OS_Timing_Start() andOS_Timing_End() in microseconds.Returns the execution time of the code between OS_Timing_Start() andOS_Timing_End() in cycles.Pointer to a data structure of type OS_TIMING.Pointer to a data structure of type OS_TIMING.Pointer to a data structure of type OS_TIMING.Returns the execution time of the code between OS_Timing_Start() and OS_Timing_End() in cycles.116<strong>IAR</strong> <strong>PowerPac</strong> <strong>RTOS</strong>for ARM CoresPP<strong>RTOS</strong>-2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!