Quantcast

Another profiling question.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Another profiling question.

Jurriaan Hage
Dear all,

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.
I also could not find this information in the GHC documentation that is online.
Can anyone tell me?

Jur


_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Another profiling question.

Herbert Valerio Riedel
Jurriaan Hage <[hidden email]> 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

for more information

hth,
hvr
--

_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Another profiling question.

Simon Marlow-7
On 17/04/2012 16:22, Herbert Valerio Riedel wrote:

> Jurriaan Hage<[hidden email]>  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




_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Loading...