Another profiling question.

Simon Marlow marlowsd at gmail.com
Wed Apr 18 17:14:15 CEST 2012


On 17/04/2012 16:22, Herbert Valerio Riedel wrote:
> Jurriaan Hage<J.Hage at uu.nl>  writes:
>
>> from the RTS option -s I get :
>>
>>    INIT  time    0.00s  (  0.00s elapsed)
>>    MUT   time  329.99s  (940.55s elapsed)
>>    GC    time  745.91s  (751.51s elapsed)
>>    RP    time  765.76s  (767.76s elapsed)
>>    PROF  time  359.95s  (362.12s elapsed)
>>    EXIT  time    0.00s  (  0.00s elapsed)
>>
>> I can guess what most components mean, but do not know what RP stands
>> for.
>
> afaik RP stands for "retainer profiling", see
>
>   http://www.haskell.org/ghc/docs/7.4.1/html/users_guide/prof-heap.html#retainer-prof

Yes, RP is the amount of time the RTS spent doing retainer profiling. 
Retainer profiling is a separate pass over the heap in addition to the 
usual heap census, which is recorded as PROF in the stats.

Cheers,
	Simon






More information about the Glasgow-haskell-users mailing list