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

Side by Side Diff: chrome/test/perf/mem_usage.h

Issue 164352: Reliability test porting: stringy stuff.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: more comments Created 11 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/common/logging_chrome_uitest.cc ('k') | chrome/test/reliability/page_load_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #ifndef CHROME_TEST_PERF_MEM_USAGE_H__ 5 #ifndef CHROME_TEST_PERF_MEM_USAGE_H_
6 #define CHROME_TEST_PERF_MEM_USAGE_H__ 6 #define CHROME_TEST_PERF_MEM_USAGE_H_
7 7
8 // Get memory information for the process with given process ID. 8 // Get memory information for the process with given process ID.
9 // 9 //
10 // The Windows psapi provides memory information of a process through structure 10 // The Windows psapi provides memory information of a process through structure
11 // RPROCESS_MEMORY_COUNTERS_EX. Relevant fields are: 11 // RPROCESS_MEMORY_COUNTERS_EX. Relevant fields are:
12 // PagefileUsage: private (not shared) committed virtual space in process. 12 // PagefileUsage: private (not shared) committed virtual space in process.
13 // This is "VM Size" in task manager processes tab. 13 // This is "VM Size" in task manager processes tab.
14 // PeakPagefileUsage: peak value of PagefileUsage. 14 // PeakPagefileUsage: peak value of PagefileUsage.
15 // WorkingSetSize: physical memory allocated to process including shared pages. 15 // WorkingSetSize: physical memory allocated to process including shared pages.
16 // This is "Memory Usage" in task manager processes tab. 16 // This is "Memory Usage" in task manager processes tab.
(...skipping 16 matching lines...) Expand all
33 size_t *current_virtual_size, 33 size_t *current_virtual_size,
34 size_t *peak_working_set_size, 34 size_t *peak_working_set_size,
35 size_t *current_working_set_size); 35 size_t *current_working_set_size);
36 36
37 // Get the number of bytes currently committed by the system. 37 // Get the number of bytes currently committed by the system.
38 // Returns -1 on failure. 38 // Returns -1 on failure.
39 size_t GetSystemCommitCharge(); 39 size_t GetSystemCommitCharge();
40 40
41 // Get and print memory usage information for running chrome processes. 41 // Get and print memory usage information for running chrome processes.
42 void PrintChromeMemoryUsageInfo(); 42 void PrintChromeMemoryUsageInfo();
43 #endif // CHROME_TEST_PERF_MEM_USAGE_H__ 43
44 #endif // CHROME_TEST_PERF_MEM_USAGE_H_
OLDNEW
« no previous file with comments | « chrome/common/logging_chrome_uitest.cc ('k') | chrome/test/reliability/page_load_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698