Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for TotalTime (1.4 sec)

  1. src/cmd/trace/goroutines.go

    				NonOverlappingStats: nonOverlappingStats,
    				HasRangeTime:        totalRangeTime != 0,
    			})
    			name = summary.Name
    			execTime += summary.ExecTime
    			if maxTotalTime < summary.TotalTime {
    				maxTotalTime = summary.TotalTime
    			}
    		}
    
    		// Compute the percent of total execution time these goroutines represent.
    		execTimePercent := ""
    		if totalExecTime > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/internal/trace/summary.go

    	SchedWaitTime     time.Duration
    	BlockTimeByReason map[string]time.Duration
    	SyscallTime       time.Duration
    	SyscallBlockTime  time.Duration
    
    	// TotalTime is the duration of the goroutine's presence in the trace.
    	// Necessarily overlaps with other stats.
    	TotalTime time.Duration
    
    	// Total time the goroutine spent in certain ranges; may overlap
    	// with other stats.
    	RangeTime map[string]time.Duration
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. src/cmd/trace/regions.go

    					UserRegionSummary:   r,
    					Goroutine:           g.ID,
    					NonOverlappingStats: nonOverlappingStats,
    					HasRangeTime:        totalRangeTime != 0,
    				})
    				if maxTotal < r.TotalTime {
    					maxTotal = r.TotalTime
    				}
    			}
    		}
    
    		// Sort.
    		sortBy := r.FormValue("sortby")
    		if _, ok := validNonOverlappingStats[sortBy]; ok {
    			slices.SortFunc(regions, func(a, b region) int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  4. src/internal/trace/summary_test.go

    	}
    	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 {
    			t.Errorf("found negative BlockTimeByReason for %s", reason)
    		}
    	}
    	for name, dt := range stats.RangeTime {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. src/runtime/metrics_test.go

    	}
    	total := gcTotal + scavTotal + stats.IdleTime + stats.UserTime
    	if total != stats.TotalTime {
    		t.Errorf("manually computed overall total does not match TotalTime: %d cpu-ns vs. %d cpu-ns", total, stats.TotalTime)
    	}
    	if total == 0 {
    		t.Error("total time is zero")
    	}
    	if gcTotal == 0 {
    		t.Error("GC total time is zero")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  6. src/runtime/pprof/pprof_test.go

    				var value time.Duration
    				for _, sample := range p.Sample {
    					value += time.Duration(sample.Value[1]) * time.Nanosecond
    				}
    
    				totalTime := userTime + systemTime
    				t.Logf("compare %s user + %s system = %s vs %s", userTime, systemTime, totalTime, value)
    				if err := compare(totalTime, value, maxDiff); err != nil {
    					t.Logf("compare got %v want nil", err)
    					ok = false
    				}
    
    				return ok
    			}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  7. src/runtime/mgc.go

    	// Compute overall GC CPU utilization.
    	// Omit idle marking time from the overall utilization here since it's "free".
    	memstats.gc_cpu_fraction = float64(work.cpuStats.GCTotalTime-work.cpuStats.GCIdleTime) / float64(work.cpuStats.TotalTime)
    
    	// Reset assist time and background time stats.
    	//
    	// Do this now, instead of at the start of the next GC cycle, because
    	// these two may keep accumulating even if the GC is not active.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  8. src/runtime/runtime2.go

    	safePointFn   func(*p)
    	safePointWait int32
    	safePointNote note
    
    	profilehz int32 // cpu profiling rate
    
    	procresizetime int64 // nanotime() of last change to gomaxprocs
    	totaltime      int64 // ∫gomaxprocs dt up to procresizetime
    
    	// sysmonlock protects sysmon's actions on the runtime.
    	//
    	// Acquire and hold this mutex to block sysmon from interacting
    	// with the rest of the runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  9. src/runtime/proc.go

    		}
    	}
    
    	// Capture start-the-world time before doing clean-up tasks.
    	if now == 0 {
    		now = nanotime()
    	}
    	totalTime := now - w.startedStopping
    	if w.reason.isGC() {
    		sched.stwTotalTimeGC.record(totalTime)
    	} else {
    		sched.stwTotalTimeOther.record(totalTime)
    	}
    	trace := traceAcquire()
    	if trace.ok() {
    		trace.STWDone()
    		traceRelease(trace)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top