- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for SYS_clock_gettime (0.5 sec)
-
src/runtime/time_linux_amd64.s
MOVQ 0(SP), SI MOVQ SI, m_vdsoPC(BX) // set result registers; AX is already correct MOVQ DI, BX ADDQ DX, CX RET fallback: MOVQ $SYS_clock_gettime, AX SYSCALL MOVL $1, DI // CLOCK_MONOTONIC LEAQ 0(SP), SI MOVQ $SYS_clock_gettime, AX SYSCALL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 06 10:24:44 UTC 2021 - 2K bytes - Viewed (0) -
pkg/kubelet/util/boottime_util_freebsd.go
// GetBootTime returns the time at which the machine was started, truncated to the nearest second func GetBootTime() (time.Time, error) { currentTime := time.Now() ts := &unix.Timeval{} _, _, e1 := unix.Syscall(uintptr(unix.SYS_CLOCK_GETTIME), uintptr(unix.CLOCK_UPTIME), uintptr(unsafe.Pointer(ts)), 0) if e1 != 0 { return time.Time{}, fmt.Errorf("error getting system uptime") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 1.1K bytes - Viewed (0) -
src/runtime/sys_freebsd_386.s
#define SYS_kill 37 #define SYS_sigaltstack 53 #define SYS_munmap 73 #define SYS_madvise 75 #define SYS_setitimer 83 #define SYS_fcntl 92 #define SYS_sysarch 165 #define SYS___sysctl 202 #define SYS_clock_gettime 232 #define SYS_nanosleep 240 #define SYS_issetugid 253 #define SYS_sched_yield 331 #define SYS_sigprocmask 340 #define SYS_kqueue 362 #define SYS_sigaction 416 #define SYS_sigreturn 417
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.4K bytes - Viewed (0) -
src/runtime/sys_freebsd_arm64.s
MOVW $CLOCK_REALTIME, R0 MOVD $8(RSP), R1 MOVD $SYS_clock_gettime, R8 SVC MOVD 8(RSP), R0 // sec MOVW 16(RSP), R1 // nsec MOVD R0, sec+0(FP) MOVW R1, nsec+8(FP) RET // func fallback_nanotime() int64 TEXT runtime·fallback_nanotime(SB),NOSPLIT,$24-8 MOVD $CLOCK_MONOTONIC, R0 MOVD $8(RSP), R1 MOVD $SYS_clock_gettime, R8 SVC MOVD 8(RSP), R0 // sec MOVW 16(RSP), R2 // nsec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.5K bytes - Viewed (0) -
src/runtime/sys_freebsd_riscv64.s
MOV $CLOCK_REALTIME, A0 MOV $8(X2), A1 MOV $SYS_clock_gettime, T0 ECALL MOV 8(X2), T0 // sec MOVW 16(X2), T1 // nsec MOV T0, sec+0(FP) MOVW T1, nsec+8(FP) RET // func fallback_nanotime() int64 TEXT runtime·fallback_nanotime(SB),NOSPLIT,$24-8 MOV $CLOCK_MONOTONIC, A0 MOV $8(X2), A1 MOV $SYS_clock_gettime, T0 ECALL MOV 8(X2), T0 // sec MOV 16(X2), T1 // nsec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 8.9K bytes - Viewed (0) -
src/runtime/sys_linux_mipsx.s
#define SYS_gettid 4222 #define SYS_futex 4238 #define SYS_sched_getaffinity 4240 #define SYS_exit_group 4246 #define SYS_timer_create 4257 #define SYS_timer_settime 4258 #define SYS_timer_delete 4261 #define SYS_clock_gettime 4263 #define SYS_tgkill 4266 #define SYS_pipe2 4328 TEXT runtime·exit(SB),NOSPLIT,$0-4 MOVW code+0(FP), R4 MOVW $SYS_exit_group, R2 SYSCALL UNDEF RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 20:57:24 UTC 2022 - 9.7K bytes - Viewed (0) -
src/syscall/zsysnum_linux_riscv64.go
SYS_TIMER_CREATE = 107 SYS_TIMER_GETTIME = 108 SYS_TIMER_GETOVERRUN = 109 SYS_TIMER_SETTIME = 110 SYS_TIMER_DELETE = 111 SYS_CLOCK_SETTIME = 112 SYS_CLOCK_GETTIME = 113 SYS_CLOCK_GETRES = 114 SYS_CLOCK_NANOSLEEP = 115 SYS_SYSLOG = 116 SYS_PTRACE = 117 SYS_SCHED_SETPARAM = 118
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Nov 23 11:00:41 UTC 2019 - 8.9K bytes - Viewed (0) -
src/syscall/zsysnum_linux_arm64.go
SYS_TIMER_CREATE = 107 SYS_TIMER_GETTIME = 108 SYS_TIMER_GETOVERRUN = 109 SYS_TIMER_SETTIME = 110 SYS_TIMER_DELETE = 111 SYS_CLOCK_SETTIME = 112 SYS_CLOCK_GETTIME = 113 SYS_CLOCK_GETRES = 114 SYS_CLOCK_NANOSLEEP = 115 SYS_SYSLOG = 116 SYS_PTRACE = 117 SYS_SCHED_SETPARAM = 118
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 8.9K bytes - Viewed (0) -
src/runtime/sys_openbsd_mips64.s
SYSCALL RET // func walltime() (sec int64, nsec int32) TEXT runtime·walltime(SB), NOSPLIT, $32 MOVW CLOCK_REALTIME, R4 // arg 1 - clock_id MOVV $8(R29), R5 // arg 2 - tp MOVV $87, R2 // sys_clock_gettime SYSCALL MOVV 8(R29), R4 // sec MOVV 16(R29), R5 // nsec MOVV R4, sec+0(FP) MOVW R5, nsec+8(FP) RET // int64 nanotime1(void) so really // void nanotime1(int64 *nsec)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 8.8K bytes - Viewed (0)