Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
Instances
Counts CPU units in picoseconds: maximum value for SatInt is 2^63 ps, or appproximately 106 days.
Instances
Eq ExCPU Source # | |
Num ExCPU Source # | |
Defined in PlutusCore.Evaluation.Machine.ExMemory |
|
Ord ExCPU Source # | |
Defined in PlutusCore.Evaluation.Machine.ExMemory |
|
Show ExCPU Source # | |
Generic ExCPU Source # | |
Semigroup ExCPU Source # | |
Monoid ExCPU Source # | |
ToJSON ExCPU Source # | |
FromJSON ExCPU Source # | |
NFData ExCPU Source # | |
Defined in PlutusCore.Evaluation.Machine.ExMemory |
|
ToField ExCPU Source # | |
NoThunks ExCPU Source # | |
Pretty ExCPU Source # | |
Lift ExCPU Source # | |
PrettyBy config ExCPU Source # | |
type Rep ExCPU Source # | |
Defined in PlutusCore.Evaluation.Machine.ExMemory
type
Rep
ExCPU
=
D1
('
MetaData
"ExCPU" "PlutusCore.Evaluation.Machine.ExMemory" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" '
True
) (
C1
('
MetaCons
"ExCPU" '
PrefixI
'
False
) (
S1
('
MetaSel
('
Nothing
::
Maybe
Symbol
) '
NoSourceUnpackedness
'
NoSourceStrictness
'
DecidedLazy
) (
Rec0
CostingInteger
)))
|
class ExMemoryUsage a where Source #
:: a | |
-> ExMemory |
How much memory does
|