Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 2,021 for Rusage (0.36 sec)

  1. src/syscall/syscall_solaris.go

    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    func wait4(pid uintptr, wstatus *WaitStatus, options uintptr, rusage *Rusage) (wpid uintptr, err uintptr)
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	r0, e1 := wait4(uintptr(pid), wstatus, uintptr(options), rusage)
    	if e1 != 0 {
    		err = Errno(e1)
    	}
    	return int(r0), err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/syscall/syscall_js.go

    	return 0, ENOSYS
    }
    func StartProcess(argv0 string, argv []string, attr *ProcAttr) (pid int, handle uintptr, err error) {
    	return 0, 0, ENOSYS
    }
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	return 0, ENOSYS
    }
    
    type Iovec struct{} // dummy
    
    type Timespec struct {
    	Sec  int64
    	Nsec int64
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_aix.go

    //sys  wait4(pid _Pid_t, status *_C_int, options int, rusage *Rusage) (wpid _Pid_t, err error)
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	var status _C_int
    	var r _Pid_t
    	err = ERESTART
    	// AIX wait4 may return with ERESTART errno, while the process is still
    	// active.
    	for err == ERESTART {
    		r, err = wait4(_Pid_t(pid), &status, options, rusage)
    	}
    	wpid = int(r)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/syscall_bsd.go

    }
    
    func (w WaitStatus) TrapCause() int { return -1 }
    
    //sys	wait4(pid int, wstatus *_C_int, options int, rusage *Rusage) (wpid int, err error)
    
    func Wait4(pid int, wstatus *WaitStatus, options int, rusage *Rusage) (wpid int, err error) {
    	var status _C_int
    	wpid, err = wait4(pid, &status, options, rusage)
    	if wstatus != nil {
    		*wstatus = WaitStatus(status)
    	}
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 15K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_ppc64.go

    	SYS_UNLINK         = 10  // { int sys_unlink(const char *path); }
    	SYS_WAIT4          = 11  // { pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
    	SYS_CHDIR          = 12  // { int sys_chdir(const char *path); }
    	SYS_FCHDIR         = 13  // { int sys_fchdir(int fd); }
    	SYS_MKNOD          = 14  // { int sys_mknod(const char *path, mode_t mode, dev_t dev); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go

    	SYS_UNLINK         = 10  // { int sys_unlink(const char *path); }
    	SYS_WAIT4          = 11  // { pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
    	SYS_CHDIR          = 12  // { int sys_chdir(const char *path); }
    	SYS_FCHDIR         = 13  // { int sys_fchdir(int fd); }
    	SYS_MKNOD          = 14  // { int sys_mknod(const char *path, mode_t mode, dev_t dev); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_mips64.go

    	SYS_UNLINK         = 10  // { int sys_unlink(const char *path); }
    	SYS_WAIT4          = 11  // { pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
    	SYS_CHDIR          = 12  // { int sys_chdir(const char *path); }
    	SYS_FCHDIR         = 13  // { int sys_fchdir(int fd); }
    	SYS_MKNOD          = 14  // { int sys_mknod(const char *path, mode_t mode, dev_t dev); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 18K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go

    	SYS_UNLINK         = 10  // { int sys_unlink(const char *path); }
    	SYS_WAIT4          = 11  // { pid_t sys_wait4(pid_t pid, int *status, int options, struct rusage *rusage); }
    	SYS_CHDIR          = 12  // { int sys_chdir(const char *path); }
    	SYS_FCHDIR         = 13  // { int sys_fchdir(int fd); }
    	SYS_MKNOD          = 14  // { int sys_mknod(const char *path, mode_t mode, dev_t dev); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 17.9K bytes
    - Viewed (0)
  9. src/syscall/syscall_openbsd.go

    //sysnb	Getpid() (pid int)
    //sysnb	Getppid() (ppid int)
    //sys	Getpriority(which int, who int) (prio int, err error)
    //sysnb	Getrlimit(which int, lim *Rlimit) (err error)
    //sysnb	Getrusage(who int, rusage *Rusage) (err error)
    //sysnb	Getsid(pid int) (sid int, err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Getuid() (uid int)
    //sys	Issetugid() (tainted bool)
    //sys	Kill(pid int, signum Signal) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 10:34:00 UTC 2023
    - 7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go

    //sysnb getrusage(who int, rusage *rusage_zos) (err error) = SYS_GETRUSAGE
    
    func Getrusage(who int, rusage *Rusage) (err error) {
    	var ruz rusage_zos
    	err = getrusage(who, &ruz)
    	//Only the first two fields of Rusage are set
    	rusage.Utime.Sec = ruz.Utime.Sec
    	rusage.Utime.Usec = int64(ruz.Utime.Usec)
    	rusage.Stime.Sec = ruz.Stime.Sec
    	rusage.Stime.Usec = int64(ruz.Stime.Usec)
    	return
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top