Home
last modified time | relevance | path

Searched defs:MemProfileRecord (Results 1 – 5 of 5) sorted by relevance

/aosp_15_r20/prebuilts/go/linux-x86/src/internal/profilerecord/
Dprofilerecord.go15 type MemProfileRecord struct { struct
16 AllocBytes, FreeBytes int64
17 AllocObjects, FreeObjects int64
18 Stack []uintptr
21 func (r *MemProfileRecord) InUseBytes() int64 { return r.AllocBytes - r.FreeBytes }
22 func (r *MemProfileRecord) InUseObjects() int64 { return r.AllocObjects - r.FreeObjects }
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/
Dmprof.go948 type MemProfileRecord struct { struct
949 AllocBytes, FreeBytes int64 // number of bytes allocated, freed
950 AllocObjects, FreeObjects int64 // number of objects allocated, freed
951 Stack0 [32]uintptr // stack trace for this record; ends at first 0 entry
955 func (r *MemProfileRecord) InUseBytes() int64 { return r.AllocBytes - r.FreeBytes }
958 func (r *MemProfileRecord) InUseObjects() int64 {
964 func (r *MemProfileRecord) Stack() []uintptr {
994 func MemProfile(p []MemProfileRecord, inuseZero bool) (n int, ok bool) {
1011 func memProfileInternal(size int, inuseZero bool, copyFn func(profilerecord.MemProfileRecord)) (n i…
1071 func copyMemProfileRecord(dst *MemProfileRecord, src profilerecord.MemProfileRecord) {
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/test/
Dheapsampling.go164 func checkAllocations(records []runtime.MemProfileRecord, frames []string, count int64, size []int6…
261 func allocObjects(records []runtime.MemProfileRecord, function string) map[int]allocStat {
/aosp_15_r20/prebuilts/go/linux-x86/src/runtime/pprof/
Dprotomem.go16 func writeHeapProto(w io.Writer, p []profilerecord.MemProfileRecord, rate int64, defaultSampleType …
Dpprof.go981 func pprof_memProfileInternal(p []profilerecord.MemProfileRecord, inuseZero bool) (n int, ok bool)