threadscope 0.2.2 → 0.2.3
raw patch · 4 files changed
+44/−5 lines, 4 filesdep ~ghc-eventsdep ~gtkdep ~unix
Dependency ranges changed: ghc-events, gtk, unix
Files
- GUI/SaveAs.hs +14/−0
- GUI/Timeline.hs +1/−1
- GUI/Timeline/Render.hs +25/−0
- threadscope.cabal +4/−4
GUI/SaveAs.hs view
@@ -10,6 +10,20 @@ -- Imports for GTK import Graphics.UI.Gtk import Graphics.Rendering.Cairo+ ( Render+ , Operator(..)+ , Format(..)+ , rectangle+ , getOperator+ , setOperator+ , fill+ , translate+ , liftIO+ , withPDFSurface+ , renderWith+ , withImageSurface+ , surfaceWriteToPNG+ ) saveAs :: HECs -> ViewParameters -> Double -> DrawingArea -> (Int, Int, Render ())
GUI/Timeline.hs view
@@ -34,7 +34,7 @@ import Events.HECs import Graphics.UI.Gtk-import Graphics.Rendering.Cairo+import Graphics.Rendering.Cairo ( liftIO ) import Data.IORef import Control.Monad
GUI/Timeline/Render.hs view
@@ -22,6 +22,31 @@ import Graphics.UI.Gtk import Graphics.Rendering.Cairo+ ( Render+ , Content(..)+ , Operator(..)+ , Surface+ , liftIO+ , withTargetSurface+ , createSimilarSurface+ , renderWith+ , surfaceFinish+ , clip+ , setSourceSurface+ , setOperator+ , paint+ , setLineWidth+ , moveTo+ , lineTo+ , stroke+ , rectangle+ , fill+ , save+ , scale+ , translate+ , restore+ , setSourceRGBA+ ) import Data.IORef import Control.Monad
threadscope.cabal view
@@ -1,5 +1,5 @@ Name: threadscope-Version: 0.2.2+Version: 0.2.3 Category: Development, Profiling, Trace Synopsis: A graphical tool for profiling parallel Haskell programs. Description: ThreadScope is a graphical viewer for thread profile@@ -35,8 +35,8 @@ Data-files: threadscope.ui, threadscope.png source-repository head- type: darcs- location: http://code.haskell.org/ThreadScope/+ type: git+ location: git@github.com:haskell/ThreadScope.git Executable threadscope Main-is: Main.hs@@ -92,4 +92,4 @@ ghc-options: -fno-warn-unused-matches if !os(windows)- build-depends: unix >= 2.3 && < 2.7+ build-depends: unix >= 2.3 && < 2.8