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..9a94214b0f6e93f5f79775159cabcf0c022118af 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 on any thread. |
+ */ |
+ void LogTranslateTime([in] str_t histogram_name, |
+ [in] int64_t time_us); |
}; |