projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New tracing interface
[ghc-hetmet.git]
/
rts
/
Stats.c
diff --git
a/rts/Stats.c
b/rts/Stats.c
index
f0f61b2
..
ec8d583
100644
(file)
--- a/
rts/Stats.c
+++ b/
rts/Stats.c
@@
-75,6
+75,11
@@
Ticks stat_getElapsedGCTime(void)
return GCe_tot_time;
}
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
/* mut_user_time_during_GC() and mut_user_time()
*
* The former function can be used to get the current mutator time