Method

SysprofCaptureReaderget_end_time

since: 3.22.1

Declaration [src]

int64_t
sysprof_capture_reader_get_end_time (
  SysprofCaptureReader* self
)

Description [src]

This function will return the end time for the capture, which is the same as the last event added to the capture.

If the end time has been stored in the capture header, that will be used. Otherwise, the time is discovered from the last capture frame and therefore the caller must have read all frames to ensure this value is accurate.

Captures created by sysprof versions containing this API will have the end time set if the output capture file-descriptor supports seeking.

Available since: 3.22.1

Return value

Type: int64_t

No description available.