haskell/ThreadScope

Name: ThreadScope

Owner: Haskell

Description: A graphical tool for profiling parallel Haskell programs

Created: 2011-08-26 20:27:13.0

Updated: 2018-03-31 05:08:00.0

Pushed: 2018-02-18 11:15:34.0

Homepage: http://www.haskell.org/haskellwiki/ThreadScope

Size: 47410

Language: Haskell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

ThreadScope

Hackage Hackage-Deps Build Status Build status

Using pre-built binaries

Currently pre-built binaries for the following platforms are provided:

GTK+2 needs to be installed for those binaries to work.

On OS X, gtk-mac-integration also needs to be installed.

 install gtk+ gtk-mac-integration

On Windows, the MSYS2 is the recommended way to install GTK+2. In MSYS2 MINGW64 shell:

an -S $MINGW_PACKAGE_PREFIX-gtk2

then you can run the threadscope binary from the shell.

Building from source
Linux

GTK+2 is required to be installed. On Ubuntu-like systems:

 apt install libgtk2.0-dev

Then you can build threadscope using cabal:

l new-build

Or using stack:

k setup
k install
OS X

GTK+ and gtk-mac-integration are required.

 install gtk+ gtk-mac-integration

Then you can build threadscope using cabal:

l new-build --constraint="gtk +have-quartz-gtk"

Or using stack:

k setup
k install --flag gtk:have-quartz-gtk
Windows

stack is the recommended tool to build threadscope on Windows.

CAVEAT: Currently gtk2 needs to be installed twice: one for stack's MSYS2 environment and another for local MSYS2 environment.

In command prompt:

k setup
k exec -- pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime msys2-runtime-devel
k exec -- pacman -Syu
k exec -- pacman -Syuu
k exec -- pacman -S base-devel mingw-w64-x86_64-pkg-config mingw-w64-x86_64-toolchain mingw-w64-x86_64-gtk2
k install

Then in MSYS2 MINGW64 shell:

an -S $MINGW_PACKAGE_PREFIX-gtk2
 'export PATH=$APPDATA/local/bin:$PATH' >> .profile
ce .profile
adscope

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.