Lines Matching refs:int
76 def hex_address_for_json(addr: int) -> str: argument
86 self.processes: Dict[int, ProcessScope] = {} # map from pid to ProcessScope
90 def get_process(self, pid: int) -> ProcessScope: argument
121 def __init__(self, pid: int): argument
125 self.threads: Dict[int, ThreadScope] = {} # map from tid to ThreadScope
127 def get_thread(self, tid: int, thread_name: str) -> ThreadScope: argument
164 def __init__(self, tid: int): argument
169 self.libs: Dict[int, LibScope] = {} # map from lib_id to LibScope
174 self, event_count: int, callstack: List[Tuple[int, int, int]], argument
178 hit_func_ids: Set[int] = set()
212 hit_func_ids: Set[int]): argument
249 def sort_call_graph_by_function_name(self, get_func_name: Callable[[int], str]) -> None: argument
256 def __init__(self, lib_id: int): argument
259 self.functions: Dict[int, FunctionScope] = {} # map from func_id to FunctionScope.
261 def get_function(self, func_id: int) -> FunctionScope: argument
287 def __init__(self, func_id: int): argument
296 def build_addr_hit_map(self, addr: int, event_count: int, subtree_event_count: int): argument
306 def build_line_hit_map(self, source_file_id: int, line: int, event_count: int, argument
307 subtree_event_count: int): argument
348 def __merge_hit_map(map1: Optional[Dict[int, List[int]]], argument
349 map2: Optional[Dict[int, List[int]]]) -> Optional[Dict[int, List[int]]]: argument
366 def __init__(self, func_id: int): argument
371 self.children: Dict[int, CallNode] = collections.OrderedDict()
373 def get_child(self, func_id: int) -> CallNode: argument
385 def cut_edge(self, min_limit: float, hit_func_ids: Set[int]): argument
415 def sort_by_function_name(self, get_func_name: Callable[[int], str]) -> None: argument
437 self.lib_name_to_id: Dict[str, int] = {}
440 def get_lib_id(self, lib_name: str) -> Optional[int]:
443 def add_lib(self, lib_name: str, build_id: str) -> int:
450 def get_lib(self, lib_id: int) -> LibInfo: argument
457 def __init__(self, lib_id: int, func_name: str, func_id: int, start_addr: int, addr_len: int): argument
471 self.name_to_func: Dict[Tuple[int, str], Function] = {}
472 self.id_to_func: Dict[int, Function] = {}
474 def get_func_id(self, lib_id: int, symbol: SymbolStruct) -> int: argument
485 def get_func_name(self, func_id: int) -> str: argument
488 def trim_functions(self, left_func_ids: Set[int]): argument
500 def __init__(self, file_id: int, abstract_path: str): argument
504 self.requested_lines: Optional[Set[int]] = set()
505 self.line_to_code: Dict[int, str] = {} # map from line to code in that line.
507 def request_lines(self, start_line: int, end_line: int): argument
705 hit_func_ids: Set[int] = set()
735 def add_source_code(self, source_dirs: List[str], filter_lib: Callable[[str], bool], jobs: int): argument
805 jobs: int, disassemble_job_size: int): argument
811 lib_functions: Dict[int, List[Function]] = collections.defaultdict(list)
847 disassemble_job_size: int) -> List[List[Function]]: argument
873 t = datetime.datetime.fromtimestamp(int(timestamp))
897 def _gen_process_names(self) -> Dict[int, str]:
898 process_names: Dict[int, str] = {}
904 def _gen_thread_names(self) -> Dict[int, str]:
905 thread_names: Dict[int, str] = {}
915 def _gen_function_map(self) -> Dict[int, Any]:
916 func_map: Dict[int, Any] = {}
1028 parser.add_argument('--disassemble-job-size', type=int, default=1024*1024,
1036 '-j', '--jobs', type=int, default=os.cpu_count(),