Ace_Packet_Relative_Time_Get()
Abstract
Gets the relative time of a packet, as seen in the trace file.
Syntax
Ace_Packet_Relative_Time_Get (pk_ptr)
| Argument | Type | Description |
|---|---|---|
pk_ptr |
AceT_Packet * |
Packet of interest. |
Return Type
double
Relative time, in seconds.
Header
ace_client_api.h
Example
/* Time */
sprintf (decode_info_str, "DLC: Relative time = %f seconds",
Ace_Packet_Relative_Time_Get (pk_ptr));
prg_list_strings_append (details_lptr, decode_info_str, PRGC_NIL);
Details
This function is used by the lower-layer decoders to include the relative time as part of the detail lines.