- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for walltime1 (0.13 sec)
-
src/runtime/sys_darwin.go
} func nanotime_trampoline() // walltime should be an internal detail, // but widely used packages access it using linkname. // Notable members of the hall of shame include: // - gitee.com/quant1x/gox // // Do not remove or change the type signature. // See go.dev/issue/67401. // //go:linkname walltime //go:nosplit //go:cgo_unsafe_args func walltime() (int64, int32) { var t timespec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 23.9K bytes - Viewed (0) -
src/runtime/sys_linux_mips64x.s
MOVV addr+0(FP), R4 MOVV n+8(FP), R5 MOVV dst+16(FP), R6 MOVV $SYS_mincore, R2 SYSCALL SUBVU R2, R0, R2 // caller expects negative errno MOVW R2, ret+24(FP) RET // func walltime() (sec int64, nsec int32) TEXT runtime·walltime(SB),NOSPLIT,$16-12 MOVV R29, R16 // R16 is unchanged by C code MOVV R29, R1 MOVV g_m(g), R17 // R17 = m // Set vdsoPC and vdsoSP for SIGPROF traceback.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 18 20:57:24 UTC 2022 - 12K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/compile.go
return "" case "seed": checkEnabled = true checkRandSeed = val debugPoset = checkEnabled return "" } } alltime := false allmem := false alldump := false if phase == "all" { switch flag { case "time": alltime = val != 0 case "mem": allmem = val != 0 case "dump": alldump = val != 0 if alldump { BuildDump[valString] = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 22 14:55:18 UTC 2024 - 18.6K bytes - Viewed (0) -
misc/wasm/wasm_exec.js
// func nanotime1() int64 "runtime.nanotime1": (sp) => { sp >>>= 0; setInt64(sp + 8, (timeOrigin + performance.now()) * 1000000); }, // func walltime() (sec int64, nsec int32) "runtime.walltime": (sp) => { sp >>>= 0; const msec = (new Date).getTime(); setInt64(sp + 8, msec / 1000); this.mem.setInt32(sp + 16, (msec % 1000) * 1000000, true); },
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 17:47:47 UTC 2023 - 16.3K bytes - Viewed (0) -
src/runtime/sys_netbsd_amd64.s
TEXT runtime·setitimer(SB),NOSPLIT,$-8 MOVL mode+0(FP), DI // arg 1 - which MOVQ new+8(FP), SI // arg 2 - itv MOVQ old+16(FP), DX // arg 3 - oitv MOVL $SYS___setitimer50, AX SYSCALL RET // func walltime() (sec int64, nsec int32) TEXT runtime·walltime(SB), NOSPLIT, $32 MOVQ $CLOCK_REALTIME, DI // arg 1 - clock_id LEAQ 8(SP), SI // arg 2 - tp MOVL $SYS___clock_gettime50, AX SYSCALL MOVQ 8(SP), AX // sec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.8K bytes - Viewed (0) -
src/runtime/sys_netbsd_arm.s
RET TEXT runtime·setitimer(SB),NOSPLIT|NOFRAME,$0 MOVW mode+0(FP), R0 // arg 1 - which MOVW new+4(FP), R1 // arg 2 - itv MOVW old+8(FP), R2 // arg 3 - oitv SWI $SYS___setitimer50 RET // func walltime() (sec int64, nsec int32) TEXT runtime·walltime(SB), NOSPLIT, $32 MOVW $0, R0 // CLOCK_REALTIME MOVW $8(R13), R1 SWI $SYS___clock_gettime50 MOVW 8(R13), R0 // sec.low MOVW 12(R13), R1 // sec.high
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 10.6K bytes - Viewed (0) -
src/runtime/os3_solaris.go
} func usleep1(usec uint32) //go:nosplit func usleep_no_g(µs uint32) { usleep1(µs) } //go:nosplit func usleep(µs uint32) { usleep1(µs) } func walltime() (sec int64, nsec int32) { var ts mts sysvicall2(&libc_clock_gettime, _CLOCK_REALTIME, uintptr(unsafe.Pointer(&ts))) 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 - 17.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go
func callsync() (r1 uintptr, e1 Errno) { r1 = uintptr(C.sync()) e1 = syscall.GetErrno() return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func calltimes(tms uintptr) (r1 uintptr, e1 Errno) { r1 = uintptr(C.times(C.uintptr_t(tms))) e1 = syscall.GetErrno() return } // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 30.9K bytes - Viewed (0) -
src/runtime/sys_linux_riscv64.s
TEXT runtime·mincore(SB),NOSPLIT|NOFRAME,$0-28 MOV addr+0(FP), A0 MOV n+8(FP), A1 MOV dst+16(FP), A2 MOV $SYS_mincore, A7 ECALL MOVW A0, ret+24(FP) RET // func walltime() (sec int64, nsec int32) TEXT runtime·walltime(SB),NOSPLIT,$40-12 MOV $CLOCK_REALTIME, A0 MOV runtime·vdsoClockgettimeSym(SB), A7 BEQZ A7, fallback MOV X2, S2 // S2,S3,S4 is unchanged by C code
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 09 13:57:06 UTC 2023 - 11.5K bytes - Viewed (0) -
src/runtime/sys_linux_s390x.s
RET TEXT runtime·mincore(SB),NOSPLIT|NOFRAME,$0-28 MOVD addr+0(FP), R2 MOVD n+8(FP), R3 MOVD dst+16(FP), R4 MOVW $SYS_mincore, R1 SYSCALL MOVW R2, ret+24(FP) RET // func walltime() (sec int64, nsec int32) TEXT runtime·walltime(SB),NOSPLIT,$32-12 MOVW $0, R2 // CLOCK_REALTIME MOVD R15, R7 // Backup stack pointer MOVD g_m(g), R6 //m
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 24 18:53:44 UTC 2023 - 12.5K bytes - Viewed (0)