Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NumGoroutine (0.14 sec)

  1. cmd/metrics-v3-system-process.go

    	}
    }
    
    // loadProcessMetrics - `MetricsLoaderFn` for process metrics
    func loadProcessMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	m.Set(processGoRoutineTotal, float64(runtime.NumGoroutine()))
    
    	if !globalBootTime.IsZero() {
    		m.Set(processUptimeSeconds, time.Since(globalBootTime).Seconds())
    	}
    
    	if runtime.GOOS != globalWindowsOSName && runtime.GOOS != globalMacOSName {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. cmd/utils.go

    		// unable to maintain its sampling rate and to significantly
    		// degrade the performance of your application
    		// https://github.com/felixge/fgprof#fgprof
    		if n := runtime.NumGoroutine(); n > 10000 && !globalIsCICD {
    			return nil, fmt.Errorf("unable to perform CPU IO profile with %d goroutines", n)
    		}
    		dirPath, err := os.MkdirTemp("", "profile")
    		if err != nil {
    			return nil, err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    	}
    	mg.RegisterRead(func(ctx context.Context) (metrics []MetricV2) {
    		metrics = append(metrics, MetricV2{
    			Description: getMinIOGORoutineCountMD(),
    			Value:       float64(runtime.NumGoroutine()),
    		})
    		return
    	})
    	return mg
    }
    
    // getHistogramMetrics fetches histogram metrics and returns it in a []Metric
    // Note: Typically used in MetricGroup.RegisterRead
    //
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  4. api/go1.txt

    pkg runtime, func Gosched()
    pkg runtime, func LockOSThread()
    pkg runtime, func MemProfile([]MemProfileRecord, bool) (int, bool)
    pkg runtime, func NumCPU() int
    pkg runtime, func NumCgoCall() int64
    pkg runtime, func NumGoroutine() int
    pkg runtime, func ReadMemStats(*MemStats)
    pkg runtime, func SetCPUProfileRate(int)
    pkg runtime, func SetFinalizer(interface{}, interface{})
    pkg runtime, func Stack([]uint8, bool) int
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Aug 14 18:58:28 UTC 2013
    - 1.7M bytes
    - Viewed (0)
Back to top