Safe Haskell | None |
---|---|
Language | Haskell2010 |
PlutusCore.Evaluation.Machine.ExMemory
Synopsis
- type CostingInteger = SatInt
- newtype ExMemory = ExMemory CostingInteger
- newtype ExCPU = ExCPU CostingInteger
- class ExMemoryUsage a where
- memoryUsage :: a -> ExMemory
Documentation
type CostingInteger = SatInt Source #
Counts size in machine words.
Constructors
ExMemory CostingInteger |
Instances
Counts CPU units in picoseconds: maximum value for SatInt is 2^63 ps, or appproximately 106 days.
Constructors
ExCPU CostingInteger |
Instances
class ExMemoryUsage a where Source #