github.com/moontrade/wavm-go@v0.3.2-0.20220316110326-d229dd66ad65/worker/time.go (about)

     1  package worker
     2  
     3  import _ "unsafe"
     4  
     5  // runtimeNano returns the current value of the runtime clock in nanoseconds.
     6  //go:linkname runtimeNano runtime.nanotime
     7  func runtimeNano() int64