Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ticksPerSecond (0.15 sec)

  1. src/runtime/runtime.go

    }
    
    // init initializes ticks to maximize the chance that we have a good ticksPerSecond reference.
    //
    // Must not run concurrently with ticksPerSecond.
    func (t *ticksType) init() {
    	lock(&ticks.lock)
    	t.startTime = nanotime()
    	t.startTicks = cputicks()
    	unlock(&ticks.lock)
    }
    
    // minTimeForTicksPerSecond is the minimum elapsed time we require to consider our ticksPerSecond
    // measurement to be of decent enough quality for profiling.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top