Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for systemTime (0.15 sec)

  1. src/cmd/go/init_test.go

    	// We collect extra metrics.
    	var n, userTime, systemTime int64
    
    	b.ResetTimer()
    	b.RunParallel(func(pb *testing.PB) {
    		for pb.Next() {
    			cmd := testenv.Command(b, gotool, "env", "GOARCH")
    
    			if err := cmd.Run(); err != nil {
    				b.Fatal(err)
    			}
    			atomic.AddInt64(&n, 1)
    			atomic.AddInt64(&userTime, int64(cmd.ProcessState.UserTime()))
    			atomic.AddInt64(&systemTime, int64(cmd.ProcessState.SystemTime()))
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:21:26 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. src/time/zoneinfo_windows.go

    	},
    	StandardDate: syscall.Systemtime{Month: 11, Day: 1, Hour: 2},
    	DaylightName: [32]uint16{
    		'P', 'a', 'c', 'i', 'f', 'i', 'c', ' ', 'D', 'a', 'y', 'l', 'i', 'g', 'h', 't', ' ', 'T', 'i', 'm', 'e',
    	},
    	DaylightDate: syscall.Systemtime{Month: 3, Day: 2, Hour: 2},
    	DaylightBias: -60,
    }
    
    var aus = syscall.Timezoneinformation{
    	Bias: -10 * 60,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 07:20:34 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

        private byte[] serverGuid = new byte[16];
        private int capabilities;
        private int commonCapabilities;
        private int maxTransactSize;
        private int maxReadSize;
        private int maxWriteSize;
        private long systemTime;
        private long serverStartTime;
        private NegotiateContextResponse[] negotiateContexts;
        private byte[] securityBuffer;
        private DialectVersion selectedDialect;
    
        private boolean supportsEncryption;
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/os/exec_unix.go

    	// Use the handle.
    	return newHandleProcess(pid, h), nil
    }
    
    func (p *ProcessState) userTime() time.Duration {
    	return time.Duration(p.rusage.Utime.Nano()) * time.Nanosecond
    }
    
    func (p *ProcessState) systemTime() time.Duration {
    	return time.Duration(p.rusage.Stime.Nano()) * time.Nanosecond
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top