MCPcopy
hub / github.com/nats-io/nats.go / Seconds

Method Seconds

bench/bench.go:176–178  ·  view source on GitHub ↗

Seconds that the sample or samples were active

()

Source from the content-addressed store, hash-verified

174
175// Seconds that the sample or samples were active
176func (s *Sample) Seconds() float64 {
177 return s.Duration().Seconds()
178}
179
180// NewSampleGroup initializer
181func NewSampleGroup() *SampleGroup {

Callers 6

TestSecondsFunction · 0.80
TestGroupSecondsFunction · 0.80
CSVMethod · 0.80
ThroughputMethod · 0.80
RateMethod · 0.80

Calls 1

DurationMethod · 0.95

Tested by 3

TestSecondsFunction · 0.64
TestGroupSecondsFunction · 0.64