- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for cpuLogDone (0.16 sec)
-
src/runtime/tracecpu.go
trace.cpuLogWrite[1].Store(nil) trace.cpuLogRead[0].close() trace.cpuLogRead[1].close() trace.cpuSleep.wake() // Wait until the logger goroutine exits. <-trace.cpuLogDone // Clear state for the next trace. trace.cpuLogDone = nil trace.cpuLogRead[0] = nil trace.cpuLogRead[1] = nil trace.cpuSleep.close() } // traceReadCPU attempts to read from the provided profBuf[gen%2] and write
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:03:35 UTC 2024 - 8.7K bytes - Viewed (0) -
src/runtime/trace.go
cpuLogWrite [2]atomic.Pointer[profBuf] // copy of cpuLogRead for use in signal handlers, set without signalLock cpuSleep *wakeableSleep cpuLogDone <-chan struct{} cpuBuf [2]*traceBuf reader atomic.Pointer[g] // goroutine that called ReadTrace, or nil // Fast mappings from enumerations to string IDs that are prepopulated // in the trace.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0)