summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit227d442d018978e07cf55dec5f235c5e3bc196b5 (patch)
tree64e7cf702fe22b55f80549da18c9eed713258700 /llvm
parentd63ec521c5abfa37562154747813fde2ba788add (diff)
downloadbcm5719-llvm-227d442d018978e07cf55dec5f235c5e3bc196b5.tar.gz
bcm5719-llvm-227d442d018978e07cf55dec5f235c5e3bc196b5.zip
Fix accidentally committed patch.
llvm-svn: 28260
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/System/Unix/Process.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/System/Unix/Process.inc b/llvm/lib/System/Unix/Process.inc
index f4bc873a829..32733d61366 100644
--- a/llvm/lib/System/Unix/Process.inc
+++ b/llvm/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(
OpenPOWER on IntegriCloud