Flutter Engine
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 59 of file sampling_profiler.h.

Member Data Documentation

◆ cpu_usage

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

◆ gpu_usage

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

Definition at line 62 of file sampling_profiler.h.

Referenced by flutter::SamplingProfiler::Start().

◆ memory_usage

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

Definition at line 61 of file sampling_profiler.h.

Referenced by flutter::SamplingProfiler::Start().


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