Lines Matching refs:int
75 def hex_address_for_json(addr: int) -> str: argument
85 self.processes: Dict[int, ProcessScope] = {} # map from pid to ProcessScope
89 def get_process(self, pid: int) -> ProcessScope: argument
120 def __init__(self, pid: int): argument
124 self.threads: Dict[int, ThreadScope] = {} # map from tid to ThreadScope
126 def get_thread(self, tid: int, thread_name: str) -> ThreadScope: argument
162 def __init__(self, tid: int): argument
167 self.libs: Dict[int, LibScope] = {} # map from lib_id to LibScope
172 self, event_count: int, callstack: List[Tuple[int, int, int]], argument
176 hit_func_ids: Set[int] = set()
210 hit_func_ids: Set[int]): argument
250 def __init__(self, lib_id: int): argument
253 self.functions: Dict[int, FunctionScope] = {} # map from func_id to FunctionScope.
255 def get_function(self, func_id: int) -> FunctionScope: argument
281 def __init__(self, func_id: int): argument
290 def build_addr_hit_map(self, addr: int, event_count: int, subtree_event_count: int): argument
300 def build_line_hit_map(self, source_file_id: int, line: int, event_count: int, argument
301 subtree_event_count: int): argument
342 def __merge_hit_map(map1: Optional[Dict[int, List[int]]], argument
343 map2: Optional[Dict[int, List[int]]]) -> Optional[Dict[int, List[int]]]: argument
360 def __init__(self, func_id: int): argument
365 self.children: Dict[int, CallNode] = collections.OrderedDict()
367 def get_child(self, func_id: int) -> CallNode: argument
379 def cut_edge(self, min_limit: float, hit_func_ids: Set[int]): argument
420 self.lib_name_to_id: Dict[str, int] = {}
423 def get_lib_id(self, lib_name: str) -> Optional[int]:
426 def add_lib(self, lib_name: str, build_id: str) -> int:
433 def get_lib(self, lib_id: int) -> LibInfo: argument
440 def __init__(self, lib_id: int, func_name: str, func_id: int, start_addr: int, addr_len: int): argument
454 self.name_to_func: Dict[Tuple[int, str], Function] = {}
455 self.id_to_func: Dict[int, Function] = {}
457 def get_func_id(self, lib_id: int, symbol: SymbolStruct) -> int: argument
468 def trim_functions(self, left_func_ids: Set[int]): argument
480 def __init__(self, file_id: int, abstract_path: str): argument
484 self.requested_lines: Optional[Set[int]] = set()
485 self.line_to_code: Dict[int, str] = {} # map from line to code in that line.
487 def request_lines(self, start_line: int, end_line: int): argument
690 hit_func_ids: Set[int] = set()
783 def add_disassembly(self, filter_lib: Callable[[str], bool], jobs: int): argument
790 lib_functions: Dict[int, List[Function]] = collections.defaultdict(list)
818 t = datetime.datetime.fromtimestamp(int(timestamp))
840 def _gen_process_names(self) -> Dict[int, str]:
841 process_names: Dict[int, str] = {}
847 def _gen_thread_names(self) -> Dict[int, str]:
848 thread_names: Dict[int, str] = {}
858 def _gen_function_map(self) -> Dict[int, Any]:
859 func_map: Dict[int, Any] = {}
974 '-j', '--jobs', type=int, default=os.cpu_count(),