aboutsummaryrefslogtreecommitdiffstats
path: root/lib/System/Unix
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-05-12 18:20:39 +0000
committerChris Lattner <sabre@nondot.org>2006-05-12 18:20:39 +0000
commit095cc37e2234e79e2f61a461404f6eb3c1dacb44 (patch)
tree622ac0f33818a8b2226822216cffd2746109ea5e /lib/System/Unix
parent666b0426586f18674af57371a69d63f441d9e916 (diff)
downloadexternal_llvm-095cc37e2234e79e2f61a461404f6eb3c1dacb44.zip
external_llvm-095cc37e2234e79e2f61a461404f6eb3c1dacb44.tar.gz
external_llvm-095cc37e2234e79e2f61a461404f6eb3c1dacb44.tar.bz2
Fix accidentally committed patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28260 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix')
-rw-r--r--lib/System/Unix/Process.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/System/Unix/Process.inc b/lib/System/Unix/Process.inc
index f4bc873..32733d6 100644
--- a/lib/System/Unix/Process.inc
+++ b/lib/System/Unix/Process.inc
@@ -95,7 +95,7 @@ Process::GetTimeUsage(TimeValue& elapsed, TimeValue& user_time,
TimeValue& sys_time)
{
elapsed = TimeValue::now();
-#if 0 // defined(HAVE_GETRUSAGE)
+#if defined(HAVE_GETRUSAGE)
struct rusage usage;
::getrusage(RUSAGE_SELF, &usage);
user_time = TimeValue(