- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for newProfBuf (0.11 sec)
-
src/runtime/cpuprof.go
if cpuprof.on || cpuprof.log != nil { print("runtime: cannot set cpu profile rate until previous profile has finished.\n") unlock(&cpuprof.lock) return } cpuprof.on = true cpuprof.log = newProfBuf(1, profBufWordCount, profBufTagCount) hdr := [1]uint64{uint64(hz)} cpuprof.log.write(nil, nanotime(), hdr[:], nil) setcpuprofilerate(int32(hz)) } else if cpuprof.on { setcpuprofilerate(0) cpuprof.on = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 8.5K bytes - Viewed (0)