- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ticksPerSec (0.1 sec)
-
src/internal/trace/internal/oldtrace/parser.go
if err != nil { return Trace{}, err } if p.ticksPerSec == 0 { return Trace{}, errors.New("no EvFrequency event") } if events.Len() > 0 { // Translate cpu ticks to real time. minTs := events.Ptr(0).Ts // Use floating point to avoid integer overflows. freq := 1e9 / float64(p.ticksPerSec) for i := 0; i < events.Len(); i++ { ev := events.Ptr(i)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0)