Idris2Doc : Profile.Types

Profile.Types

(source)

Reexports

importpublic Data.DPair
importpublic Data.Nat
importpublic Data.Vect
importpublic System.Clock

Definitions

dataFormat : Type
Totality: total
Visibility: public export
Constructors:
Table : Format
Details : Format
recordPos : Type
  A strictly positive natural number.

Totality: total
Visibility: public export
Constructor: 
MkPos : (val : Nat) -> {auto0_ : IsSuccval} ->Pos

Projections:
0.prf : ({rec:0} : Pos) ->IsSucc (val{rec:0})
.val : Pos->Nat

Hints:
EqPos
OrdPos
.val : Pos->Nat
Totality: total
Visibility: public export
val : Pos->Nat
Totality: total
Visibility: public export
0.prf : ({rec:0} : Pos) ->IsSucc (val{rec:0})
Totality: total
Visibility: public export
0prf : ({rec:0} : Pos) ->IsSucc (val{rec:0})
Totality: total
Visibility: public export
fromInteger : (n : Integer) -> {auto0_ : IsSucc (castn)} ->Pos
Totality: total
Visibility: public export
recordBenchmarkable : Type->Type
  A benchmarkable computation, which can fail with error `err`.

Totality: total
Visibility: public export
Constructor: 
MkBenchmarkable : (Pos->IOenvironment) -> (Pos->environment->IO ()) -> (environment->Pos->IO (Eithererrresult)) ->Bool->Benchmarkableerr

Projections:
.allocEnv : ({rec:0} : Benchmarkableerr) ->Pos->IO (environment{rec:0})
  Allocates an environment for running the benchmark
the given number of times.
.cleanEnv : ({rec:0} : Benchmarkableerr) ->Pos->environment{rec:0}->IO ()
  Cleanup the environment after running the benchmark
the given number of times.
.cpuOnly : Benchmarkableerr->Bool
  True, if this is a pure computation and we are only interested
in the time spent on the CPU.
0.environment : Benchmarkableerr->Type
0.result : Benchmarkableerr->Type
.runRepeatedly : ({rec:0} : Benchmarkableerr) ->environment{rec:0}->Pos->IO (Eithererr (result{rec:0}))
  Run a benchmurk in the given environment for
the given number of times.
0.environment : Benchmarkableerr->Type
Totality: total
Visibility: public export
0environment : Benchmarkableerr->Type
Totality: total
Visibility: public export
0.result : Benchmarkableerr->Type
Totality: total
Visibility: public export
0result : Benchmarkableerr->Type
Totality: total
Visibility: public export
.allocEnv : ({rec:0} : Benchmarkableerr) ->Pos->IO (environment{rec:0})
  Allocates an environment for running the benchmark
the given number of times.

Totality: total
Visibility: public export
allocEnv : ({rec:0} : Benchmarkableerr) ->Pos->IO (environment{rec:0})
  Allocates an environment for running the benchmark
the given number of times.

Totality: total
Visibility: public export
.cleanEnv : ({rec:0} : Benchmarkableerr) ->Pos->environment{rec:0}->IO ()
  Cleanup the environment after running the benchmark
the given number of times.

Totality: total
Visibility: public export
cleanEnv : ({rec:0} : Benchmarkableerr) ->Pos->environment{rec:0}->IO ()
  Cleanup the environment after running the benchmark
the given number of times.

Totality: total
Visibility: public export
.runRepeatedly : ({rec:0} : Benchmarkableerr) ->environment{rec:0}->Pos->IO (Eithererr (result{rec:0}))
  Run a benchmurk in the given environment for
the given number of times.

Totality: total
Visibility: public export
runRepeatedly : ({rec:0} : Benchmarkableerr) ->environment{rec:0}->Pos->IO (Eithererr (result{rec:0}))
  Run a benchmurk in the given environment for
the given number of times.

Totality: total
Visibility: public export
.cpuOnly : Benchmarkableerr->Bool
  True, if this is a pure computation and we are only interested
in the time spent on the CPU.

Totality: total
Visibility: public export
cpuOnly : Benchmarkableerr->Bool
  True, if this is a pure computation and we are only interested
in the time spent on the CPU.

Totality: total
Visibility: public export
repeatedly : Pos->IO (Eithererr ()) ->IO (Eithererr ())
  Tail-recursively runs an IO action the given number
of times or until it returns `False`, signaling a
failure.

Totality: total
Visibility: export
singleIO : IO () ->BenchmarkableVoid
Totality: total
Visibility: export
repeatedlyPure : Pos-> (() ->Eithererra) ->Eithererra
Totality: total
Visibility: export
singlePure : (() ->Eithererra) ->Benchmarkableerr
Totality: total
Visibility: export
basic : (a->b) ->a->BenchmarkableVoid
Totality: total
Visibility: export
dataBenchmark : Type->Type
Totality: total
Visibility: public export
Constructors:
Single : String->Benchmarkableerr->Benchmarkerr
Group : String->List (Benchmarkerr) ->Benchmarkerr
addPrefix : String->String->String
Totality: total
Visibility: export
recordSUnit : Type
Totality: total
Visibility: public export
Constructor: 
U : Integer->Integer->SUnit

Projections:
.atto : SUnit->Integer
.run : SUnit->Integer

Hints:
Eq (Scalaru)
Ord (Scalaru)
.atto : SUnit->Integer
Totality: total
Visibility: public export
atto : SUnit->Integer
Totality: total
Visibility: public export
.run : SUnit->Integer
Totality: total
Visibility: public export
run : SUnit->Integer
Totality: total
Visibility: public export
times : SUnit->SUnit->SUnit
Totality: total
Visibility: public export
div : SUnit->SUnit->SUnit
Totality: total
Visibility: public export
Fixity Declaration: infixl operator, level 9
recordScalar : SUnit->Type
Totality: total
Visibility: public export
Constructor: 
MkScalar : Integer->Scalaru

