Method
SysprofDocumentCtrdefget_counter
Declaration [src]
void
sysprof_document_ctrdef_get_counter (
SysprofDocumentCtrdef* self,
guint nth,
guint* id,
guint* type,
const char** category,
const char** name,
const char** description
)
Parameters
nth-
Type:
guintA value between 0 and sysprof_document_ctrdef_get_n_counters().
id-
Type:
guint*A location for the id of the counter.
The argument will be set by the function. type-
Type:
guint*A location for either
SYSPROF_CAPTURE_COUNTER_INT64orSYSPROF_CAPTURE_COUNTER_DOUBLE.The argument will be set by the function. category-
Type:
const char**A location for the category.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it. The value is a NUL terminated UTF-8 string. name-
Type:
const char**A location for the name.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it. The value is a NUL terminated UTF-8 string. description-
Type:
const char**A location for the description.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it. The value is a NUL terminated UTF-8 string.