plutus-core-1.0.0.1: Language library for Plutus Core
Safe Haskell None
Language Haskell2010

PlutusCore.Evaluation.Machine.ExMemory

Synopsis

Documentation

newtype ExMemory Source #

Counts size in machine words.

Instances

Instances details
Eq ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Num ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Ord ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Show ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Generic ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Semigroup ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Monoid ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ToJSON ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

FromJSON ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

NFData ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ToField ExMemory Source #
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.EmitterMode

NoThunks ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Pretty ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Lift ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

PrettyBy config ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

type Rep ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

type Rep ExMemory = D1 (' MetaData "ExMemory" "PlutusCore.Evaluation.Machine.ExMemory" "plutus-core-1.0.0.1-76bWF9ZEWyb4eDyjHx0kCS" ' True ) ( C1 (' MetaCons "ExMemory" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 CostingInteger )))

newtype ExCPU Source #

Counts CPU units in picoseconds: maximum value for SatInt is 2^63 ps, or appproximately 106 days.

Instances

Instances details
Eq ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Num ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Ord ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Show ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Generic ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Semigroup ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Monoid ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ToJSON ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

FromJSON ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

NFData ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ToField ExCPU Source #
Instance details

Defined in UntypedPlutusCore.Evaluation.Machine.Cek.EmitterMode

NoThunks ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Pretty ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

Lift ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

PrettyBy config ExCPU Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

type Rep ExCPU Source #
Instance details

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 #

Methods

memoryUsage Source #

Arguments

:: a
-> ExMemory

How much memory does a use?

Instances

Instances details
ExMemoryUsage Bool Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage Char Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage Int Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage Integer Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage () Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage ByteString Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage Text Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage SatInt Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage Data Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage Unique Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage ExMemory Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage DefaultFun Source #
Instance details

Defined in PlutusCore.Default.Builtins

ExMemoryUsage a => ExMemoryUsage [a] Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

ExMemoryUsage ( SomeTypeIn uni) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

( ExMemoryUsage a, ExMemoryUsage b) => ExMemoryUsage (a, b) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory

( Closed uni, Everywhere uni ExMemoryUsage ) => ExMemoryUsage ( Some ( ValueOf uni)) Source #
Instance details

Defined in PlutusCore.Evaluation.Machine.ExMemory