criterion-1.1.0.0: Robust, reliable performance measurement and analysis

Copyright(c) 2009-2014 Bryan O'Sullivan
LicenseBSD-style
Maintainerbos@serpentine.com
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Criterion.IO.Printf

Description

Input and output actions.

Synopsis

Documentation

class CritHPrintfType a Source

An internal class that acts like Printf/HPrintf.

The implementation is visible to the rest of the program, but the details of the class are not.

Minimal complete definition

chPrintfImpl

Instances

CritHPrintfType (IO a) Source 

Methods

chPrintfImpl :: (Config -> Bool) -> PrintfCont -> IO a

CritHPrintfType (Criterion a) Source 

Methods

chPrintfImpl :: (Config -> Bool) -> PrintfCont -> Criterion a

(CritHPrintfType r, PrintfArg a) => CritHPrintfType (a -> r) Source 

Methods

chPrintfImpl :: (Config -> Bool) -> PrintfCont -> a -> r

note :: CritHPrintfType r => String -> r Source

Print a "normal" note.

printError :: CritHPrintfType r => String -> r Source

Print an error message.

prolix :: CritHPrintfType r => String -> r Source

Print verbose output.

writeCsv :: ToRecord a => a -> Criterion () Source

Write a record to a CSV file.