Home
last modified time | relevance | path

Searched refs:Dict (Results 1 – 15 of 15) sorted by relevance

/system/extras/simpleperf/scripts/
Dreport_html.py29 from typing import Any, Callable, Dict, Iterator, List, Optional, Set, Tuple, Union
48 def open_tag(self, tag: str, **attrs: Dict[str, str]) -> HtmlWriter:
86 self.processes: Dict[int, ProcessScope] = {} # map from pid to ProcessScope
96 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
125 self.threads: Dict[int, ThreadScope] = {} # map from tid to ThreadScope
136 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
150 new_threads: Dict[str, ThreadScope] = {} # map from thread name to ThreadScope
169 self.libs: Dict[int, LibScope] = {} # map from lib_id to LibScope
226 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]:
255 self.functions: Dict[int, FunctionScope] = {} # map from func_id to FunctionScope.
[all …]
Dgecko_profile_generator.py33 from typing import List, Dict, Optional, NamedTuple, Tuple
44 GeckoProfile = Dict
166 stringMap: Dict[str, int] = field(default_factory=dict)
168 stackMap: Dict[Tuple[Optional[int], int], int] = field(default_factory=dict)
169 frameMap: Dict[str, int] = field(default_factory=dict)
261 def remove_stack_gaps(self, max_remove_gap_length: int, gap_distr: Dict[int, int]) -> None:
288 def to_json_dict(self) -> Dict:
352 def remove_stack_gaps(max_remove_gap_length: int, thread_map: Dict[int, Thread]) -> None:
399 threadMap: Dict[int, Thread] = {}
Dbinary_cache_builder.py29 from typing import Dict, List, Optional, Tuple, Union
71 def collect_binaries(self, binaries: Dict[str, str], binary_cache: BinaryCache):
88 def collect_binaries(self, binaries: Dict[str, str], binary_cache: BinaryCache):
150 def collect_binaries(self, binaries: Dict[str, str], binary_cache: BinaryCache):
162 def create_filename_map(self, binaries: Dict[str, str]):
170 def create_build_id_map(self, binaries: Dict[str, str]):
Dsimpleperf_utils.py34 from typing import Any, Dict, Iterator, List, Optional, Set, Tuple, Union
426 def _load_build_id_map(self) -> Dict[str, Path]:
427 build_id_map: Dict[str, Path] = {}
501 self.addrs: Dict[int, Addr2Nearestline.Addr] = {}
504 self.file_name_to_id: Dict[str, int] = {}
506 self.func_name_to_id: Dict[str, int] = {}
541 self.dso_map: Dict[str, Addr2Nearestline.Dso] = {} # map from dso_path to Dso.
640 def parse_line_output(self, output: str, dso: Addr2Nearestline.Dso) -> Dict[int,
653 addr_map: Dict[int, List[Tuple[int]]] = {}
755 self.filename_to_rparents: Dict[str, List[str]] = {}
[all …]
Dsimpleperf_report_lib.py27 from typing import Any, Dict, List, Optional, Union
286 self.meta_info: Optional[Dict[str, str]] = None
445 def GetTracingDataOfCurrentSample(self) -> Optional[Dict[str, Any]]:
505 def MetaInfo(self) -> Dict[str, str]:
Ddebug_unwind_reporter.py42 from typing import Dict, Iterator, List
200 self.symbol_counters: Dict[int, Counter] = defaultdict(Counter)
Dannotate.py26 from typing import Dict, Union
285 def _add_dso_period(self, dso_name: str, period: Period, used_dso_dict: Dict[str, bool]):
/system/extras/perf2cfg/perf2cfg/
Danalyze.py28 from typing import DefaultDict, Dict, Iterable, Iterator, Optional
87 self.instructions: Dict[int, Instruction] = {}
142 self.methods: Dict[str, Method] = {}
/system/extras/simpleperf/scripts/test/
Dgecko_profile_generator_test.py21 from typing import Dict, List, Optional, Set
34 def generate_profile(self, testdata_file: str, options: Optional[List[str]] = None) -> Dict:
Dpurgatorio_test.py20 from typing import Any, Dict, List
Dreport_html_test.py21 from typing import Any, Dict, List, Optional, Set
86 def get_record_data(self, options: List[str]) -> Dict[str, Any]:
259 def get_thread_names(aggregate_threads_option: Optional[List[str]]) -> Dict[str, int]:
Dinferno_test.py22 from typing import Any, Dict, List, Set
Ddo_test.py236 self.test_results: Dict[str, TestResult] = {}
318 self.test_process_bars: Dict[str, tqdm] = {}
350 self.results: Dict[Tuple[str, str], Optional[TestResult]] = {}
Dreport_lib_test.py19 from typing import Dict, List, Optional, Set
317 def get_thread_names(aggregate_regex_list: Optional[List[str]]) -> Dict[str, int]:
/system/sepolicy/tests/
Dpolicy.py402 def __GenfsDictAdd(self, Dict, buf): argument
406 if not fs in Dict:
407 Dict[fs] = {Type}
409 Dict[fs].add(Type)