Projection: 
.val : Scalaru->Integer

Hints:
Eq (Scalaru)
Ord (Scalaru)
.val : Scalaru->Integer
Totality: total
Visibility: public export
val : Scalaru->Integer
Totality: total
Visibility: public export
fromInteger : Integer->Scalaru
Totality: total
Visibility: public export
0AttoSeconds : Type
Totality: total
Visibility: public export
0AttoSecondsPerRun : Type
Totality: total
Visibility: public export
0Runs : Type
Totality: total
Visibility: public export
plus : Scalaru->Scalaru->Scalaru
Totality: total
Visibility: public export
minus : Scalaru->Scalaru->Scalaru
Totality: total
Visibility: public export
scalarSum : Foldablet=>t (Scalaru) ->Scalaru
Totality: total
Visibility: public export
mult : Scalaru1->Scalaru2->Scalar (timesu1u2)
Totality: total
Visibility: public export
div : Scalaru1->Scalaru2->Scalar (u1 `div` u2)
Totality: total
Visibility: public export
Fixity Declaration: infixl operator, level 9
posLength : Vect (Sn) a->Scalar (U00)
Totality: total
Visibility: public export
fromFemtoSeconds : Integer->AttoSeconds
Totality: total
Visibility: public export
fromPicoSeconds : Integer->AttoSeconds
Totality: total
Visibility: public export
fromNanoSeconds : Integer->AttoSeconds
Totality: total
Visibility: public export
fromMicroSeconds : Integer->AttoSeconds
Totality: total
Visibility: public export
fromMilliSeconds : Integer->AttoSeconds
Totality: total
Visibility: public export
fromSeconds : Integer->AttoSeconds
Totality: total
Visibility: public export
fromClock : ClockDuration->AttoSeconds
Totality: total
Visibility: public export
timeDelta : Clockt->Clockt->AttoSeconds
Totality: total
Visibility: export
toFloat : Scalaru->Double
Totality: total
Visibility: export
recordMeasured : Type
  A collection of measurements made while benchmarking

Totality: total
Visibility: public export
Constructor: 
MkMeasured : Runs->Bool->ClockMonotonic->ClockMonotonic->AttoSeconds->AttoSecondsPerRun->AttoSeconds->AttoSecondsPerRun->Measured

Projections:
.avrgCPU : Measured->AttoSecondsPerRun
  Average CPU time elapsed per iteration
.avrgTime : Measured->AttoSecondsPerRun
  Average wall clock time elapsed per iteration
.cpuOnly : Measured->Bool
  True, if we are interested only in the CPU time
.cpuTime : Measured->AttoSeconds
  Total CPU time elapsed
.iterations : Measured->Runs
  Number of iterations
.startTime : Measured->ClockMonotonic
  Wall clock time when starting the measurement
.stopTime : Measured->ClockMonotonic
  Wall clock time when stopping the measurement
.totalTime : Measured->AttoSeconds
  Total wall clock time elapsed in atto seconds
.iterations : Measured->Runs
  Number of iterations

Totality: total
Visibility: public export
iterations : Measured->Runs
  Number of iterations

Totality: total
Visibility: public export
.cpuOnly : Measured->Bool
  True, if we are interested only in the CPU time

Totality: total
Visibility: public export
cpuOnly : Measured->Bool
  True, if we are interested only in the CPU time

Totality: total
Visibility: public export
.startTime : Measured->ClockMonotonic
  Wall clock time when starting the measurement

Totality: total
Visibility: public export
startTime : Measured->ClockMonotonic
  Wall clock time when starting the measurement

Totality: total
Visibility: public export
.stopTime : Measured->ClockMonotonic
  Wall clock time when stopping the measurement

Totality: total
Visibility: public export
stopTime : Measured->ClockMonotonic
  Wall clock time when stopping the measurement

Totality: total
Visibility: public export
.totalTime : Measured->AttoSeconds
  Total wall clock time elapsed in atto seconds

Totality: total
Visibility: public export
totalTime : Measured->AttoSeconds
  Total wall clock time elapsed in atto seconds

Totality: total
Visibility: public export
.avrgTime : Measured->AttoSecondsPerRun
  Average wall clock time elapsed per iteration

Totality: total
Visibility: public export
avrgTime : Measured->AttoSecondsPerRun
  Average wall clock time elapsed per iteration

Totality: total
Visibility: public export
.cpuTime : Measured->AttoSeconds
  Total CPU time elapsed

Totality: total
Visibility: public export
cpuTime : Measured->AttoSeconds
  Total CPU time elapsed

Totality: total
Visibility: public export
.avrgCPU : Measured->AttoSecondsPerRun
  Average CPU time elapsed per iteration

Totality: total
Visibility: public export
avrgCPU : Measured->AttoSecondsPerRun
  Average CPU time elapsed per iteration

Totality: total
Visibility: public export
tot : Measured->AttoSeconds
Totality: total
Visibility: export
avrg : Measured->AttoSecondsPerRun
Totality: total
Visibility: export
recordResult : Type
Totality: total
Visibility: public export
Constructor: 
MkResult : String->ListMeasured->Result

Projections:
.name : Result->String
.runs : Result->ListMeasured
.name : Result->String
Totality: total
Visibility: public export
name : Result->String
Totality: total
Visibility: public export
.runs : Result->ListMeasured
Totality: total
Visibility: public export
runs : Result->ListMeasured
Totality: total
Visibility: public export