• Home
  • Raw
  • Download

Lines Matching refs:stat_

131   Stat stat_;  member in DebugUnwindCommand
206 if (!GetMemStat(&stat_.mem_before_unwinding)) { in UnwindRecordFile()
218 if (!GetMemStat(&stat_.mem_after_unwinding)) { in UnwindRecordFile()
245 stat_.unwinding_sample_count++; in ProcessRecord()
246 stat_.total_unwinding_time_in_ns += unwinding_result.used_time; in ProcessRecord()
247 stat_.max_unwinding_time_in_ns = std::max(stat_.max_unwinding_time_in_ns, in ProcessRecord()
380 info_map["debug_unwind_mem_before"] = stat_.mem_before_unwinding.ToString(); in WriteFeatureSections()
381 info_map["debug_unwind_mem_after"] = stat_.mem_after_unwinding.ToString(); in WriteFeatureSections()
390 printf("Unwinding sample count: %" PRIu64 "\n", stat_.unwinding_sample_count); in PrintStat()
391 if (stat_.unwinding_sample_count > 0u) { in PrintStat()
392 printf("Average unwinding time: %f us\n", static_cast<double>(stat_.total_unwinding_time_in_ns) in PrintStat()
393 / 1000 / stat_.unwinding_sample_count); in PrintStat()
394 printf("Max unwinding time: %f us\n", static_cast<double>(stat_.max_unwinding_time_in_ns) in PrintStat()
398 PrintIndented(1, "VmPeak: %s -> %s\n", stat_.mem_before_unwinding.vm_peak.c_str(), in PrintStat()
399 stat_.mem_after_unwinding.vm_peak.c_str()); in PrintStat()
400 PrintIndented(1, "VmSize: %s -> %s\n", stat_.mem_before_unwinding.vm_size.c_str(), in PrintStat()
401 stat_.mem_after_unwinding.vm_size.c_str()); in PrintStat()
402 PrintIndented(1, "VmHWM: %s -> %s\n", stat_.mem_before_unwinding.vm_hwm.c_str(), in PrintStat()
403 stat_.mem_after_unwinding.vm_hwm.c_str()); in PrintStat()
404 PrintIndented(1, "VmRSS: %s -> %s\n", stat_.mem_before_unwinding.vm_rss.c_str(), in PrintStat()
405 stat_.mem_after_unwinding.vm_rss.c_str()); in PrintStat()