final case class JitCost extends AnyVal with Product with Serializable
Represents cost estimation computed by JITC interpreter. The JITC costs use 10x more accurate scale comparing to block cost values.
- See also
toBlockCost
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- JitCost
- Serializable
- Serializable
- Product
- Equals
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
*(n: Int): JitCost
Multiplies this cost to the given integer.
-
def
+(y: JitCost): JitCost
Adds two cost values.
-
def
/(n: Int): JitCost
Divides this cost by the given integer.
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
>(y: JitCost): Boolean
Return true if this value > y.value in the normal Int ordering.
-
def
>=(y: JitCost): Boolean
Return true if this value >= y.value in the normal Int ordering.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
toBlockCost: Int
Scales JitCost back to block cost value.
Scales JitCost back to block cost value. This is inverse to JitCost.fromBlockCost.