summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gröber <dxld@darkboxed.org>2019-06-20 19:42:10 +0200
committerDaniel Gröber <dxld@darkboxed.org>2019-09-22 15:18:09 +0200
commit63023dc26100b0fee46281890518fa5eab2ddc59 (patch)
treeb01dfe99dd27c5a78d64149397dc33fb73859751
parent3ebaa4b5909176e7924f063f58e4de73c7809b0a (diff)
downloadhaskell-63023dc26100b0fee46281890518fa5eab2ddc59.tar.gz
rts: Fix outdated references to 'ldvTime'
This got renamed to 'era' in dbef766ce7 ("[project @ 2001-11-26 16:54:21 by simonmar] Profiling cleanup").
-rw-r--r--rts/LdvProfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/rts/LdvProfile.c b/rts/LdvProfile.c
index c918be55a8..f4ab02886d 100644
--- a/rts/LdvProfile.c
+++ b/rts/LdvProfile.c
@@ -201,7 +201,7 @@ LdvCensusForDead( uint32_t N )
{
uint32_t g;
- // ldvTime == 0 means that LDV profiling is currently turned off.
+ // era == 0 means that LDV profiling is currently turned off.
if (era == 0)
return;
@@ -222,7 +222,7 @@ LdvCensusForDead( uint32_t N )
* Regard any closure in the current heap as dead or moribund and update
* LDV statistics accordingly.
* Called from shutdownHaskell() in RtsStartup.c.
- * Also, stops LDV profiling by resetting ldvTime to 0.
+ * Also, stops LDV profiling by resetting 'era' to 0.
* ----------------------------------------------------------------------- */
void
LdvCensusKillAll( void )