CurryInfo: call-analysis-3.2.0 / Analysis.printTiming

definition: Info
 
printTiming :: [(ProcessInfo,Int)] -> [(ProcessInfo,Int)] -> IO ()
printTiming startPInfos stopPInfos = do
  putStrLn $ "Run time:            "
             ++ (showInfoDiff startPInfos stopPInfos RunTime) ++ " msec."
  putStrLn $ "Elapsed time:        "
             ++ (showInfoDiff startPInfos stopPInfos ElapsedTime) ++ " msec."
  putStrLn $ "Garbage collections: "
             ++ (showInfoDiff startPInfos stopPInfos GarbageCollections)
 where
  showInfoDiff infos1 infos2 item =
    maybe "n/a"
          (\i1 -> show (maybe 0 id (lookup item infos2) - i1))
          (lookup item infos1)
demand: Info
 no demanded arguments
deterministic: Info
 deterministic operation
documentation: Info
 
show timing w.r.t. some process infos at the start and stop point
of a computation:
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_) |-> _}
name: Info
 printTiming
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 [(Debug.Profile.ProcessInfo, Prelude.Int)]
-> [(Debug.Profile.ProcessInfo, Prelude.Int)] -> Prelude.IO ()
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term