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

Unified Diff: chrome/browser/task_manager/sampling/task_manager_impl.h

Issue 2573183002: Add process start time and CPU time columns to task manager (Closed)
Patch Set: Fix nits and conflicts. Created 3 years, 11 months 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_manager/sampling/task_manager_impl.h
diff --git a/chrome/browser/task_manager/sampling/task_manager_impl.h b/chrome/browser/task_manager/sampling/task_manager_impl.h
index 1e8edd0a2c3025e1fdc575afd0776484278ae051..56c4ecbf336e2151a5e118d919fc284f41a9a981 100644
--- a/chrome/browser/task_manager/sampling/task_manager_impl.h
+++ b/chrome/browser/task_manager/sampling/task_manager_impl.h
@@ -17,6 +17,7 @@
#include "base/macros.h"
#include "base/memory/scoped_vector.h"
#include "base/sequenced_task_runner.h"
+#include "base/time/time.h"
#include "chrome/browser/task_manager/providers/task_provider.h"
#include "chrome/browser/task_manager/providers/task_provider_observer.h"
#include "chrome/browser/task_manager/sampling/task_group.h"
@@ -44,6 +45,8 @@ class TaskManagerImpl :
bool IsTaskKillable(TaskId task_id) override;
void KillTask(TaskId task_id) override;
double GetCpuUsage(TaskId task_id) const override;
+ base::Time GetStartTime(TaskId task_id) const override;
+ base::TimeDelta GetCpuTime(TaskId task_id) const override;
int64_t GetPhysicalMemoryUsage(TaskId task_id) const override;
int64_t GetPrivateMemoryUsage(TaskId task_id) const override;
int64_t GetSharedMemoryUsage(TaskId task_id) const override;
« no previous file with comments | « chrome/browser/task_manager/sampling/task_group.cc ('k') | chrome/browser/task_manager/sampling/task_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698