Additional platform-specific indication functions

Each platform provides the following further platform-specific indication functions:

 

Table: goal_targetGetTimestamp()

Prototype

GOAL_TIMESTAMP_T goal_targetGetTimestamp(void)

Description

This indication function returns the time as 64-bit value since starting of the GOAL system.

Parameters

none

Return values

past time in ms

Category

mandatory


Table: goal_targetGetTicks()

Prototype

uint32_t goal_targetGetTicks(void)

Description

This indication function returns the time as 32-bit value since starting of the GOAL system.

Parameters

none

Return values

past time in ms

Category

mandatory


able: goal_targetGetTimestampDiffUs()

Prototype

uint32_t goal_targetGetTimestampDiffUs(void)

Description

This indication function returns the time difference between two calls of this function in µs. This function shall be embedded in the compiler-define GOAL_CONFIG_DEBUG_SOFTSCOPE.

Parameters

none

Return values

time difference in µs

Category

optional