- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for allocObjects (0.45 sec)
-
src/internal/profilerecord/profilerecord.go
Stack []uintptr } type MemProfileRecord struct { AllocBytes, FreeBytes int64 AllocObjects, FreeObjects int64 Stack []uintptr } func (r *MemProfileRecord) InUseBytes() int64 { return r.AllocBytes - r.FreeBytes } func (r *MemProfileRecord) InUseObjects() int64 { return r.AllocObjects - r.FreeObjects } type BlockProfileRecord struct { Count int64 Cycles int64 Stack []uintptr
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 815 bytes - Viewed (0) -
src/runtime/pprof/protomem.go
} hideRuntime = false // try again, and show all frames next time. } values[0], values[1] = scaleHeapSample(r.AllocObjects, r.AllocBytes, rate) values[2], values[3] = scaleHeapSample(r.InUseObjects(), r.InUseBytes(), rate) var blockSize int64 if r.AllocObjects > 0 { blockSize = r.AllocBytes / r.AllocObjects } b.pbSample(values, locs, func() { if blockSize != 0 { b.pbLabel(tagSample_Label, "bytes", "", blockSize)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/pprof/protomem_test.go
rate := int64(512 * 1024) rec := []profilerecord.MemProfileRecord{ {AllocBytes: 4096, FreeBytes: 1024, AllocObjects: 4, FreeObjects: 1, Stack: []uintptr{a1, a2}}, {AllocBytes: 512 * 1024, FreeBytes: 0, AllocObjects: 1, FreeObjects: 0, Stack: []uintptr{a2 + 1, a2 + 2}}, {AllocBytes: 512 * 1024, FreeBytes: 512 * 1024, AllocObjects: 1, FreeObjects: 1, Stack: []uintptr{a1 + 1, a1 + 2, a2 + 3}}, }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 6.7K bytes - Viewed (0) -
test/finprofiled.go
prof = make([]runtime.MemProfileRecord, n+10) } } // See how much memory in tiny objects is profiled. var totalBytes int64 for _, p := range prof { bytes := p.AllocBytes - p.FreeBytes nobj := p.AllocObjects - p.FreeObjects if nobj == 0 { // There may be a record that has had all of its objects // freed. That's fine. Avoid a divide-by-zero and skip. continue } size := bytes / nobj
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Nov 16 05:48:00 UTC 2023 - 2.1K bytes - Viewed (0) -
operator/pkg/helmreconciler/apply.go
cname := string(manifest.Name) crHash, err := h.getCRHash(cname) if err != nil { return result, err } scope.Infof("Processing resources from manifest: %s for CR %s", cname, crHash) allObjects, err := object.ParseK8sObjectsFromYAMLManifest(manifest.Content) if err != nil { return result, err } objectCache := cache.GetCache(crHash)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:12:54 UTC 2023 - 6.4K bytes - Viewed (0)