X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=rts%2FStats.c;h=ec8d5838fbc7a0132e12e95bf1fef3afcd62fff7;hp=f0f61b25b472cd98d4a6a1d8e244d6dad10476f9;hb=5a2769f0273dd389977e8283375e7920d183bdd4;hpb=3f10646cfe2c3409056a49d1ef1c4507af522573 diff --git a/rts/Stats.c b/rts/Stats.c index f0f61b2..ec8d583 100644 --- a/rts/Stats.c +++ b/rts/Stats.c @@ -75,6 +75,11 @@ Ticks stat_getElapsedGCTime(void) return GCe_tot_time; } +Ticks stat_getElapsedTime(void) +{ + return getProcessElapsedTime() - ElapsedTimeStart; +} + /* mut_user_time_during_GC() and mut_user_time() * * The former function can be used to get the current mutator time