Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for x86_shift (0.1 sec)

  1. src/runtime/vdso_freebsd_x86.go

    	hpetDevPath = "/dev/hpetX\x00"
    )
    
    var hpetDevMap [_HPET_DEV_MAP_MAX]uintptr
    
    //go:nosplit
    func (th *vdsoTimehands) getTSCTimecounter() uint32 {
    	tsc := cputicks()
    	if th.x86_shift > 0 {
    		tsc >>= th.x86_shift
    	}
    	return uint32(tsc)
    }
    
    //go:nosplit
    func (th *vdsoTimehands) getHPETTimecounter() (uint32, bool) {
    	idx := int(th.x86_hpet_idx)
    	if idx >= len(hpetDevMap) {
    		return 0, false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/runtime/defs_freebsd_386.go

    }
    
    type vdsoTimehands struct {
    	algo         uint32
    	gen          uint32
    	scale        uint64
    	offset_count uint32
    	counter_mask uint32
    	offset       bintime
    	boottime     bintime
    	x86_shift    uint32
    	x86_hpet_idx uint32
    	res          [6]uint32
    }
    
    type vdsoTimekeep struct {
    	ver     uint32
    	enabled uint32
    	current uint32
    }
    
    const (
    	_VDSO_TK_VER_CURR = 0x1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. src/runtime/defs_freebsd_amd64.go

    }
    
    type vdsoTimehands struct {
    	algo         uint32
    	gen          uint32
    	scale        uint64
    	offset_count uint32
    	counter_mask uint32
    	offset       bintime
    	boottime     bintime
    	x86_shift    uint32
    	x86_hpet_idx uint32
    	res          [6]uint32
    }
    
    type vdsoTimekeep struct {
    	ver       uint32
    	enabled   uint32
    	current   uint32
    	pad_cgo_0 [4]byte
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top