Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AccTime (0.04 sec)

  1. cmd/last-minute.go

    		return time.Duration(a.Total / a.N)
    	}
    	return 0
    }
    
    // asTimedAction returns the element as a madmin.TimedAction.
    func (a AccElem) asTimedAction() madmin.TimedAction {
    	return madmin.TimedAction{AccTime: uint64(a.Total), Count: uint64(a.N), Bytes: uint64(a.Size)}
    }
    
    // lastMinuteLatency keeps track of last minute latency.
    type lastMinuteLatency struct {
    	Totals  [60]AccElem
    	LastSec int64
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. cmd/data-scanner-metric.go

    		for i := lifecycle.NoneAction + 1; i < lifecycle.ActionCount; i++ {
    			lm := p.lastMinuteActions(i)
    			if lm.N > 0 {
    				m.LastMinute.ILM[i.String()] = madmin.TimedAction{Count: uint64(lm.N), AccTime: uint64(lm.Total)}
    			}
    		}
    		if len(m.LastMinute.ILM) == 0 {
    			m.LastMinute.ILM = nil
    		}
    	}
    	return m
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 25 05:15:31 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top