/external/chromium_org/tools/deep_memory_profiler/subcommands/ |
buckets.py | 21 bucket_set = SubCommand.load_basic_files(dump_path, True, True) 23 BucketsCommand._output(bucket_set, out) 27 def _output(bucket_set, out): 31 bucket_set: A BucketSet object. 34 for bucket_id, bucket in sorted(bucket_set):
|
stacktrace.py | 19 (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): 29 bucket_set: A BucketSet object. 34 bucket = bucket_set.get(int(words[BUCKET_ID]))
|
pprof.py | 31 (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): 49 bucket_set: A BucketSet object. 56 dump, policy, bucket_set, component_name) 62 dump, policy, bucket_set, component_name, out) 69 def _accumulate(dump, policy, bucket_set, component_name): 75 bucket_set: A BucketSet object. 88 component_match, bucket = policy.find_mmap(region, bucket_set) 99 bucket = bucket_set.get(int(words[BUCKET_ID]) [all...] |
policies.py | 40 (bucket_set, dumps) = SubCommand.load_basic_files( 53 return policy_set, dumps, pfn_counts_dict, bucket_set 56 def _apply_policy(dump, pfn_counts_dict, policy, bucket_set, first_dump_time): 66 bucket_set: A BucketSet object. 102 PolicyCommands._accumulate_malloc(dump, policy, bucket_set, sizes) 104 dump, all_pfn_dict, policy, bucket_set, sizes) 178 def _accumulate_malloc(dump, policy, bucket_set, sizes): 181 bucket = bucket_set.get(int(words[BUCKET_ID])) 197 def _accumulate_maps(dump, pfn_dict, policy, bucket_set, sizes): 252 value, bucket_set, pageframe, pfn_dict [all...] |
cat.py | 37 (bucket_set, dumps) = SubCommand.load_basic_files( 63 self._fill_snapshot(dump, bucket_set, sorters)) 72 def _fill_snapshot(dump, bucket_set, sorters): 77 dump, bucket_set, sorters, 'vm') 79 dump, bucket_set, sorters, 'malloc') 83 def _fill_world(dump, bucket_set, sorters, world): 96 for unit in CatCommand._iterate_vm_unit(dump, None, bucket_set): 101 for unit in CatCommand._iterate_malloc_unit(dump, bucket_set): 132 def _iterate_vm_unit(dump, pfn_dict, bucket_set): 152 region, bucket_set, pageframe, pfn_dict [all...] |
expand.py | 27 (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): 41 bucket_set: A BucketSet object. 49 dump, policy, bucket_set, component_name, depth, sizes) 74 def _accumulate(dump, policy, bucket_set, component_name, depth, sizes): 81 bucket = bucket_set.get(int(words[BUCKET_ID])) 101 component_match, bucket = policy.find_mmap(region, bucket_set)
|
map.py | 25 (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): 37 bucket_set: A BucketSet object. 59 component_match, _ = policy.find_mmap(value, bucket_set)
|
/external/chromium_org/tools/deep_memory_profiler/lib/ |
subcommand.py | 47 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)
|
symbol.py | 125 def update(self, symbol_type, bucket_set, symbol_finder, cache_f): 141 bucket_set: A BucketSet object. 149 address for address in bucket_set.iter_addresses(symbol_type)
|
sorter.py | 84 def __init__(self, unit_id, committed, reserved, region, bucket_set, 88 self._bucket_set = bucket_set 94 def bucket_set(self): member in class:MMapUnit 215 bucket = unit.bucket_set.get(unit.region[1]['bucket_id'])
|
policy.py | 169 def find_mmap(self, region, bucket_set, 173 It uses |bucket_set| to match with backtraces. If |pageframe| is given, 181 bucket_set: A BucketSet object to look up backtraces. 191 bucket = bucket_set.get(region[1]['bucket_id'])
|