Home
last modified time | relevance | path

Searched refs:shared_bytes (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/chrome/browser/performance_monitor/
Dprocess_metrics_history.cc60 size_t shared_bytes = 0; in SampleMetrics() local
61 if (!process_metrics_->GetMemoryBytes(&private_bytes, &shared_bytes)) in SampleMetrics()
65 accumulated_shared_bytes_ += shared_bytes; in SampleMetrics()
Dprocess_metrics_history.h49 size_t* shared_bytes) const { in GetAverageMemoryBytes() argument
51 *shared_bytes = accumulated_shared_bytes_ / sample_count_; in GetAverageMemoryBytes()
/external/chromium_org/base/process/
Dprocess_metrics_freebsd.cc53 size_t* shared_bytes) { in GetMemoryBytes() argument
61 if (shared_bytes) in GetMemoryBytes()
62 *shared_bytes = ws_usage.shared * 1024; in GetMemoryBytes()
Dprocess_metrics_openbsd.cc60 size_t* shared_bytes) { in GetMemoryBytes() argument
69 if (shared_bytes) in GetMemoryBytes()
70 *shared_bytes = ws_usage.shared * 1024; in GetMemoryBytes()
Dprocess_metrics_mac.cc101 size_t* shared_bytes) { in GetMemoryBytes() argument
106 if (!private_bytes && !shared_bytes) in GetMemoryBytes()
192 if (shared_bytes) in GetMemoryBytes()
193 *shared_bytes = shared_pages_count * page_size; in GetMemoryBytes()
Dprocess_metrics_win.cc61 size_t* shared_bytes) { in GetMemoryBytes() argument
74 if (shared_bytes) { in GetMemoryBytes()
79 *shared_bytes = ws_usage.shared * 1024; in GetMemoryBytes()
Dprocess_metrics_linux.cc161 size_t* shared_bytes) { in GetMemoryBytes() argument
169 if (shared_bytes) in GetMemoryBytes()
170 *shared_bytes = ws_usage.shared * 1024; in GetMemoryBytes()
Dprocess_metrics.h149 size_t* shared_bytes);
/external/chromium_org/ash/system/monitor/
Dtray_monitor.cc81 size_t private_bytes, shared_bytes; in OnGotHandles() local
82 pm->GetMemoryBytes(&private_bytes, &shared_bytes); in OnGotHandles()
84 total_shared_bytes += shared_bytes; in OnGotHandles()
/external/chromium/base/
Dprocess_util_linux.cc324 size_t* shared_bytes) { in GetMemoryBytes() argument
332 if (shared_bytes) in GetMemoryBytes()
333 *shared_bytes = ws_usage.shared * 1024; in GetMemoryBytes()
Dprocess_util_win.cc608 size_t* shared_bytes) { in GetMemoryBytes() argument
621 if (shared_bytes) { in GetMemoryBytes()
626 *shared_bytes = ws_usage.shared * 1024; in GetMemoryBytes()
Dprocess_util_mac.mm269 // shared_bytes is the size of shared resident memory.
271 size_t* shared_bytes) {
276 if (!private_bytes && !shared_bytes)
362 if (shared_bytes)
363 *shared_bytes = shared_pages_count * page_size;
Dprocess_util.h576 size_t* shared_bytes);
/external/chromium/chrome/browser/prerender/
Dprerender_contents.cc543 size_t private_bytes, shared_bytes; in DestroyWhenUsingTooManyResources() local
544 if (metrics->GetMemoryBytes(&private_bytes, &shared_bytes)) { in DestroyWhenUsingTooManyResources()
/external/chromium_org/webkit/child/
Dwebkitplatformsupport_impl.h61 size_t* shared_bytes); in NON_EXPORTED_BASE()
Dwebkitplatformsupport_impl.cc909 size_t* shared_bytes) { in processMemorySizesInBytes() argument
910 return CurrentProcessMetrics()->GetMemoryBytes(private_bytes, shared_bytes); in processMemorySizesInBytes()
/external/chromium_org/content/renderer/
Drenderer_webkitplatformsupport_impl.h134 size_t* private_bytes, size_t* shared_bytes);
Drenderer_webkitplatformsupport_impl.cc930 size_t* private_bytes, size_t* shared_bytes) { in processMemorySizesInBytes() argument
932 new ViewHostMsg_GetProcessMemorySizes(private_bytes, shared_bytes)); in processMemorySizesInBytes()
/external/chromium_org/content/browser/renderer_host/
Drender_message_filter.cc551 size_t* shared_bytes) { in OnGetProcessMemorySizes() argument
561 if (!metrics->GetMemoryBytes(private_bytes, shared_bytes)) { in OnGetProcessMemorySizes()
563 *shared_bytes = 0; in OnGetProcessMemorySizes()
Drender_message_filter.h124 void OnGetProcessMemorySizes(size_t* private_bytes, size_t* shared_bytes);
/external/chromium_org/chrome/browser/prerender/
Dprerender_contents.cc741 size_t private_bytes, shared_bytes; in DestroyWhenUsingTooManyResources() local
742 if (metrics->GetMemoryBytes(&private_bytes, &shared_bytes) && in DestroyWhenUsingTooManyResources()
/external/chromium_org/chrome/browser/task_manager/
Dtask_manager.h401 size_t shared_bytes;
Dtask_manager.cc216 shared_bytes(0), in PerProcessValues()
544 *result = per_process_cache_[handle].shared_bytes; in GetSharedMemory()
1435 &values.shared_bytes)) { in CachePrivateAndSharedMemory()