Searched refs:counter_line (Results 1 – 1 of 1) sorted by relevance
67 uint64_t ReadCounterBytes(char* counter_line) { in ReadCounterBytes() argument69 int res = sscanf(counter_line, "%*s %" SCNu64 " kB", &counter_value); in ReadCounterBytes()74 uint32_t ParseSmapsCounter(char* counter_line, in ParseSmapsCounter() argument79 int did_read = sscanf(counter_line, "%19[^\n ]", counter_name); in ParseSmapsCounter()83 region->byte_stats_proportional_resident = ReadCounterBytes(counter_line); in ParseSmapsCounter()85 region->byte_stats_private_dirty_resident = ReadCounterBytes(counter_line); in ParseSmapsCounter()87 region->byte_stats_private_clean_resident = ReadCounterBytes(counter_line); in ParseSmapsCounter()89 region->byte_stats_shared_dirty_resident = ReadCounterBytes(counter_line); in ParseSmapsCounter()91 region->byte_stats_shared_clean_resident = ReadCounterBytes(counter_line); in ParseSmapsCounter()93 region->byte_stats_swapped = ReadCounterBytes(counter_line); in ParseSmapsCounter()