| /src/external/bsd/jemalloc/dist/test/unit/ |
| peak.c | 3 #include "jemalloc/internal/peak.h" 6 peak_t peak = PEAK_INITIALIZER; local 7 expect_u64_eq(0, peak_max(&peak), 8 "Peak should be zero at initialization"); 9 peak_update(&peak, 100, 50); 10 expect_u64_eq(50, peak_max(&peak), 12 peak_update(&peak, 100, 100); 13 expect_u64_eq(50, peak_max(&peak), "Dallocs shouldn't change peak"); 14 peak_update(&peak, 100, 200) [all...] |
| mallctl.c | 1102 * We don't commit to any stable amount of accuracy for peak tracking 1112 uint64_t peak; local 1115 err = mallctl("thread.peak.reset", NULL, NULL, NULL, 0); 1118 err = mallctl("thread.peak.read", &peak, &sz, NULL, 0); 1120 expect_u64_eq(peak, SC_SMALL_MAXCLASS, "Missed an update"); 1122 err = mallctl("thread.peak.read", &peak, &sz, NULL, 0); 1124 expect_u64_eq(peak, SC_SMALL_MAXCLASS, "Freeing changed peak"); [all...] |
| /src/external/bsd/jemalloc/dist/src/ |
| peak_event.c | 7 #include "jemalloc/internal/peak.h" 17 /* Update the peak with current tsd state. */ 22 peak_t *peak = tsd_peakp_get(tsd); local 23 peak_update(peak, alloc, dalloc); 42 peak_t *peak = tsd_peakp_get(tsd); local 43 peak_set_zero(peak, alloc, dalloc); 48 peak_t *peak = tsd_peakp_get(tsd); local 49 return peak_max(peak);
|
| /src/external/gpl3/gcc/dist/gcc/ |
| alloc-pool.h | 43 pool_usage (size_t allocated, size_t times, size_t peak, 46 : mem_usage (allocated, times, peak, instances), 86 "Pools", "Leak", "Peak", "Times", "Elt size"); 557 /* Peak amount of storage used. */ 558 unsigned long peak; member in struct:alloc_pool_descriptor
|
| ipa-fnsummary.cc | 4051 Compute peak stack usage. */ 4343 HOST_WIDE_INT peak = stack_frame_offset + callee_info->estimated_stack_size; local 4345 if (info->estimated_stack_size < peak) 4346 info->estimated_stack_size = peak;
|
| /src/external/gpl3/gcc.old/dist/gcc/ |
| alloc-pool.h | 43 pool_usage (size_t allocated, size_t times, size_t peak, 46 : mem_usage (allocated, times, peak, instances), 86 "Pools", "Leak", "Peak", "Times", "Elt size"); 557 /* Peak amount of storage used. */ 558 unsigned long peak; member in struct:alloc_pool_descriptor
|
| ipa-fnsummary.cc | 3943 Compute peak stack usage. */ 4232 HOST_WIDE_INT peak = stack_frame_offset + callee_info->estimated_stack_size; local 4234 if (info->estimated_stack_size < peak) 4235 info->estimated_stack_size = peak;
|