- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for ReadStackCounter (0.22 sec)
-
src/cmd/vendor/golang.org/x/telemetry/counter/countertest/countertest.go
counter.Open() opened = true } // ReadCounter reads the given counter. func ReadCounter(c *counter.Counter) (count uint64, _ error) { return ic.Read(c) } // ReadStackCounter reads the given StackCounter. func ReadStackCounter(c *counter.StackCounter) (stackCounts map[string]uint64, _ error) { return ic.ReadStack(c) } // ReadFile reads the counters and stack counters from the given file.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:13:09 UTC 2024 - 1.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/stackcounter.go
if a[i] != b[i] { return false } } return true } // ReadStack reads the given stack counter. // This is the implementation of // golang.org/x/telemetry/counter/countertest.ReadStackCounter. func ReadStack(c *StackCounter) (map[string]uint64, error) { ret := map[string]uint64{} for _, ctr := range c.Counters() { v, err := Read(ctr) if err != nil { return nil, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 04 17:10:54 UTC 2024 - 4.8K bytes - Viewed (0)