[m-dev.] Please help... once more
Fergus Henderson
fjh at cs.mu.OZ.AU
Tue Oct 17 17:40:47 AEDT 2000
On 16-Oct-2000, Erwan Jahier <Erwan.Jahier at irisa.fr> wrote:
> Now the timings are (again for queens-11 and a very simple monitor):
>
> if
> a: is the code to get the value of event_info.MR_max_mr_num
> b: is the call MR_copy_saved_regs_to_regs() and its twin
> c: is the call MR_COLLECT_filter and is the check to see if stop_collecting
> is set to TRUE
>
> a+b+c: 216 seconds (user+sys)
> a+b: 56 s
> {}: 17 s
My guess is that as discussed earlier probably most of the time is in
MR_call_engine() and in particular in setjmp() and longjmp().
> ps: wrapping the call to (*filter_ptr)() in MR_COLLECT_filter() by the macro
> MR_TRACE_CALL_MERCURY() was not necessary.
Why not? Do you just mean that by coincidence it happens to work if
you remove it?
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list