Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newProfileBuilder (0.11 sec)

  1. src/runtime/pprof/protomem.go

    	"strings"
    )
    
    // writeHeapProto writes the current heap profile in protobuf format to w.
    func writeHeapProto(w io.Writer, p []profilerecord.MemProfileRecord, rate int64, defaultSampleType string) error {
    	b := newProfileBuilder(w)
    	b.pbValueType(tagProfile_PeriodType, "space", "bytes")
    	b.pb.int64Opt(tagProfile_Period, rate)
    	b.pbValueType(tagProfile_SampleType, "alloc_objects", "count")
    	b.pbValueType(tagProfile_SampleType, "alloc_space", "bytes")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 14:38:45 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top