Flutter Engine
 
Loading...
Searching...
No Matches
flutter::ProfilerMetricsIOS Class Reference

Utility class that gathers profiling metrics used by flutter::SamplingProfiler. More...

#include <profiler_metrics_ios.h>

Public Member Functions

 ProfilerMetricsIOS ()=default
 
ProfileSample GenerateSample ()
 

Detailed Description

Utility class that gathers profiling metrics used by flutter::SamplingProfiler.

See also
flutter::SamplingProfiler

Definition at line 24 of file profiler_metrics_ios.h.

Constructor & Destructor Documentation

◆ ProfilerMetricsIOS()

flutter::ProfilerMetricsIOS::ProfilerMetricsIOS ( )
default

Member Function Documentation

◆ GenerateSample()

ProfileSample flutter::ProfilerMetricsIOS::GenerateSample ( )

Definition at line 127 of file profiler_metrics_ios.mm.

127 {
128 return {.cpu_usage = CpuUsage(), .memory_usage = MemoryUsage(), .gpu_usage = PollGpuUsage()};
129}

References flutter::ProfileSample::cpu_usage.


The documentation for this class was generated from the following files: