Searched refs:system_metrics (Results 1 – 2 of 2) sorted by relevance
59 SystemMetrics system_metrics; in Sample() local61 system_metrics.committed_memory_ = GetSystemCommitCharge(); in Sample()63 GetSystemMemoryInfo(&system_metrics.memory_info_); in Sample()64 GetVmStatInfo(&system_metrics.vmstat_info_); in Sample()65 GetSystemDiskInfo(&system_metrics.disk_info_); in Sample()68 GetSwapInfo(&system_metrics.swap_info_); in Sample()71 return system_metrics; in Sample()
124 void AppendSystemProfileAsTraceFormat(const SystemMetrics& system_metrics, in AppendSystemProfileAsTraceFormat() argument127 base::JSONWriter::Write(*system_metrics.ToValue(), &tmp); in AppendSystemProfileAsTraceFormat()