MCPcopy
hub / github.com/grpc/grpc-go / String

Method String

benchmark/stats/histogram.go:143–147  ·  view source on GitHub ↗

String returns the textual output of the histogram values as string.

()

Source from the content-addressed store, hash-verified

141
142// String returns the textual output of the histogram values as string.
143func (h *Histogram) String() string {
144 var b bytes.Buffer
145 h.Print(&b)
146 return b.String()
147}
148
149// Clear resets all the content of histogram.
150func (h *Histogram) Clear() {

Callers

nothing calls this directly

Calls 2

PrintMethod · 0.95
StringMethod · 0.95

Tested by

no test coverage detected