Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 83 of 83 for nanotime (0.3 sec)

  1. src/runtime/os_aix.go

    }
    
    //go:nosplit
    func validSIGPROF(mp *m, c *sigctxt) bool {
    	return true
    }
    
    const (
    	_CLOCK_REALTIME  = 9
    	_CLOCK_MONOTONIC = 10
    )
    
    //go:nosplit
    func nanotime1() int64 {
    	tp := &timespec{}
    	if clock_gettime(_CLOCK_REALTIME, tp) != 0 {
    		throw("syscall clock_gettime failed")
    	}
    	return tp.tv_sec*1000000000 + tp.tv_nsec
    }
    
    func walltime() (sec int64, nsec int32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. pkg/kube/portforwarder.go

    	// Close this forwarder and release an resources.
    	Close()
    
    	// ErrChan returns a channel that returns an error when one is encountered. While Start() may return an initial error,
    	// the port-forward connection may be lost at anytime. The ErrChan can be read to determine if/when the port-forwarding terminates.
    	// This can return nil if the port forwarding stops gracefully.
    	ErrChan() <-chan error
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 14 02:12:37 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  3. src/runtime/sys_openbsd2.go

    		ret, errno   int32
    	}{fd, cmd, arg, 0, 0}
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(fcntl_trampoline)), unsafe.Pointer(&args))
    	return args.ret, args.errno
    }
    func fcntl_trampoline()
    
    //go:nosplit
    func nanotime1() int64 {
    	var ts timespec
    	args := struct {
    		clock_id int32
    		tp       unsafe.Pointer
    	}{_CLOCK_MONOTONIC, unsafe.Pointer(&ts)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top