Commit 8abc7e76 authored by Sergei Trofimovich's avatar Sergei Trofimovich

rts: drop unused mut_user_time_during_heap_census

Was never used looking at history available in git.

While at it marked 'mut_user_time_during_RP' as 'static'.

Noticed by uselex.rb:
    mut_user_time_during_heap_census: [R]: exported from:
        ./rts/dist/build/Stats.p_o
Signed-off-by: default avatarSergei Trofimovich <siarheit@google.com>
parent 3dbd836e
......@@ -105,17 +105,12 @@ mut_user_time( void )
mut_user_time_during_RP() returns the MUT time during retainer profiling.
The same is for mut_user_time_during_HC();
*/
double
static double
mut_user_time_during_RP( void )
{
return TimeToSecondsDbl(RP_start_time - GC_tot_cpu - RP_tot_time);
}
double
mut_user_time_during_heap_census( void )
{
return TimeToSecondsDbl(HC_start_time - GC_tot_cpu - RP_tot_time);
}
#endif /* PROFILING */
/* ---------------------------------------------------------------------------
......
......@@ -59,11 +59,6 @@ void initStats1(void);
double mut_user_time_until(Time t);
double mut_user_time(void);
#ifdef PROFILING
double mut_user_time_during_RP(void);
double mut_user_time_during_heap_census(void);
#endif /* PROFILING */
void statDescribeGens( void );
Time stat_getElapsedGCTime(void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment