Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for prepareAllMetricsSamples (0.2 sec)

  1. src/runtime/metrics_test.go

    	"runtime"
    	"runtime/debug"
    	"runtime/metrics"
    	"runtime/pprof"
    	"runtime/trace"
    	"slices"
    	"sort"
    	"strings"
    	"sync"
    	"sync/atomic"
    	"testing"
    	"time"
    	"unsafe"
    )
    
    func prepareAllMetricsSamples() (map[string]metrics.Description, []metrics.Sample) {
    	all := metrics.All()
    	samples := make([]metrics.Sample, len(all))
    	descs := make(map[string]metrics.Description)
    	for i := range all {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top