Home
last modified time | relevance | path

Searched refs:swap_info (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/process/
Dprocess_metrics_linux.cc930 void GetSwapInfo(SwapInfo* swap_info) { in GetSwapInfo() argument
940 swap_info->orig_data_size = 0; in GetSwapInfo()
941 swap_info->num_reads = 0; in GetSwapInfo()
942 swap_info->num_writes = 0; in GetSwapInfo()
943 swap_info->compr_data_size = 0; in GetSwapInfo()
944 swap_info->mem_used_total = 0; in GetSwapInfo()
947 swap_info->orig_data_size = orig_data_size; in GetSwapInfo()
948 swap_info->num_reads = ReadFileToUint64(zram_path.Append("num_reads")); in GetSwapInfo()
949 swap_info->num_writes = ReadFileToUint64(zram_path.Append("num_writes")); in GetSwapInfo()
950 swap_info->compr_data_size = in GetSwapInfo()
[all …]
Dprocess_metrics.h402 BASE_EXPORT void GetSwapInfo(SwapInfo* swap_info);