| 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 156 of file profiler_metrics_ios.mm.

156 {
157 return {.cpu_usage = CpuUsage(), .memory_usage = MemoryUsage(), .gpu_usage = PollGpuUsage()};
158 }

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