Package com.oracle.truffle.sl.builtins
Class SLNanoTimeBuiltin
java.lang.Object
com.oracle.truffle.api.nodes.Node
com.oracle.truffle.sl.builtins.SLBuiltinNode
com.oracle.truffle.sl.builtins.SLNanoTimeBuiltin
- All Implemented Interfaces:
com.oracle.truffle.api.nodes.NodeInterface,Cloneable
Builtin function that returns the value of a high-resolution time, in nanoseconds.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.oracle.truffle.api.nodes.Node
com.oracle.truffle.api.nodes.Node.Child, com.oracle.truffle.api.nodes.Node.Children -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.oracle.truffle.sl.builtins.SLBuiltinNode
executeMethods inherited from class com.oracle.truffle.api.nodes.Node
accept, adoptChildren, atomic, atomic, copy, deepCopy, getChildren, getCost, getDebugProperties, getDescription, getEncapsulatingSourceSection, getLock, getParent, getRootNode, getSourceSection, insert, insert, isAdoptable, isSafelyReplaceableBy, notifyInserted, onReplace, replace, replace, reportPolymorphicSpecialize, reportReplace, toString
-
Constructor Details
-
SLNanoTimeBuiltin
public SLNanoTimeBuiltin()
-
-
Method Details
-
nanoTime
public long nanoTime()
-