aboutsummaryrefslogtreecommitdiff
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
parent666b0426586f18674af57371a69d63f441d9e916 (diff)
Fix accidentally committed patch.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28260 91177308-0d34-0410-b5e6-96231b3b80d8
-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 f4bc873a82..32733d6136 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(