- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for systemTime (0.14 sec)
-
src/syscall/types_windows.go
ExeFile [MAX_PATH]uint16 } type Systemtime struct { Year uint16 Month uint16 DayOfWeek uint16 Day uint16 Hour uint16 Minute uint16 Second uint16 Milliseconds uint16 } type Timezoneinformation struct { Bias int32 StandardName [32]uint16 StandardDate Systemtime StandardBias int32 DaylightName [32]uint16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 06:04:31 UTC 2024 - 27.8K bytes - Viewed (0) -
src/os/exec_plan9.go
func (p *ProcessState) sysUsage() any { return p.status } func (p *ProcessState) userTime() time.Duration { return time.Duration(p.status.Time[0]) * time.Millisecond } func (p *ProcessState) systemTime() time.Duration { return time.Duration(p.status.Time[1]) * time.Millisecond } func (p *ProcessState) String() string { if p == nil { return "<nil>" } return "exit status: " + p.status.Msg }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 3.4K bytes - Viewed (0) -
src/os/exec.go
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 { return p.systemTime() } // Exited reports whether the program has exited. // On Unix systems this reports true if the program exited due to calling exit,
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/os/exec_unix.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 4.1K bytes - Viewed (0) -
src/os/exec_windows.go
return time.Duration(n*100) * time.Nanosecond } func (p *ProcessState) userTime() time.Duration { return ftToDuration(&p.rusage.UserTime) } func (p *ProcessState) systemTime() time.Duration { return ftToDuration(&p.rusage.KernelTime)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 5K bytes - Viewed (0) -
src/internal/syscall/windows/registry/registry_test.go
type DynamicTimezoneinformation struct { Bias int32 StandardName [32]uint16 StandardDate syscall.Systemtime StandardBias int32 DaylightName [32]uint16 DaylightDate syscall.Systemtime DaylightBias int32 TimeZoneKeyName [128]uint16 DynamicDaylightTimeDisabled uint8 } var (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 19:19:00 UTC 2024 - 18.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/types_windows.go
type Systemtime struct { Year uint16 Month uint16 DayOfWeek uint16 Day uint16 Hour uint16 Minute uint16 Second uint16 Milliseconds uint16 } type Timezoneinformation struct { Bias int32 StandardName [32]uint16 StandardDate Systemtime StandardBias int32 DaylightName [32]uint16
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 104.1K bytes - Viewed (0) -
src/runtime/pprof/pprof_test.go
} 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 } testCPUProfile(t, acceptProfile, func(dur time.Duration) { userTime, systemTime = diffCPUTime(t, func() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 68.8K bytes - Viewed (0) -
src/cmd/go/internal/work/shell.go
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/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Sysinfo_t.X_f", Field, 0}, {"Systemtime", Type, 0}, {"Systemtime.Day", Field, 0}, {"Systemtime.DayOfWeek", Field, 0}, {"Systemtime.Hour", Field, 0}, {"Systemtime.Milliseconds", Field, 0}, {"Systemtime.Minute", Field, 0}, {"Systemtime.Month", Field, 0}, {"Systemtime.Second", Field, 0}, {"Systemtime.Year", Field, 0}, {"TCGETS", Const, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)