Searched refs:ProcessMetrics (Results 1 - 8 of 8) sorted by relevance

/external/libchrome/base/trace_event/
H A Dprocess_memory_totals_dump_provider.h18 class ProcessMetrics;
40 scoped_ptr<ProcessMetrics> process_metrics_;
H A Dprocess_memory_totals_dump_provider.cc40 : process_metrics_(ProcessMetrics::CreateCurrentProcessMetrics()) {}
/external/libchrome/base/process/
H A Dprocess_metrics.cc49 ProcessMetrics* ProcessMetrics::CreateCurrentProcessMetrics() {
57 double ProcessMetrics::GetPlatformIndependentCPUUsage() {
66 int ProcessMetrics::CalculateIdleWakeupsPerSecond(
92 int ProcessMetrics::GetIdleWakeupsPerSecond() {
H A Dprocess_metrics_mac.cc94 ProcessMetrics* ProcessMetrics::CreateProcessMetrics(
97 return new ProcessMetrics(process, port_provider);
100 size_t ProcessMetrics::GetPagefileUsage() const {
107 size_t ProcessMetrics::GetPeakPagefileUsage() const {
111 size_t ProcessMetrics::GetWorkingSetSize() const {
118 size_t ProcessMetrics::GetPeakWorkingSetSize() const {
125 bool ProcessMetrics::GetMemoryBytes(size_t* private_bytes,
218 void ProcessMetrics::GetCommittedKBytes(CommittedKBytes* usage) const {
225 bool ProcessMetrics
334 ProcessMetrics::ProcessMetrics(ProcessHandle process, function in class:base::ProcessMetrics
[all...]
H A Dprocess_metrics.h101 class BASE_EXPORT ProcessMetrics { class in namespace:base
103 ~ProcessMetrics();
105 // Creates a ProcessMetrics for the specified process.
108 static ProcessMetrics* CreateProcessMetrics(ProcessHandle process);
111 // The port provider needs to outlive the ProcessMetrics object returned by
114 static ProcessMetrics* CreateProcessMetrics(ProcessHandle process,
118 // Creates a ProcessMetrics for the current process. This a cross-platform
121 static ProcessMetrics* CreateCurrentProcessMetrics();
188 explicit ProcessMetrics(ProcessHandle process);
190 ProcessMetrics(ProcessHandl
[all...]
H A Dprocess_metrics_posix.cc26 ProcessMetrics::~ProcessMetrics() { }
H A Dprocess_metrics_linux.cc165 ProcessMetrics* ProcessMetrics::CreateProcessMetrics(ProcessHandle process) {
166 return new ProcessMetrics(process);
170 size_t ProcessMetrics::GetPagefileUsage() const {
176 size_t ProcessMetrics::GetPeakPagefileUsage() const {
181 size_t ProcessMetrics::GetWorkingSetSize() const {
187 size_t ProcessMetrics::GetPeakWorkingSetSize() const {
191 bool ProcessMetrics::GetMemoryBytes(size_t* private_bytes,
206 bool ProcessMetrics::GetWorkingSetKBytes(WorkingSetKBytes* ws_usage) const {
214 double ProcessMetrics
313 ProcessMetrics::ProcessMetrics(ProcessHandle process) function in class:base::ProcessMetrics
[all...]
H A Dprocess_metrics_unittest.cc301 // Test that ProcessMetrics::GetCPUUsage() doesn't return negative values when
306 scoped_ptr<ProcessMetrics> metrics(
307 ProcessMetrics::CreateProcessMetrics(handle));
499 scoped_ptr<ProcessMetrics> metrics(
500 ProcessMetrics::CreateProcessMetrics(child.Handle()));

Completed in 141 milliseconds