Pepper_56_C_interfaces
Pepper_56_C_interfaces
|
#include <ppb_uma_private.h>
Public Attributes | |
void(* | HistogramCustomTimes )(PP_Instance instance, struct PP_Var name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count) |
void(* | HistogramCustomCounts )(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count) |
void(* | HistogramEnumeration )(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t boundary_value) |
int32_t(* | IsCrashReportingEnabled )(PP_Instance instance, struct PP_CompletionCallback callback) |
Contains functions for plugins to report UMA usage stats.
void(* PPB_UMA_Private_0_3::HistogramCustomCounts)(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count) |
HistogramCustomCounts is a pointer to a function which records a sample in the histogram given by |name|, possibly creating the histogram if it does not exist.
void(* PPB_UMA_Private_0_3::HistogramCustomTimes)(PP_Instance instance, struct PP_Var name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count) |
HistogramCustomTimes is a pointer to a function which records a time sample given in milliseconds in the histogram given by |name|, possibly creating the histogram if it does not exist.
void(* PPB_UMA_Private_0_3::HistogramEnumeration)(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t boundary_value) |
HistogramEnumeration is a pointer to a function which records a sample in the histogram given by |name|, possibly creating the histogram if it does not exist. The sample represents a value in an enumeration bounded by |boundary_value|, that is, sample < boundary_value always.
int32_t(* PPB_UMA_Private_0_3::IsCrashReportingEnabled)(PP_Instance instance, struct PP_CompletionCallback callback) |
IsCrashReportingEnabled returns PP_OK to the completion callback to indicate that the current user has opted-in to crash reporting, or PP_ERROR_* on failure or when a user has not opted-in. This can be used to gate other reporting processes such as analytics and crash reporting.