Lines Matching full:prof
2485 var prof struct {
2496 if prof.hz == 0 {
2613 if prof.hz != 0 {
2615 for !cas(&prof.lock, 0, 1) {
2618 if prof.hz != 0 {
2621 atomicstore(&prof.lock, 0)
2662 // Stop profiler on this thread so that it is safe to lock prof.
2663 // if a profiling signal came in while we had prof locked,
2667 for !cas(&prof.lock, 0, 1) {
2670 prof.hz = hz
2671 atomicstore(&prof.lock, 0)