Avoid unnecessary clock_gettime() syscalls in GC stats.
authorBrian Brooks <brooks.brian@gmail.com>
Thu, 10 Jul 2014 07:55:33 +0000 (02:55 -0500)
committerAustin Seipp <austin@well-typed.com>
Thu, 10 Jul 2014 16:21:26 +0000 (11:21 -0500)
commit3c9fc104337a142fe4f375d30d7a6b81d55a70c1
tree5db059908fa46e495e6bd1354ff51c0e3cc254b1
parent61cce9116ac1a927632979e56dfa9754c69d2441
Avoid unnecessary clock_gettime() syscalls in GC stats.

Summary: Avoid unnecessary clock_gettime() syscalls in GC stats.

Test Plan: Use strace.

Reviewers: simonmar, austin

Reviewed By: simonmar, austin

Subscribers: simonmar, relrod, carter

Differential Revision: https://phabricator.haskell.org/D39
rts/Stats.c
rts/Stats.h
rts/sm/GC.c
rts/sm/GCThread.h