Lines Matching defs:timers
114 type timers struct { struct
117 mu mutex
121 heap []timerWhen
124 len atomic.Uint32
128 zombies atomic.Int32
131 raceCtx uintptr
137 minWhenHeap atomic.Int64
142 minWhenModified atomic.Int64
150 func (ts *timers) lock() {
154 func (ts *timers) unlock() {
215 func (ts *timers) trace(op string) {
392 func (ts *timers) addHeap(t *timer) {
487 func (ts *timers) deleteMin() {
670 func (ts *timers) cleanHead() {
730 func (ts *timers) take(src *timers) {
761 func (ts *timers) adjust(now int64, force bool) {
885 func (ts *timers) wakeTime() int64 {
909 func (ts *timers) check(now int64) (rnow, pollUntil int64, ran bool) {
974 func (ts *timers) run(now int64) int64 {
1144 func (ts *timers) verify() {
1167 func (ts *timers) updateMinWhenHeap() {
1178 func (ts *timers) updateMinWhenModified(when int64) {
1226 func (ts *timers) siftUp(i int) {
1251 func (ts *timers) siftDown(i int) {
1291 func (ts *timers) initHeap() {