summaryrefslogtreecommitdiffstats
path: root/base/profiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/profiler.h')
-rw-r--r--base/profiler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/profiler.h b/base/profiler.h
index 8a6cce8..4fd1117 100644
--- a/base/profiler.h
+++ b/base/profiler.h
@@ -26,6 +26,9 @@ class Profiler {
// time in application startup.
static void ClearData();
+ // Flushes all recorded data to disk. No-op until recording is started.
+ static void Flush();
+
// Sets the name of the current thread for display in the profiler's UI.
static void SetThreadName(const char *name);