summaryrefslogtreecommitdiff
path: root/rts/GetTime.h
diff options
context:
space:
mode:
authorSergei Trofimovich <siarheit@google.com>2016-02-07 16:59:03 +0000
committerSergei Trofimovich <siarheit@google.com>2016-02-07 20:27:03 +0000
commit256c1b3922ffed686e80c051d3d59ed8581993be (patch)
tree006d12364a730ad41beb275a50cddbc31bfffa68 /rts/GetTime.h
parent4f283a6f84e76b3e8e1041eab1bbb9f8c63ce3fd (diff)
downloadhaskell-256c1b3922ffed686e80c051d3d59ed8581993be.tar.gz
rts: drop unused getThreadCPUTime
Use of this helper function was removed in: commit 3c9fc104337a142fe4f375d30d7a6b81d55a70c1 Author: Brian Brooks <brooks.brian@gmail.com> Date: Thu Jul 10 02:55:33 2014 -0500 Avoid unnecessary clock_gettime() syscalls in GC stats. Noticed by uselex.rb: getThreadCPUTime: [R]: exported from: ./rts/dist/build/posix/GetTime.p_o Signed-off-by: Sergei Trofimovich <siarheit@google.com>
Diffstat (limited to 'rts/GetTime.h')
-rw-r--r--rts/GetTime.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/rts/GetTime.h b/rts/GetTime.h
index 32c3754829..4aaddd00fe 100644
--- a/rts/GetTime.h
+++ b/rts/GetTime.h
@@ -14,7 +14,6 @@
void initializeTimer (void);
Time getProcessCPUTime (void);
-Time getThreadCPUTime (void);
Time getProcessElapsedTime (void);
void getProcessTimes (Time *user, Time *elapsed);