aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Windows/Process.inc
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-12-31 22:17:59 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-12-31 22:17:59 +0000
commitb12634bf80d28ed8dc28497c3e172a324f089d8f (patch)
tree6f478ee262b86701181d6e5630e8e69831770020 /llvm/lib/Support/Windows/Process.inc
parent368c4d0e1bae4b71b5c119ca28d96b87398e5976 (diff)
downloadllvm-b12634bf80d28ed8dc28497c3e172a324f089d8f.zip
llvm-b12634bf80d28ed8dc28497c3e172a324f089d8f.tar.gz
llvm-b12634bf80d28ed8dc28497c3e172a324f089d8f.tar.bz2
Remove an unused function in the old Process interface.
llvm-svn: 171327
Diffstat (limited to 'llvm/lib/Support/Windows/Process.inc')
-rw-r--r--llvm/lib/Support/Windows/Process.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/llvm/lib/Support/Windows/Process.inc b/llvm/lib/Support/Windows/Process.inc
index 9ad7917..d3a0c94 100644
--- a/llvm/lib/Support/Windows/Process.inc
+++ b/llvm/lib/Support/Windows/Process.inc
@@ -78,14 +78,6 @@ Process::GetMallocUsage()
return size;
}
-size_t
-Process::GetTotalMemoryUsage()
-{
- PROCESS_MEMORY_COUNTERS pmc;
- GetProcessMemoryInfo(GetCurrentProcess(), &pmc, sizeof(pmc));
- return pmc.PagefileUsage;
-}
-
void
Process::GetTimeUsage(
TimeValue& elapsed, TimeValue& user_time, TimeValue& sys_time)