summaryrefslogtreecommitdiff
path: root/runtime/metrics/statsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/metrics/statsd.h')
-rw-r--r--runtime/metrics/statsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/metrics/statsd.h b/runtime/metrics/statsd.h
index a99d510088..cb84825301 100644
--- a/runtime/metrics/statsd.h
+++ b/runtime/metrics/statsd.h
@@ -27,8 +27,10 @@ class MetricsBackend;
// Statsd is only supported on Android
#ifdef __ANDROID__
std::unique_ptr<MetricsBackend> CreateStatsdBackend();
+void ReportDeviceMetrics();
#else
inline std::unique_ptr<MetricsBackend> CreateStatsdBackend() { return nullptr; }
+inline void ReportDeviceMetrics() {}
#endif
} // namespace metrics