Next: , Previous: Using mdprof, Up: Profiling   [Contents][Index]

8.8 Using threadscope

The ThreadScope tools are not distributed with Mercury. For information about how to install them please see the README.ThreadScope file included in the Mercury distribution.

ThreadScope provides two programs that can be used to view profiles in .eventlog files. The first, ‘show-ghc-events’, lists the ThreadScope events sorted from the earliest to the latest, while the second, ‘threadscope’ provides a graphical display for browsing the profile.

Both programs accept the name of a .eventlog file on the command line. The ‘threadscope’ program also provides a menu from which users can choose a file to open.