Searched refs:system_metrics (Results 1 – 2 of 2) sorted by relevance
16 SystemMetrics system_metrics; in Sample() local18 system_metrics.committed_memory_ = GetSystemCommitCharge(); in Sample()20 GetSystemMemoryInfo(&system_metrics.memory_info_); in Sample()21 GetSystemDiskInfo(&system_metrics.disk_info_); in Sample()24 GetSwapInfo(&system_metrics.swap_info_); in Sample()27 return system_metrics; in Sample()
125 void AppendSystemProfileAsTraceFormat(const SystemMetrics& system_metrics, in AppendSystemProfileAsTraceFormat() argument128 base::JSONWriter::Write(system_metrics.ToValue().get(), &tmp); in AppendSystemProfileAsTraceFormat()