Adding custom events to eventlog

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

"Janek S."
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

That's what I was looking for. Thanks! Dnia piątek, 19 października 2012, Ben Gamari napisał:
"Janek S."
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
participants (2)
-
Ben Gamari
-
Janek S.