Parcourir la source

Register debug.ReadGCStats, too.

Richard Crowley il y a 12 ans
Parent
commit
4e964b6581
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      debug.go

+ 1 - 0
debug.go

@@ -63,4 +63,5 @@ func RegisterDebugGCStats(r Registry) {
 	r.Register("debug.GCStats.Pause", debugMetrics.GCStats.Pause)
 	//r.Register("debug.GCStats.PauseQuantiles", debugMetrics.GCStats.PauseQuantiles)
 	r.Register("debug.GCStats.PauseTotal", debugMetrics.GCStats.PauseTotal)
+	r.Register("debug.ReadGCStats", debugMetrics.ReadGCStats)
 }