| Flutter iOS Embedder |

Public Member Functions | List of all members
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 }

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

- shell/platform/darwin/ios/framework/Source/profiler_metrics_ios.h
- shell/platform/darwin/ios/framework/Source/profiler_metrics_ios.mm