- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for traceFrequency (0.23 sec)
-
src/runtime/tracetime.go
// (trace clock units / nanoseconds) * (1e9 nanoseconds / 1 second) return uint64(1.0 / float64(traceTimeDiv) * 1e9) } // traceFrequency writes a batch with a single EvFrequency event. // // freq is the number of trace clock units per second. func traceFrequency(gen uintptr) { w := unsafeTraceWriter(gen, nil) // Ensure we have a place to write to.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 3.3K bytes - Viewed (0) -
src/runtime/trace.go
} // Write an EvFrequency event for this generation. // // N.B. This may block for quite a while to get a good frequency estimate, so make sure we do // this here and not e.g. on the trace reader. traceFrequency(gen) // Collect all the untraced Gs. type untracedG struct { gp *g goid uint64 mid int64 stackID uint64 status uint32 waitreason waitReason
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 21:17:41 UTC 2024 - 37.1K bytes - Viewed (0)