Chromium Code Reviews| Index: ppapi/api/private/ppb_nacl_private.idl |
| diff --git a/ppapi/api/private/ppb_nacl_private.idl b/ppapi/api/private/ppb_nacl_private.idl |
| index 34f47e8d230dc0c48123114bb025d43b3cd73ccb..55eb3d1d6d062eb4e8ef98e1a2171ecbc86c3191 100644 |
| --- a/ppapi/api/private/ppb_nacl_private.idl |
| +++ b/ppapi/api/private/ppb_nacl_private.idl |
| @@ -435,4 +435,10 @@ interface PPB_NaCl_Private { |
| void ReportSelLdrStatus([in] PP_Instance instance, |
| [in] int32_t load_status, |
| [in] int32_t max_status); |
| + |
| + /* Logs time taken by an operation to UMA histograms. |
| + * This function is safe to call off the main thread. |
|
dmichael (off chromium)
2014/06/13 21:10:35
"off the main thread"->"on any thread"
?
Might be
|
| + */ |
| + void LogTranslateTime([in] str_t histogram_name, |
| + [in] int64_t time_us); |
| }; |