code: func newRuntimeSample() *runtimeSample {
  	r := &runtimeSample{MemStats: &runtime.MemStats{}}
  	runtime.ReadMemStats(r.MemStats)
  	r.NumGoroutine = runtime.NumGoroutine()
  	return r
  }
docs: // newRuntimeSample samples the current runtime and returns a RuntimeSample.