Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mProf_Flush (0.12 sec)

  1. src/runtime/mprof.go

    // during STW. The caller must call mProf_Flush before calling
    // mProf_NextCycle again.
    //
    // This is called by mark termination during STW so allocations and
    // frees after the world is started again count towards a new heap
    // profiling cycle.
    func mProf_NextCycle() {
    	mProfCycle.increment()
    }
    
    // mProf_Flush flushes the events from the current heap profiling
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    		startTheWorldWithSema(now, stw)
    	})
    
    	// Flush the heap profile so we can start a new cycle next GC.
    	// This is relatively expensive, so we don't do it with the
    	// world stopped.
    	mProf_Flush()
    
    	// Prepare workbufs for freeing by the sweeper. We do this
    	// asynchronously because it can take non-trivial time.
    	prepareFreeWorkbufs()
    
    	// Free stack spans. This must be done between GC cycles.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
Back to top