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< CpuUsageInfo > | cpu_usage |
| std::optional< MemoryUsageInfo > | memory_usage |
| std::optional< GpuUsageInfo > | gpu_usage |
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.
Definition at line 60 of file sampling_profiler.h.
| std::optional<CpuUsageInfo> flutter::ProfileSample::cpu_usage |
Definition at line 61 of file sampling_profiler.h.
Referenced by flutter::ProfilerMetricsIOS::GenerateSample().
| std::optional<GpuUsageInfo> flutter::ProfileSample::gpu_usage |
Definition at line 63 of file sampling_profiler.h.
| std::optional<MemoryUsageInfo> flutter::ProfileSample::memory_usage |
Definition at line 62 of file sampling_profiler.h.