Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SyscallBlockTime (0.28 sec)

  1. src/internal/trace/summary.go

    	r.SchedWaitTime -= v.SchedWaitTime
    	for reason := range s.BlockTimeByReason {
    		r.BlockTimeByReason[reason] -= v.BlockTimeByReason[reason]
    	}
    	r.SyscallTime -= v.SyscallTime
    	r.SyscallBlockTime -= v.SyscallBlockTime
    	r.TotalTime -= v.TotalTime
    	for name := range s.RangeTime {
    		r.RangeTime[name] -= v.RangeTime[name]
    	}
    	return r
    }
    
    func (s GoroutineExecStats) clone() (r GoroutineExecStats) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. src/internal/trace/summary_test.go

    	}
    	if stats.SchedWaitTime < 0 {
    		t.Error("found negative SchedWaitTime")
    	}
    	if stats.SyscallTime < 0 {
    		t.Error("found negative SyscallTime")
    	}
    	if stats.SyscallBlockTime < 0 {
    		t.Error("found negative SyscallBlockTime")
    	}
    	if stats.TotalTime < 0 {
    		t.Error("found negative TotalTime")
    	}
    	for reason, dt := range stats.BlockTimeByReason {
    		if dt < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top