- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for UserTime (0.12 sec)
-
src/os/exec.go
// Sending [Interrupt] on Windows is not implemented. func (p *Process) Signal(sig Signal) error { return p.signal(sig) } // UserTime returns the user CPU time of the exited process and its children. func (p *ProcessState) UserTime() time.Duration { return p.userTime() } // SystemTime returns the system CPU time of the exited process and its children. func (p *ProcessState) SystemTime() time.Duration {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
src/runtime/mstats.go
GCTotalTime int64 ScavengeAssistTime int64 // background scavenger ScavengeBgTime int64 // scavenge assists ScavengeTotalTime int64 IdleTime int64 // Time Ps spent in _Pidle. UserTime int64 // Time Ps spent in _Prunning or _Psyscall that's not any of the above. TotalTime int64 // GOMAXPROCS * (monotonic wall clock time elapsed) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 34.2K bytes - Viewed (0) -
src/runtime/metrics.go
}, "/cpu/classes/user:cpu-seconds": { deps: makeStatDepSet(cpuStatsDep), compute: func(in *statAggregate, out *metricValue) { out.kind = metricKindFloat64 out.scalar = float64bits(nsToSec(in.cpuStats.UserTime)) }, }, "/gc/cycles/automatic:gc-cycles": { deps: makeStatDepSet(sysStatsDep), compute: func(in *statAggregate, out *metricValue) { out.kind = metricKindUint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 08 21:03:13 UTC 2024 - 26K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
err = cmd.Run() if a != nil && a.json != nil { aj := a.json aj.Cmd = append(aj.Cmd, joinUnambiguously(cmdline)) aj.CmdReal += time.Since(start) if ps := cmd.ProcessState; ps != nil { aj.CmdUser += ps.UserTime() aj.CmdSys += ps.SystemTime() } } // err can be something like 'exit status 1'. // Add information about what program was running. // Note that if buf.Bytes() is non-empty, the caller usually
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 14:34:32 UTC 2024 - 19.8K bytes - Viewed (0) -
src/runtime/metrics_test.go
t.Errorf("manually computed total does not match ScavengeTotalTime: %d cpu-ns vs. %d cpu-ns", scavTotal, stats.ScavengeTotalTime) } 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") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:52:17 UTC 2024 - 45K bytes - Viewed (0)