Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for incInternodeOutputBytes (0.16 seconds)

  1. cmd/http-stats.go

    // Increase internode total input bytes
    func (s *connStats) incInternodeInputBytes(n int64) {
    	atomic.AddUint64(&s.internodeInputBytes, uint64(n))
    }
    
    // Increase internode total output bytes
    func (s *connStats) incInternodeOutputBytes(n int64) {
    	atomic.AddUint64(&s.internodeOutputBytes, uint64(n))
    }
    
    // Return internode total input bytes
    func (s *connStats) getInternodeInputBytes() uint64 {
    	return atomic.LoadUint64(&s.internodeInputBytes)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Sep 24 17:13:00 GMT 2024
    - 11.4K bytes
    - Click Count (0)
  2. cmd/handler-utils.go

    		if !ok || tc == nil {
    			return
    		}
    
    		globalConnStats.incInternodeInputBytes(int64(tc.RequestRecorder.Size()))
    		globalConnStats.incInternodeOutputBytes(int64(tc.ResponseRecorder.Size()))
    	}
    }
    
    func collectAPIStats(api string, f http.HandlerFunc) http.HandlerFunc {
    	return func(w http.ResponseWriter, r *http.Request) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
Back to Top