github.com/NVIDIA/aistore@v1.3.23-0.20240517131212-7df6609be51d/cmn/mono/fast_nanotime.go (about)

     1  //go:build mono
     2  
     3  // Package mono provides low-level monotonic time
     4  /*
     5   * Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.
     6   */
     7  package mono
     8  
     9  import (
    10  	_ "unsafe" // for go:linkname
    11  )
    12  
    13  // https://golang.org/pkg/runtime/?m=all#nanotime
    14  //
    15  //go:linkname NanoTime runtime.nanotime
    16  func NanoTime() int64