A graphical tool for profiling parallel Haskell programs
Haskell TeX Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Events Fix warning about the use of a deprecated function Jul 13, 2017
GUI
Graphics/UI/Gtk/ModelView/TreeView
include Use appropriate calling convention on Windows depending on the host a… Aug 10, 2017
papers/haskell_symposium_2009
scripts
tests SaveAsPDF appears to be working -- further testing needed Dec 3, 2009
.travis.yml
CHANGELOG.md Release v0.2.11.1 Jul 11, 2018
LICENSE
Main.hs
Makefile Clean up webpage, credits, etc. Nov 12, 2011
README.md
Setup.hs
TODO
appveyor.yml appveyor: Remove ghc version name from the artifact Jun 8, 2018
cabal.project Modernise Appveyor CI script Jun 5, 2018
index.html Link to TS guided tour in 2 places Dec 6, 2011
stack.yaml
threadscope.cabal
threadscope.pdf Move modules into related groups Apr 21, 2011
threadscope.png Resized logo Sep 14, 2009
threadscope.ui Remove the old summary view tab Oct 23, 2012

README.md

ThreadScope

Hackage Hackage-Deps Build Status Build status

Using pre-built binaries

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

  • Ubuntu Trusty (64-bit)
  • OS X
  • Windows (x64)

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

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

brew install gtk+ gtk-mac-integration

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

pacman -S $MINGW_PACKAGE_PREFIX-gtk2

then you can run the threadscope binary from the shell.

Building from source

Use git clone or cabal unpack threadscope to get the source and move into the threadscope directory.

Linux

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

sudo apt install libgtk2.0-dev

Then you can build threadscope using cabal:

cabal new-build

Or using stack:

stack setup
stack install

OS X

GTK+ and gtk-mac-integration are required.

brew install gtk+ gtk-mac-integration

Then you can build threadscope using cabal:

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

Or using stack:

stack setup
stack install --flag gtk:have-quartz-gtk

Windows

Chocolatey can be used to install GHC and MSYS2 is the recommended way to install GTK+.

choco install ghc
refreshenv
set PATH=C:\\msys64\\mingw64\\bin;C:\\msys64\\usr\\bin;%PATH%
pacman -Sy mingw-w64-x86_64-gtk2

then you can build threadscope using cabal:

cabal new-build

Or you can use stack instead.

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

In command prompt:

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

Then in MSYS2 MINGW64 shell:

pacman -S $MINGW_PACKAGE_PREFIX-gtk2
echo 'export PATH=$APPDATA/local/bin:$PATH' >> .profile
source .profile
threadscope

Building using stack is not tested in CI. If you find any issues with building with stack, please update the instructions and send a PR.