Method

SysprofCaptureWriterrequest_counter

Declaration [src]

unsigned int
sysprof_capture_writer_request_counter (
  SysprofCaptureWriter* self,
  unsigned int n_counters
)

Description [src]

This requests a series of counter identifiers for the capture.

The returning number is always greater than zero. The resulting counter values are monotonic starting from the resulting value.

For example, if you are returned 5, and requested 3 counters, the counter ids you should use are 5, 6, and 7.

Parameters

n_counters

Type: unsigned int

No description available.

Return value

Type: unsigned int

The next series of counter values or zero on failure.