5#ifndef FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_PROFILER_METRICS_IOS_H_
6#define FLUTTER_SHELL_PLATFORM_DARWIN_IOS_FRAMEWORK_SOURCE_PROFILER_METRICS_IOS_H_
13#include "flutter/fml/logging.h"
14#include "flutter/shell/profiling/sampling_profiler.h"
31 std::optional<CpuUsageInfo> CpuUsage();
33 std::optional<MemoryUsageInfo> MemoryUsage();
Utility class that gathers profiling metrics used by flutter::SamplingProfiler.
ProfilerMetricsIOS()=default
ProfileSample GenerateSample()
Container for the metrics we collect during each run of Sampler. This currently holds CpuUsageInfo an...