Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Unified Diff: chrome/browser/task_management/sampling/task_group.h

Issue 1439213004: Fix various TaskManager bugs and add new enhancements (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: auto*& --> auto* Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/task_management/sampling/task_group.h
diff --git a/chrome/browser/task_management/sampling/task_group.h b/chrome/browser/task_management/sampling/task_group.h
index 6f882d00a27dc207dbede79b68a898a87aa73b21..cca02a639260d60d545f6146d58ff9395e93b5b6 100644
--- a/chrome/browser/task_management/sampling/task_group.h
+++ b/chrome/browser/task_management/sampling/task_group.h
@@ -54,6 +54,7 @@ class TaskGroup {
int64 physical_bytes() const { return memory_usage_.physical_bytes; }
int64 gpu_memory() const { return gpu_memory_; }
bool gpu_memory_has_duplicates() const { return gpu_memory_has_duplicates_; }
+ int64 per_process_network_usage() const { return per_process_network_usage_; }
#if defined(OS_WIN)
int64 gdi_current_handles() const { return gdi_current_handles_; }
@@ -97,6 +98,9 @@ class TaskGroup {
double cpu_usage_;
MemoryUsageStats memory_usage_;
int64 gpu_memory_;
+ // The network usage in bytes per second as the sum of all network usages of
+ // the individual tasks sharing the same process.
+ int64 per_process_network_usage_;
#if defined(OS_WIN)
// Windows GDI and USER Handles.
int64 gdi_current_handles_;

Powered by Google App Engine
This is Rietveld 408576698