[m-rev.] for review: print more statistics when generating the EDT

Zoltan Somogyi zs at cs.mu.OZ.AU
Mon Jun 13 09:42:10 AEST 2005


On 12-Jun-2005, Ian MacLarty <maclarty at cs.mu.OZ.AU> wrote:
> +    pid = getpid();
> +    sprintf(cmdstr, "ps -o pid,rss | grep %i | awk '{print $2}' 1>&2", pid);
> +    fprintf(stderr, "\tRSS (After GC) = ");
> +    system(cmdstr);
> +    fprintf(stderr, "\n");

That is fine, except that I don't really see the point of doing a gc
before executing the code above.

Zoltan.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list