[m-rev.] for review: change trace counts file format

Ian MacLarty maclarty at cs.mu.OZ.AU
Wed Feb 9 17:44:09 AEDT 2005


On 9 Feb 2005, at 17:14, Peter Wang wrote:

> Estimated hours taken: 1
> Branches: main
>
> This makes the tracing system print out both the defining and declaring
> modules of a procedure or function (previously it only printed out the
> declaring module).  This fixes a problem where the trace counts reader
> would throw an exception on reading some trace count summaries because
> it would see two events for what appeared to be the same procedure, but
> actually came from different defining modules.
>
> runtime/mercury_trace_base.c:
> 	Make MR_trace_write_label_exec_counts() print out both the
> 	defining and declaring modules of a procedure or function.
>
> mdbcomp/trace_counts.m:
> 	Update the trace counts reader for the new format.
>
>

That looks fine.

Ian.

--------------------------------------------------------------------------
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