| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
PlutusCore.Evaluation.Machine.ExMemory
Synopsis
- type CostingInteger = SatInt
- newtype ExMemory = ExMemory CostingInteger
- newtype ExCPU = ExCPU CostingInteger
- dividedBy :: SatInt -> Natural -> SatInt
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
| FromJSON ExCPU Source # | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| ToJSON ExCPU Source # | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory Methods toEncoding :: ExCPU -> Encoding toJSONList :: [ExCPU] -> Value toEncodingList :: [ExCPU] -> Encoding | |||||
| Monoid ExCPU Source # | |||||
| Semigroup ExCPU Source # | |||||
| Bounded ExCPU Source # | |||||
| Generic ExCPU Source # | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory Associated Types
| |||||
| Num ExCPU Source # | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Read ExCPU Source # | |||||
| Show ExCPU Source # | |||||
| ToField ExCPU | |||||
| NFData ExCPU Source # | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Eq ExCPU Source # | |||||
| Ord ExCPU Source # | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| NoThunks ExCPU Source # | |||||
| Pretty ExCPU Source # | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Serialise ExCPU Source # | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| PrettyBy config ExCPU Source # | |||||
Defined in PlutusCore.Evaluation.Machine.ExMemory | |||||
| Lift 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.60.0.0-LXFqBsoUlXsJIEqLytHte7" 'True) (C1 ('MetaCons "ExCPU" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 CostingInteger))) | |||||