- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 81 for nanotime (0.14 sec)
-
src/runtime/sys_netbsd_arm.s
MOVW 8(R13), R0 // sec.low MOVW 12(R13), R1 // sec.high MOVW 16(R13), R2 // nsec MOVW R0, sec_lo+0(FP) MOVW R1, sec_hi+4(FP) MOVW R2, nsec+8(FP) RET // int64 nanotime1(void) so really // void nanotime1(int64 *nsec) TEXT runtime·nanotime1(SB), NOSPLIT, $32 MOVW $3, R0 // CLOCK_MONOTONIC MOVW $8(R13), R1 SWI $SYS___clock_gettime50 MOVW 8(R13), R0 // sec.low
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 10.6K bytes - Viewed (0) -
misc/wasm/wasm_exec.js
// func resetMemoryDataView() "runtime.resetMemoryDataView": (sp) => { sp >>>= 0; this.mem = new DataView(this._inst.exports.mem.buffer); }, // func nanotime1() int64 "runtime.nanotime1": (sp) => { sp >>>= 0; setInt64(sp + 8, (timeOrigin + performance.now()) * 1000000); }, // func walltime() (sec int64, nsec int32) "runtime.walltime": (sp) => {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 22 17:47:47 UTC 2023 - 16.3K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/process/internal/DefaultExecHandleSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 23 03:44:52 UTC 2021 - 14.9K bytes - Viewed (0) -
src/internal/trace/gc.go
for i := range bands { startTime, endTime := s.bandTime(i) cumUtil := leftSum.advance(startTime) predIdx := leftSum.pos minUtil := 1.0 for i := predIdx; i < len(util) && util[i].Time < endTime; i++ { minUtil = math.Min(minUtil, util[i].Util) } bands[i] = mmuBand{minUtil, cumUtil, leftSum} } return s } func (s *mmuSeries) bandTime(i int) (start, end int64) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 26K bytes - Viewed (0) -
src/runtime/os_plan9.go
//go:nosplit func usleep(µs uint32) { ms := int32(µs / 1000) if ms == 0 { ms = 1 } sleep(ms) } //go:nosplit func usleep_no_g(usec uint32) { usleep(usec) } //go:nosplit func nanotime1() int64 { var scratch int64 ns := nsec(&scratch) // TODO(aram): remove hack after I fix _nsec in the pc64 kernel. if ns == 0 { return scratch } return ns }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 10.3K bytes - Viewed (0) -
src/runtime/os3_solaris.go
//go:nosplit func munmap(addr unsafe.Pointer, n uintptr) { sysvicall2(&libc_munmap, uintptr(addr), uintptr(n)) } const ( _CLOCK_REALTIME = 3 _CLOCK_MONOTONIC = 4 ) //go:nosplit func nanotime1() int64 { var ts mts sysvicall2(&libc_clock_gettime, _CLOCK_MONOTONIC, uintptr(unsafe.Pointer(&ts))) return ts.tv_sec*1e9 + ts.tv_nsec } //go:nosplit func open(path *byte, mode, perm int32) int32 {
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/runtime/sys_linux_riscv64.s
RET fallback: MOV $8(X2), A1 MOV $SYS_clock_gettime, A7 ECALL MOV 8(X2), T0 // sec MOV 16(X2), T1 // nsec MOV T0, sec+0(FP) MOVW T1, nsec+8(FP) RET // func nanotime1() int64 TEXT runtime·nanotime1(SB),NOSPLIT,$40-8 MOV $CLOCK_MONOTONIC, A0 MOV runtime·vdsoClockgettimeSym(SB), A7 BEQZ A7, fallback MOV X2, S2 // S2 = RSP, S2 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) -
tests/integration/pilot/istioctl_test.go
"istio.io/istio/pkg/test/util/retry" "istio.io/istio/pkg/util/protomarshal" ) var ( // The full describe output is much larger, but testing for it requires a change anytime the test // app changes which is tedious. Instead, just check a minimum subset; unit test cover the // details. describeSvcAOutput = regexp.MustCompile(`(?s)Service: a\..* Port: http 80/HTTP targets pod port 18080 .*
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 15K bytes - Viewed (0) -
src/runtime/sys_linux_loong64.s
MOVV 8(R3), R25 MOVV R25, m_vdsoPC(R24) MOVV R7, sec+0(FP) MOVW R5, nsec+8(FP) RET fallback: MOVV $SYS_clock_gettime, R11 SYSCALL JMP finish // func nanotime1() int64 TEXT runtime·nanotime1(SB),NOSPLIT,$16-8 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) -
pkg/kube/krt/README.md
} return &res }) // Results in a Collection[[]SimplePod] ``` While this *works*, it is inefficient and complex to write. Consumers of SimplePod can only query the entire list at once. Anytime *any* `Pod` changes, *all* `SimplePod`s must be recomputed. A better approach would be to lift `Pod` into a primary dependency: ```go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Dec 18 17:21:50 UTC 2023 - 11.8K bytes - Viewed (0)