MCPcopy Create free account
hub / github.com/PowerDNS/pdns / adjustForSampling

Function adjustForSampling

pdns/statnode.cc:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63static uint64_t adjustForSampling(uint32_t count, size_t samplingRate)
64{
65 if (samplingRate > 0) {
66 return count * samplingRate;
67 }
68 return count;
69}
70
71
72/* www.powerdns.com. ->

Callers 1

submitMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected