diff options
Diffstat (limited to 'chromium/components/browser_watcher/dump_stability_report_main_win.cc')
-rw-r--r-- | chromium/components/browser_watcher/dump_stability_report_main_win.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/components/browser_watcher/dump_stability_report_main_win.cc b/chromium/components/browser_watcher/dump_stability_report_main_win.cc index bc3940ad8a0..b4a9cecfbe3 100644 --- a/chromium/components/browser_watcher/dump_stability_report_main_win.cc +++ b/chromium/components/browser_watcher/dump_stability_report_main_win.cc @@ -179,6 +179,10 @@ void PrintProcessState(FILE* out, fprintf(out, "process_allocation_attempt: %u bytes\n", windows_memory.process_allocation_attempt()); } + if (windows_memory.has_process_handle_count()) { + fprintf(out, "process_handle_count: %u handles\n", + windows_memory.process_handle_count()); + } } for (const browser_watcher::ThreadState& thread : process.threads()) { @@ -205,6 +209,10 @@ void PrintReport(FILE* out, const browser_watcher::StabilityReport& report) { fprintf(out, "system_commit_remaining: %u pages\n", windows_memory.system_commit_remaining()); } + if (windows_memory.has_system_handle_count()) { + fprintf(out, "system_handle_count: %u handles\n", + windows_memory.system_handle_count()); + } } PrintUserData(out, 0, report.global_data()); for (int i = 0; i < report.process_states_size(); ++i) { |