TraceMgrPacketGetStartTime (FUN)

FUNCTION TraceMgrPacketGetStartTime : RTS_IEC_RESULT

Returns the start time of a trace packet or 0 if trace packet has not been started yet.

Note

the start time is the time when the packet was started for the first time.

InOut:

Scope

Name

Type

Comment

Return

TraceMgrPacketGetStartTime

RTS_IEC_RESULT

Returns the runtime system error code (see CmpErrors.library):
  • ERR_PARAMETER if hPacket is not a valid handle

Input

hPacket

RTS_IEC_HANDLE

The trace packet handle

Inout

pStartTime

SYSTIME

The start time (out)