Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for sys_clock_gettime (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/runtime/sys_freebsd_arm.s

    #define SYS_setitimer (SYS_BASE + 83)
    #define SYS_fcntl (SYS_BASE + 92)
    #define SYS___sysctl (SYS_BASE + 202)
    #define SYS_nanosleep (SYS_BASE + 240)
    #define SYS_issetugid (SYS_BASE + 253)
    #define SYS_clock_gettime (SYS_BASE + 232)
    #define SYS_sched_yield (SYS_BASE + 331)
    #define SYS_sigprocmask (SYS_BASE + 340)
    #define SYS_kqueue (SYS_BASE + 362)
    #define SYS_sigaction (SYS_BASE + 416)
    #define SYS_thr_exit (SYS_BASE + 431)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 10.4K bytes
    - Viewed (0)
  8. 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)
  9. src/syscall/zsysnum_linux_s390x.go

    	SYS_TIMER_CREATE           = 254
    	SYS_TIMER_SETTIME          = 255
    	SYS_TIMER_GETTIME          = 256
    	SYS_TIMER_GETOVERRUN       = 257
    	SYS_TIMER_DELETE           = 258
    	SYS_CLOCK_SETTIME          = 259
    	SYS_CLOCK_GETTIME          = 260
    	SYS_CLOCK_GETRES           = 261
    	SYS_CLOCK_NANOSLEEP        = 262
    	SYS_STATFS64               = 265
    	SYS_FSTATFS64              = 266
    	SYS_REMAP_FILE_PAGES       = 267
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 10.6K bytes
    - Viewed (0)
  10. 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)
Back to top