Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lifetimes (0.21 sec)

  1. cmd/data-scanner-metric.go

    	}
    	m.CollectedAt = time.Now()
    	m.ActivePaths = p.getCurrentPaths()
    	m.LifeTimeOps = make(map[string]uint64, scannerMetricLast)
    	for i := scannerMetric(0); i < scannerMetricLast; i++ {
    		if n := atomic.LoadUint64(&p.operations[i]); n > 0 {
    			m.LifeTimeOps[i.String()] = n
    		}
    	}
    	if len(m.LifeTimeOps) == 0 {
    		m.LifeTimeOps = nil
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 25 05:15:31 GMT 2023
    - 9.1K bytes
    - Viewed (0)
Back to top