Paul Bone

Profiling parallel Mercury programs with ThreadScope

Authors
Paul Bone and Zoltan Somogyi
Workshop
21st Workshop on Logic-based methods in Programming Environments (WLPE 2011) pp. 32–46
Where
Lexington, KY, USA
Date
July, 2011
Download
PDF
Slides
PDF
Archive
arXiv

Abstract

The behavior of parallel programs is even harder to understand than the behavior of sequential programs. Parallel programs may suffer from any of the performance problems afflicting sequential programs, as well as from several problems unique to parallel systems. Many of these problems are quite hard (or even practically impossible) to diagnose without help from specialized tools. We present a proposal for a tool for profiling the parallel execution of Mercury programs, a proposal whose implementation we have already started. This tool is an adaptation and extension of the ThreadScope profiler that was first built to help programmers visualize the execution of parallel Haskell programs.