Package com.yahoo.vespa.model.ml
Record Class OnnxModelProbe.MemoryStats
java.lang.Object
java.lang.Record
com.yahoo.vespa.model.ml.OnnxModelProbe.MemoryStats
- Enclosing class:
- OnnxModelProbe
-
Constructor Summary
ConstructorDescriptionMemoryStats
(long vmSize, long vmRss) Creates an instance of aMemoryStats
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.long
vmRss()
Returns the value of thevmRss
record component.long
vmSize()
Returns the value of thevmSize
record component.
-
Constructor Details
-
MemoryStats
public MemoryStats(long vmSize, long vmRss) Creates an instance of aMemoryStats
record class.- Parameters:
vmSize
- the value for thevmSize
record componentvmRss
- the value for thevmRss
record component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
vmSize
public long vmSize()Returns the value of thevmSize
record component.- Returns:
- the value of the
vmSize
record component
-
vmRss
public long vmRss()Returns the value of thevmRss
record component.- Returns:
- the value of the
vmRss
record component
-