Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for LoadUint64 (0.08 sec)

  1. cmd/metrics-v2.go

    	mg := &MetricsGroupV2{
    		cacheInterval:    10 * time.Second,
    		metricsGroupOpts: opts,
    	}
    	mg.RegisterRead(func(_ context.Context) (metrics []MetricV2) {
    		lastSyncTime := atomic.LoadUint64(&globalIAMSys.LastRefreshTimeUnixNano)
    		var sinceLastSyncMillis uint64
    		if lastSyncTime != 0 {
    			sinceLastSyncMillis = (uint64(time.Now().UnixNano()) - lastSyncTime) / uint64(time.Millisecond)
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    	objectAPI, _ := validateAdminReq(ctx, w, r, policy.BandwidthMonitorAction)
    	if objectAPI == nil {
    		return
    	}
    
    	enc := json.NewEncoder(w)
    	if err := enc.Encode(madmin.ClientPerfExtraTime{TimeSpent: atomic.LoadInt64(&globalLastClientPerfExtraTime)}); err != nil {
    		return
    	}
    }
    
    // ClientDevNull - everything goes to io.Discard
    // [POST] /minio/admin/v3/speedtest/client/devnull
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top