Home | History | Annotate | Download | only in subcommands

Lines Matching refs:sizes

71         A dict mapping components and their corresponding sizes.
100 sizes = dict((c, 0) for c in policy.components)
102 PolicyCommands._accumulate_malloc(dump, policy, bucket_set, sizes)
104 dump, all_pfn_dict, policy, bucket_set, sizes)
114 sizes['mmap-no-log'] = (
116 sizes['mmap-total-log'])
117 sizes['mmap-total-record'] = dump.global_stat('profiled-mmap_committed')
118 sizes['mmap-total-record-vm'] = dump.global_stat('profiled-mmap_virtual')
120 sizes['tc-no-log'] = (
122 sizes['tc-total-log'])
123 sizes['tc-total-record'] = dump.global_stat('profiled-malloc_committed')
124 sizes['tc-unused'] = (
125 sizes['mmap-tcmalloc'] -
127 if sizes['tc-unused'] < 0:
129 sizes['tc-unused'])
130 sizes['tc-unused'] = 0
131 sizes['tc-total'] = sizes['mmap-tcmalloc']
149 if key in sizes:
150 sizes[key] = dump.global_stat(value)
152 if 'mustbezero' in sizes:
161 sizes['mustbezero'] = (
164 if 'total-exclude-profiler' in sizes:
165 sizes['total-exclude-profiler'] = (
167 (sizes['mmap-profiler'] + sizes['mmap-type-profiler']))
168 if 'hour' in sizes:
169 sizes['hour'] = (dump.time - first_dump_time) / 60.0 / 60.0
170 if 'minute' in sizes:
171 sizes['minute'] = (dump.time - first_dump_time) / 60.0
172 if 'second' in sizes:
173 sizes['second'] = dump.time - first_dump_time
175 return sizes
178 def _accumulate_malloc(dump, policy, bucket_set, sizes):
188 sizes[component_match] += int(words[COMMITTED])
192 sizes['tc-total-log'] += int(words[COMMITTED])
194 sizes['other-total-log'] += int(words[COMMITTED])
197 def _accumulate_maps(dump, pfn_dict, policy, bucket_set, sizes):
244 sizes[component_match] += pageframe.size
247 sizes[component_match] += int(value[1]['committed'])
253 sizes[component_match] += pageframe.size
256 sizes['mmap-total-log'] += pageframe.size
258 sizes['other-total-log'] += pageframe.size
261 sizes[component_match] += int(value[1]['committed'])
263 sizes['mmap-total-log'] += int(value[1]['committed'])
265 sizes['other-total-log'] += int(value[1]['committed'])