Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: src/counters.h

Issue 2813673002: Reland of Ensure counters are initialized, to avoid init on non-joinable threads. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/api.cc ('k') | src/counters.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/counters.h
diff --git a/src/counters.h b/src/counters.h
index 2e8d3207892c91d5a1ca77bd24990cad3c30dc68..f6ad865e35549a5cce923eb2529d3227ca59f026 100644
--- a/src/counters.h
+++ b/src/counters.h
@@ -1273,6 +1273,8 @@
void ResetCounters();
void ResetHistograms();
+ void InitializeHistograms();
+
RuntimeCallStats* runtime_call_stats() { return &runtime_call_stats_; }
private:
« no previous file with comments | « src/api.cc ('k') | src/counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698