- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for cputicks (0.43 sec)
-
src/runtime/mprof.go
} if rate > 0 && int64(cheaprand())%rate == 0 { lt.tickStart = cputicks() } } func (lt *lockTimer) end() { gp := getg() if lt.timeStart != 0 { nowTime := nanotime() gp.m.mLockProfile.waitTime.Add((nowTime - lt.timeStart) * lt.timeRate) } if lt.tickStart != 0 { nowTick := cputicks() gp.m.mLockProfile.recordLock(nowTick-lt.tickStart, lt.lock) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
src/runtime/asm_loong64.s
BREAK RET TEXT runtime·asminit(SB),NOSPLIT|NOFRAME,$0-0 RET TEXT runtime·mstart(SB),NOSPLIT|TOPFRAME,$0 JAL runtime·mstart0(SB) RET // not reached // func cputicks() int64 TEXT runtime·cputicks(SB),NOSPLIT,$0-8 RDTIMED R0, R4 MOVV R4, ret+0(FP) RET /* * go-routine */ // void gogo(Gobuf*) // restore state from Gobuf; longjmp
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 15:04:25 UTC 2024 - 26.5K bytes - Viewed (0) -
src/runtime/asm_386.s
get_tls(CX) MOVL g(CX), AX CMPL (g_stack+stack_hi)(AX), SP JHI 2(PC) CALL runtime·abort(SB) CMPL SP, (g_stack+stack_lo)(AX) JHI 2(PC) CALL runtime·abort(SB) RET // func cputicks() int64 TEXT runtime·cputicks(SB),NOSPLIT,$0-8 // LFENCE/MFENCE instruction support is dependent on SSE2. // When no SSE2 support is present do not enforce any serialization
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 15 15:45:13 UTC 2024 - 43.1K bytes - Viewed (0) -
src/runtime/asm_amd64.s
get_tls(CX) MOVQ g(CX), AX CMPQ (g_stack+stack_hi)(AX), SP JHI 2(PC) CALL runtime·abort(SB) CMPQ SP, (g_stack+stack_lo)(AX) JHI 2(PC) CALL runtime·abort(SB) RET // func cputicks() int64 TEXT runtime·cputicks(SB),NOSPLIT,$0-0 CMPB internal∕cpu·X86+const_offsetX86HasRDTSCP(SB), $1 JNE fences // Instruction stream serializing RDTSCP is supported.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 11 20:38:24 UTC 2024 - 60.4K bytes - Viewed (0) -
src/index/suffixarray/suffixarray_test.go
for i := 0; i < b.N; i++ { New(data) } } func makeText(name string) ([]byte, error) { var data []byte switch name { case "opticks": var err error data, err = os.ReadFile("../../testdata/Isaac.Newton-Opticks.txt") if err != nil { return nil, err } case "go": err := filepath.WalkDir("../..", func(path string, info fs.DirEntry, err error) error {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 14.1K bytes - Viewed (0) -
cmd/metrics-realtime.go
if types.Contains(madmin.MetricsCPU) { m.Aggregated.CPU = &madmin.CPUMetrics{ CollectedAt: UTCNow(), } cm, err := c.Times(false) if err != nil { m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuTimes)", byHostName, err.Error())) } else { // not collecting per-cpu stats, so there will be only one element if len(cm) == 1 { m.Aggregated.CPU.TimesStat = &cm[0] } else {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat Jun 01 05:16:24 UTC 2024 - 6.3K bytes - Viewed (0) -
src/net/sendfile_test.go
"crypto/sha256" "encoding/hex" "errors" "fmt" "internal/poll" "io" "os" "runtime" "strconv" "sync" "testing" "time" ) const ( newton = "../testdata/Isaac.Newton-Opticks.txt" newtonLen = 567198 newtonSHA256 = "d4a9ac22462b35e7821a4f2706c211093da678620a8f9997989ee7cf8d507bbd" ) // expectSendfile runs f, and verifies that internal/poll.SendFile successfully handles
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 12.1K bytes - Viewed (0)