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

Side by Side Diff: chrome/browser/task_manager/sampling/shared_sampler_posix.cc

Issue 2573183002: Add process start time and CPU time columns to task manager (Closed)
Patch Set: Fix nits Created 4 years 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/task_manager/sampling/shared_sampler.h" 5 #include "chrome/browser/task_manager/sampling/shared_sampler.h"
6 6
7 #include "content/public/browser/browser_thread.h" 7 #include "content/public/browser/browser_thread.h"
8 8
9 namespace task_manager { 9 namespace task_manager {
10 10
11 SharedSampler::SharedSampler( 11 SharedSampler::SharedSampler(
12 const scoped_refptr<base::SequencedTaskRunner>& blocking_pool_runner) {} 12 const scoped_refptr<base::SequencedTaskRunner>& blocking_pool_runner) {}
13 13
14 SharedSampler::~SharedSampler() {} 14 SharedSampler::~SharedSampler() {}
15 15
16 int64_t SharedSampler::GetSupportedFlags() const { return 0; } 16 int64_t SharedSampler::GetSupportedFlags() const { return 0; }
17 17
18 void SharedSampler::RegisterCallbacks( 18 void SharedSampler::RegisterCallbacks(
19 base::ProcessId process_id, 19 base::ProcessId process_id,
20 const OnIdleWakeupsCallback& on_idle_wakeups, 20 const OnIdleWakeupsCallback& on_idle_wakeups,
21 const OnPhysicalMemoryCallback& on_physical_memory) {} 21 const OnPhysicalMemoryCallback& on_physical_memory,
22 const OnStartTimeCallback& on_start_time,
23 const OnCpuTimeCallback& on_cpu_time) {}
22 24
23 void SharedSampler::UnregisterCallbacks(base::ProcessId process_id) {} 25 void SharedSampler::UnregisterCallbacks(base::ProcessId process_id) {}
24 26
25 void SharedSampler::Refresh(base::ProcessId process_id, 27 void SharedSampler::Refresh(base::ProcessId process_id,
26 int64_t refresh_flags) {} 28 int64_t refresh_flags) {}
27 29
28 } // namespace task_manager 30 } // namespace task_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698