metrics.mx raw

   1  package runtime
   2  
   3  // Implementation of functions needed by runtime/metrics.
   4  // Mostly just dummy implementations: we don't currently use any of these
   5  // metrics.
   6  
   7  //go:linkname godebug_registerMetric internal/godebug.registerMetric
   8  func godebug_registerMetric(name string, read func() uint64) {
   9  	// Dummy function for compatibility with Go 1.21.
  10  }
  11