Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for walltime (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/cc/saved_model/loader.cc

                                      meta_graph.saver_def().filename_tensor_name(),
                                      asset_file_defs, session->get()));
      }
      // Record walltime spent in restoring graph from disk, but postpone metric
      // increments until graph init finishes.
      const uint64 restore_graph_walltime =
          GetLatencyMicroseconds(read_start_microseconds);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  10. src/runtime/sys_linux_loong64.s

    TEXT runtime·mincore(SB),NOSPLIT|NOFRAME,$0-28
    	MOVV	addr+0(FP), R4
    	MOVV	n+8(FP), R5
    	MOVV	dst+16(FP), R6
    	MOVV	$SYS_mincore, R11
    	SYSCALL
    	MOVW	R4, ret+24(FP)
    	RET
    
    // func walltime() (sec int64, nsec int32)
    TEXT runtime·walltime(SB),NOSPLIT,$24-12
    	MOVV	R3, R23	// R23 is unchanged by C code
    	MOVV	R3, R25
    
    	MOVV	g_m(g), R24	// R24 = m
    
    	// Set vdsoPC and vdsoSP for SIGPROF traceback.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 20:58:13 UTC 2023
    - 14.2K bytes
    - Viewed (0)
Back to top