[Haskell-cafe] Adding custom events to eventlog

Janek S. fremenzone at poczta.onet.pl
Fri Oct 19 17:31:07 CEST 2012


That's what I was looking for. Thanks!

Dnia piątek, 19 października 2012, Ben Gamari napisał:
> "Janek S." <fremenzone at poczta.onet.pl> writes:
> > Dear list,
> >
> > I'm using ThreadScope to improve performance of my parallel program. It
> > would be very helpful for me if I could place custom things in eventlog
> > (e.g. "now function x begins"). Is this possible?
>
> Yes, it certainly is possible. Have a look at Debug.Trace.traceEvent and
> traceEventIO. I have found these to be a remarkably powerful tool for
> understanding parallel performance.
>
> Cheers,
>
> - Ben





More information about the Haskell-Cafe mailing list