Home
last modified time | relevance | path

Searched refs:bucket_set (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/tools/deep_memory_profiler/subcommands/
Dpolicies.py43 (bucket_set, dumps) = SubCommand.load_basic_files(
58 return policy_set, dumps, pfn_counts_dict, bucket_set
60 def _apply_policy(self, dump, pfn_counts_dict, policy, bucket_set, argument
107 PolicyCommands._accumulate_malloc(dump, policy, bucket_set, sizes)
109 dump, all_pfn_dict, policy, bucket_set, sizes)
186 def _accumulate_malloc(dump, policy, bucket_set, sizes): argument
189 bucket = bucket_set.get(int(words[BUCKET_ID]))
205 def _accumulate_maps(dump, pfn_dict, policy, bucket_set, sizes): argument
260 value, bucket_set, pageframe, pfn_dict)
268 component_match, _ = policy.find_mmap(value, bucket_set)
[all …]
Dpprof.py31 (bucket_set, dump) = SubCommand.load_basic_files(dump_path, False)
37 dump, policy_set[target_policy], bucket_set, maps_lines, component,
43 def _output(dump, policy, bucket_set, maps_lines, component_name, out): argument
56 dump, policy, bucket_set, component_name)
62 dump, policy, bucket_set, component_name, out)
69 def _accumulate(dump, policy, bucket_set, component_name): argument
88 component_match, bucket = policy.find_mmap(region, bucket_set)
99 bucket = bucket_set.get(int(words[BUCKET_ID]))
116 def _output_stacktrace_lines(dump, policy, bucket_set, component_name, out): argument
129 component_match, bucket = policy.find_mmap(region, bucket_set)
[all …]
Dcat.py37 (bucket_set, dumps) = SubCommand.load_basic_files(
77 self._fill_snapshot(dump, bucket_set, sorters))
86 def _fill_snapshot(dump, bucket_set, sorters): argument
91 dump, bucket_set, sorters, 'vm')
93 dump, bucket_set, sorters, 'malloc')
97 def _fill_world(dump, bucket_set, sorters, world): argument
110 for unit in CatCommand._iterate_vm_unit(dump, None, bucket_set):
115 for unit in CatCommand._iterate_malloc_unit(dump, bucket_set):
148 def _iterate_vm_unit(dump, pfn_dict, bucket_set): argument
168 region, bucket_set, pageframe, pfn_dict)
[all …]
Dexpand.py27 (bucket_set, dump) = SubCommand.load_basic_files(dump_path, False)
30 ExpandCommand._output(dump, policy_set[target_policy], bucket_set,
35 def _output(dump, policy, bucket_set, component_name, depth, out): argument
49 dump, policy, bucket_set, component_name, depth, sizes)
74 def _accumulate(dump, policy, bucket_set, component_name, depth, sizes): argument
81 bucket = bucket_set.get(int(words[BUCKET_ID]))
101 component_match, bucket = policy.find_mmap(region, bucket_set)
Dbuckets.py21 bucket_set = SubCommand.load_basic_files(dump_path, True, True)
23 BucketsCommand._output(bucket_set, out)
27 def _output(bucket_set, out): argument
34 for bucket_id, bucket in sorted(bucket_set):
Dstacktrace.py19 (bucket_set, dump) = SubCommand.load_basic_files(dump_path, False)
21 StacktraceCommand._output(dump, bucket_set, sys.stdout)
25 def _output(dump, bucket_set, out): argument
34 bucket = bucket_set.get(int(words[BUCKET_ID]))
Dmap.py25 (bucket_set, dumps) = SubCommand.load_basic_files(dump_path, True)
28 MapCommand._output(dumps, bucket_set, policy_set[target_policy], out)
32 def _output(dumps, bucket_set, policy, out): argument
59 component_match, _ = policy.find_mmap(value, bucket_set)
/external/chromium_org/tools/deep_memory_profiler/lib/
Dsubcommand.py47 bucket_set = BucketSet()
48 bucket_set.load(prefix)
57 FUNCTION_SYMBOLS, bucket_set,
61 TYPEINFO_SYMBOLS, bucket_set,
65 SOURCEFILE_SYMBOLS, bucket_set,
67 bucket_set.symbolize(symbol_mapping_cache)
69 return bucket_set
71 return (bucket_set, dump_list)
73 return (bucket_set, dump)
Dsymbol.py129 def update(self, symbol_type, bucket_set, symbol_finder, cache_f): argument
153 address for address in bucket_set.iter_addresses(symbol_type)
Dsorter.py92 def __init__(self, unit_id, committed, reserved, region, bucket_set, argument
96 self._bucket_set = bucket_set
102 def bucket_set(self): member in MMapUnit
223 bucket = unit.bucket_set.get(unit.region[1]['bucket_id'])
Dpolicy.py169 def find_mmap(self, region, bucket_set, argument
191 bucket = bucket_set.get(region[1]['bucket_id'])