Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for timehands (0.25 sec)

  1. src/runtime/vdso_freebsd.go

    //
    //go:nosplit
    func binuptime(abs bool) (bt bintime) {
    	timehands := (*[_VDSO_TH_NUM]vdsoTimehands)(add(unsafe.Pointer(timekeepSharedPage), vdsoTimekeepSize))
    	for {
    		if timekeepSharedPage.enabled == 0 {
    			return zeroBintime
    		}
    
    		curr := atomic.Load(&timekeepSharedPage.current) // atomic_load_acq_32
    		th := &timehands[curr]
    		gen := atomic.Load(&th.gen) // atomic_load_acq_32
    		bt = th.offset
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. src/runtime/os_freebsd.go

    }
    
    const (
    	_AT_NULL     = 0  // Terminates the vector
    	_AT_PAGESZ   = 6  // Page size in bytes
    	_AT_PLATFORM = 15 // string identifying platform
    	_AT_TIMEKEEP = 22 // Pointer to timehands.
    	_AT_HWCAP    = 25 // CPU feature flags
    	_AT_HWCAP2   = 26 // CPU feature flags 2
    )
    
    func sysauxv(auxv []uintptr) (pairs int) {
    	var i int
    	for i = 0; auxv[i] != _AT_NULL; i += 2 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  3. src/internal/profile/merge.go

    		if err := srcs[0].compatible(s); err != nil {
    			return nil, err
    		}
    	}
    
    	var timeNanos, durationNanos, period int64
    	var comments []string
    	seenComments := map[string]bool{}
    	var defaultSampleType string
    	for _, s := range srcs {
    		if timeNanos == 0 || s.TimeNanos < timeNanos {
    			timeNanos = s.TimeNanos
    		}
    		durationNanos += s.DurationNanos
    		if period == 0 || period < s.Period {
    			period = s.Period
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 17 19:35:56 UTC 2020
    - 11.3K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/profile/merge.go

    		if err := srcs[0].compatible(s); err != nil {
    			return nil, err
    		}
    	}
    
    	var timeNanos, durationNanos, period int64
    	var comments []string
    	seenComments := map[string]bool{}
    	var defaultSampleType string
    	for _, s := range srcs {
    		if timeNanos == 0 || s.TimeNanos < timeNanos {
    			timeNanos = s.TimeNanos
    		}
    		durationNanos += s.DurationNanos
    		if period == 0 || period < s.Period {
    			period = s.Period
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17K bytes
    - Viewed (0)
  5. src/net/http/pprof/pprof.go

    		return
    	}
    	ts := p1.TimeNanos
    	dur := p1.TimeNanos - p0.TimeNanos
    
    	p0.Scale(-1)
    
    	p1, err = profile.Merge([]*profile.Profile{p0, p1})
    	if err != nil {
    		serveError(w, http.StatusInternalServerError, "failed to compute delta")
    		return
    	}
    
    	p1.TimeNanos = ts // set since we don't know what profile.Merge set for TimeNanos.
    	p1.DurationNanos = dur
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:34:05 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. src/internal/profile/profile.go

    	if pt := p.PeriodType; pt != nil {
    		ss = append(ss, fmt.Sprintf("PeriodType: %s %s", pt.Type, pt.Unit))
    	}
    	ss = append(ss, fmt.Sprintf("Period: %d", p.Period))
    	if p.TimeNanos != 0 {
    		ss = append(ss, fmt.Sprintf("Time: %v", time.Unix(0, p.TimeNanos)))
    	}
    	if p.DurationNanos != 0 {
    		ss = append(ss, fmt.Sprintf("Duration: %v", time.Duration(p.DurationNanos)))
    	}
    
    	ss = append(ss, "Samples:")
    	var sh1 string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  7. src/cmd/vendor/github.com/google/pprof/profile/encode.go

    	func(b *buffer, m message) error { return decodeInt64(b, &m.(*Profile).keepFramesX) },
    	// int64 time_nanos = 9
    	func(b *buffer, m message) error {
    		if m.(*Profile).TimeNanos != 0 {
    			return errConcatProfile
    		}
    		return decodeInt64(b, &m.(*Profile).TimeNanos)
    	},
    	// int64 duration_nanos = 10
    	func(b *buffer, m message) error { return decodeInt64(b, &m.(*Profile).DurationNanos) },
    	// ValueType period_type = 11
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  8. src/internal/profile/encode.go

    	}
    	for _, x := range p.Function {
    		encodeMessage(b, 5, x)
    	}
    	encodeStrings(b, 6, p.stringTable)
    	encodeInt64Opt(b, 7, p.dropFramesX)
    	encodeInt64Opt(b, 8, p.keepFramesX)
    	encodeInt64Opt(b, 9, p.TimeNanos)
    	encodeInt64Opt(b, 10, p.DurationNanos)
    	if pt := p.PeriodType; pt != nil && (pt.typeX != 0 || pt.unitX != 0) {
    		encodeMessage(b, 11, p.PeriodType)
    	}
    	encodeInt64Opt(b, 12, p.Period)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    	}
    	if pt := p.PeriodType; pt != nil {
    		ss = append(ss, fmt.Sprintf("PeriodType: %s %s", pt.Type, pt.Unit))
    	}
    	ss = append(ss, fmt.Sprintf("Period: %d", p.Period))
    	if p.TimeNanos != 0 {
    		ss = append(ss, fmt.Sprintf("Time: %v", time.Unix(0, p.TimeNanos)))
    	}
    	if p.DurationNanos != 0 {
    		ss = append(ss, fmt.Sprintf("Duration: %.4v", time.Duration(p.DurationNanos)))
    	}
    
    	ss = append(ss, "Samples:")
    	var sh1 string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  10. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    	rpt.selectOutputUnit(g)
    
    	out := profile.Profile{
    		SampleType: []*profile.ValueType{
    			{Type: "cum", Unit: o.OutputUnit},
    			{Type: "flat", Unit: o.OutputUnit},
    		},
    		TimeNanos:     p.TimeNanos,
    		DurationNanos: p.DurationNanos,
    		PeriodType:    p.PeriodType,
    		Period:        p.Period,
    	}
    	functionMap := make(functionMap)
    	for i, n := range g.Nodes {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
Back to top