Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setitimer (0.17 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    	}
    }
    
    // A value which may be passed to the which parameter for Getitimer and
    // Setitimer.
    type ItimerWhich int
    
    // Possible which values for Getitimer and Setitimer.
    const (
    	ItimerReal    ItimerWhich = ITIMER_REAL
    	ItimerVirtual ItimerWhich = ITIMER_VIRTUAL
    	ItimerProf    ItimerWhich = ITIMER_PROF
    )
    
    // Getitimer wraps getitimer(2) to return the current value of the timer
    // specified by which.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_linux.go

    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func getitimer(which int, currValue *Itimerval) (err error) {
    	_, _, e1 := Syscall(SYS_GETITIMER, uintptr(which), uintptr(unsafe.Pointer(currValue)), 0)
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    func setitimer(which int, newValue *Itimerval, oldValue *Itimerval) (err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 54.6K bytes
    - Viewed (0)
  3. pkg/kubelet/pod_workers_test.go

    func (w *timeIncrementingWorkers) UpdatePod(options UpdatePodOptions, afterFns ...func()) {
    	func() {
    		w.lock.Lock()
    		defer w.lock.Unlock()
    		w.w.UpdatePod(options)
    		w.w.clock.(*clocktesting.FakePassiveClock).SetTime(w.w.clock.Now().Add(time.Second))
    		for _, fn := range afterFns {
    			fn()
    		}
    	}()
    	w.drainUnpausedWorkers()
    }
    
    // SyncKnownPods increments the clock after SyncKnownPods is called, but before the workers
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
Back to top