Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Attributes | List of all members
flutter::ProfileSample Struct Reference

Container for the metrics we collect during each run of Sampler. This currently holds CpuUsageInfo and MemoryUsageInfo but the intent is to expand it to other metrics. More...

#include <sampling_profiler.h>

Public Attributes

std::optional< CpuUsageInfocpu_usage
 
std::optional< MemoryUsageInfomemory_usage
 
std::optional< GpuUsageInfogpu_usage
 

Detailed Description

Container for the metrics we collect during each run of Sampler. This currently holds CpuUsageInfo and MemoryUsageInfo but the intent is to expand it to other metrics.

See also
flutter::Sampler

Definition at line 60 of file sampling_profiler.h.

Member Data Documentation

◆ cpu_usage

std::optional<CpuUsageInfo> flutter::ProfileSample::cpu_usage

Definition at line 61 of file sampling_profiler.h.

◆ gpu_usage

std::optional<GpuUsageInfo> flutter::ProfileSample::gpu_usage

Definition at line 63 of file sampling_profiler.h.

◆ memory_usage

std::optional<MemoryUsageInfo> flutter::ProfileSample::memory_usage

Definition at line 62 of file sampling_profiler.h.


The documentation for this struct was generated from the following file: