summaryrefslogtreecommitdiffstats
path: root/chrome/test/perf
diff options
context:
space:
mode:
authornsylvain@google.com <nsylvain@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 18:15:43 +0000
committernsylvain@google.com <nsylvain@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 18:15:43 +0000
commit3183a2edce65aeb5d6ebfddb3f9dc7593ad9db30 (patch)
tree65f66f28e7e2e8a21e5ac4e39e78593734d86bb9 /chrome/test/perf
parent93b6b46b7d5ff9429135c00fd9d97be71c49d166 (diff)
downloadchromium_src-3183a2edce65aeb5d6ebfddb3f9dc7593ad9db30.zip
chromium_src-3183a2edce65aeb5d6ebfddb3f9dc7593ad9db30.tar.gz
chromium_src-3183a2edce65aeb5d6ebfddb3f9dc7593ad9db30.tar.bz2
Fix win2k testers by commenting out a function that is not supported
on windows 2000. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@439 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/perf')
-rw-r--r--chrome/test/perf/mem_usage.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/test/perf/mem_usage.cc b/chrome/test/perf/mem_usage.cc
index 369295e..c0c4e4d 100644
--- a/chrome/test/perf/mem_usage.cc
+++ b/chrome/test/perf/mem_usage.cc
@@ -71,9 +71,10 @@ size_t GetSystemCommitCharge() {
SYSTEM_INFO system_info;
GetSystemInfo(&system_info);
- PERFORMANCE_INFORMATION info;
- if (GetPerformanceInfo(&info, sizeof(info)))
- return info.CommitTotal * system_info.dwPageSize;
+ // TODO(mbelshe): This does not work on win2k.
+ // PERFORMANCE_INFORMATION info;
+ // if (GetPerformanceInfo(&info, sizeof(info)))
+ // return info.CommitTotal * system_info.dwPageSize;
return -1;
}