[m-rev.] for review: mercury installer script

Peter Ross pro at missioncriticalit.com
Tue Nov 22 21:40:52 AEDT 2005


On Tue, Nov 22, 2005 at 04:52:34PM +1100, Julien Fischer wrote:
> On Tue, 22 Nov 2005, Ian MacLarty wrote:
> >
> > The .prof grades don't work on Cygwin.
> 
> I'll take a look at that.
> 
I've looked, and it isn't easy.  The profiler works by registering a
handler for a signal which is generated every N clock ticks.  This
handler then increments the count for the current mercury label in a
data-structure.

Under cygwin it is impossible to do this as the signal isn't supported.

I looked once at trying to spawn a side thread which slept N miliseconds
then sampled the current label somehow, but never got my head around
exactly what needed to be changed and where.

Pete

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