Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SetMutexProfileFraction (0.16 sec)

  1. cmd/utils.go

    			return buf.Bytes(), err
    		}
    	case madmin.ProfilerMutex:
    		prof.record("mutex", 0, "before")
    		runtime.SetMutexProfileFraction(1)
    		prof.stopFn = func() ([]byte, error) {
    			var buf bytes.Buffer
    			err := pprof.Lookup("mutex").WriteTo(&buf, 0)
    			runtime.SetMutexProfileFraction(0)
    			return buf.Bytes(), err
    		}
    	case madmin.ProfilerThreads:
    		prof.record("threadcreate", 0, "before")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top