Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 56 for clockgettime (0.14 sec)

  1. src/runtime/os_aix.go

    )
    
    //go:nosplit
    func nanotime1() int64 {
    	tp := &timespec{}
    	if clock_gettime(_CLOCK_REALTIME, tp) != 0 {
    		throw("syscall clock_gettime failed")
    	}
    	return tp.tv_sec*1000000000 + tp.tv_nsec
    }
    
    func walltime() (sec int64, nsec int32) {
    	ts := &timespec{}
    	if clock_gettime(_CLOCK_REALTIME, ts) != 0 {
    		throw("syscall clock_gettime failed")
    	}
    	return ts.tv_sec, int32(ts.tv_nsec)
    }
    
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. src/runtime/sys_openbsd2.go

    		// Avoid growing the nosplit stack.
    		systemstack(func() {
    			println("runtime: errno", -errno)
    			throw("clock_gettime failed")
    		})
    	}
    	return ts.tv_sec*1e9 + int64(ts.tv_nsec)
    }
    func clock_gettime_trampoline()
    
    //go:nosplit
    func walltime() (int64, int32) {
    	var ts timespec
    	args := struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  3. src/syscall/zsysnum_freebsd_amd64.go

    	SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
    	SYS_CLOCK_GETTIME            = 232 // { int clock_gettime(clockid_t clock_id, \
    	SYS_CLOCK_SETTIME            = 233 // { int clock_settime( \
    	SYS_CLOCK_GETRES             = 234 // { int clock_getres(clockid_t clock_id, \
    	SYS_KTIMER_CREATE            = 235 // { int ktimer_create(clockid_t clock_id, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  4. src/syscall/zsysnum_freebsd_386.go

    	SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
    	SYS_CLOCK_GETTIME            = 232 // { int clock_gettime(clockid_t clock_id, \
    	SYS_CLOCK_SETTIME            = 233 // { int clock_settime( \
    	SYS_CLOCK_GETRES             = 234 // { int clock_getres(clockid_t clock_id, \
    	SYS_KTIMER_CREATE            = 235 // { int ktimer_create(clockid_t clock_id, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  5. src/syscall/zsysnum_freebsd_arm.go

    	SYS_POLL                     = 209 // { int poll(struct pollfd *fds, u_int nfds, \
    	SYS_CLOCK_GETTIME            = 232 // { int clock_gettime(clockid_t clock_id, \
    	SYS_CLOCK_SETTIME            = 233 // { int clock_settime( \
    	SYS_CLOCK_GETRES             = 234 // { int clock_getres(clockid_t clock_id, \
    	SYS_KTIMER_CREATE            = 235 // { int ktimer_create(clockid_t clock_id, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 01:17:28 UTC 2022
    - 25.5K bytes
    - Viewed (0)
  6. src/syscall/zsysnum_dragonfly_amd64.go

    	SYS_SHMGET                 = 231 // { int shmget(key_t key, size_t size, int shmflg); }
    	SYS_CLOCK_GETTIME          = 232 // { int clock_gettime(clockid_t clock_id, \
    	SYS_CLOCK_SETTIME          = 233 // { int clock_settime(clockid_t clock_id, \
    	SYS_CLOCK_GETRES           = 234 // { int clock_getres(clockid_t clock_id, \
    	SYS_NANOSLEEP              = 240 // { int nanosleep(const struct timespec *rqtp, \
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 22.9K bytes
    - Viewed (0)
  7. src/syscall/zsysnum_netbsd_amd64.go

    	SYS_GETITIMER            = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
    	SYS_CLOCK_GETTIME        = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
    	SYS_CLOCK_SETTIME        = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
    	SYS_CLOCK_GETRES         = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 25.7K bytes
    - Viewed (0)
  8. src/syscall/zsysnum_netbsd_arm.go

    	SYS_GETITIMER            = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
    	SYS_CLOCK_GETTIME        = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
    	SYS_CLOCK_SETTIME        = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
    	SYS_CLOCK_GETRES         = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 25.7K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go

    	SYS_GETITIMER            = 426 // { int|sys|50|getitimer(int which, struct itimerval *itv); }
    	SYS_CLOCK_GETTIME        = 427 // { int|sys|50|clock_gettime(clockid_t clock_id, struct timespec *tp); }
    	SYS_CLOCK_SETTIME        = 428 // { int|sys|50|clock_settime(clockid_t clock_id, const struct timespec *tp); }
    	SYS_CLOCK_GETRES         = 429 // { int|sys|50|clock_getres(clockid_t clock_id, struct timespec *tp); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 25.7K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go

    	SYS_SHMGET                 = 231 // { int shmget(key_t key, size_t size, int shmflg); }
    	SYS_CLOCK_GETTIME          = 232 // { int clock_gettime(clockid_t clock_id, struct timespec *tp); }
    	SYS_CLOCK_SETTIME          = 233 // { int clock_settime(clockid_t clock_id, const struct timespec *tp); }
    	SYS_CLOCK_GETRES           = 234 // { int clock_getres(clockid_t clock_id, struct timespec *tp); }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 27.6K bytes
    - Viewed (0)
Back to top