Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for walltime (0.38 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. src/runtime/sys_linux_ppc64x.s

    	MOVD	addr+0(FP), R3
    	MOVD	n+8(FP), R4
    	MOVD	dst+16(FP), R5
    	SYSCALL	$SYS_mincore
    	NEG	R3		// caller expects negative errno
    	MOVW	R3, ret+24(FP)
    	RET
    
    // func walltime() (sec int64, nsec int32)
    TEXT runtime·walltime(SB),NOSPLIT,$16-12
    	MOVD	R1, R15		// R15 is unchanged by C code
    	MOVD	g_m(g), R21	// R21 = m
    
    	MOVD	$0, R3		// CLOCK_REALTIME
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:17:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/ChainingHttpHandler.java

        private void waitForRequestsToFinish() {
            long completionTimeout = clock.getCurrentTime() + timeoutMs;
            for (RequestOutcome outcome : outcomes) {
                long waitTime = completionTimeout - clock.getCurrentTime();
                outcome.awaitCompletion(waitTime);
            }
        }
    
        @Override
        public void handle(HttpExchange httpExchange) {
            try {
                int id = counter.incrementAndGet();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. src/runtime/time.go

    	ts.lock()
    	ts.cleanHead()
    	t.lock()
    	t.trace("maybeAdd")
    	when := int64(0)
    	wake := false
    	if t.needsAdd() {
    		t.state |= timerHeaped
    		when = t.when
    		wakeTime := ts.wakeTime()
    		wake = wakeTime == 0 || when < wakeTime
    		ts.addHeap(t)
    	}
    	t.unlock()
    	ts.unlock()
    	releasem(mp)
    	if wake {
    		wakeNetPoller(when)
    	}
    }
    
    // reset resets the time when a timer should fire.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 14:36:24 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. src/runtime/sema.go

    // at which it was woken up as now. Otherwise now is 0.
    // If there are additional entries in the wait list, dequeue
    // returns tailtime set to the last entry's acquiretime.
    // Otherwise tailtime is found.acquiretime.
    func (root *semaRoot) dequeue(addr *uint32) (found *sudog, now, tailtime int64) {
    	ps := &root.treap
    	s := *ps
    	for ; s != nil; s = *ps {
    		if s.elem == unsafe.Pointer(addr) {
    			goto Found
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. src/database/sql/convert_test.go

    		}
    		if bp, boolTest := ct.d.(*bool); boolTest && *bp != ct.wantbool && ct.wanterr == "" {
    			errf("want bool %v, got %v", ct.wantbool, *bp)
    		}
    		if !ct.wanttime.IsZero() && !ct.wanttime.Equal(timeValue(ct.d)) {
    			errf("want time %v, got %v", ct.wanttime, timeValue(ct.d))
    		}
    		if ct.wantnil && *ct.d.(**int64) != nil {
    			errf("want nil, got %v", intPtrValue(ct.d))
    		}
    		if ct.wantptr != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 20:23:22 UTC 2024
    - 17K bytes
    - Viewed (0)
Back to top