Lines Matching defs:self
41 def __init__(self, output_path: Union[Path, str]): argument
45 def close(self): argument
48 def open_tag(self, tag: str, **attrs: Dict[str, str]) -> HtmlWriter: argument
56 def close_tag(self, tag: Optional[str] = None): argument
61 def add(self, text: str) -> HtmlWriter: argument
65 def add_file(self, file_path: Union[Path, str]) -> HtmlWriter: argument
84 def __init__(self, name: str): argument
90 def get_process(self, pid: int) -> ProcessScope: argument
96 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument
106 def threads(self) -> Iterator[ThreadScope]: argument
112 def libraries(self) -> Iterator[LibScope]: argument
121 def __init__(self, pid: int): argument
127 def get_thread(self, tid: int, thread_name: str) -> ThreadScope: argument
136 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument
146 def merge_by_thread_name(self, process: ProcessScope): argument
164 def __init__(self, tid: int): argument
174 self, event_count: int, callstack: List[Tuple[int, int, int]], argument
207 def update_subtree_event_count(self): argument
211 def limit_percents(self, min_func_limit: float, min_callchain_percent: float, argument
226 def get_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument
237 def merge(self, thread: ThreadScope): argument
252 def __init__(self, lib_id: int): argument
257 def get_function(self, func_id: int) -> FunctionScope: argument
263 def gen_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument
271 def merge(self, lib: LibScope): argument
283 def __init__(self, func_id: int): argument
292 def build_addr_hit_map(self, addr: int, event_count: int, subtree_event_count: int): argument
302 def build_line_hit_map(self, source_file_id: int, line: int, event_count: int, argument
314 def gen_sample_info(self, gen_addr_hit_map: bool) -> Dict[str, Any]: argument
336 def merge(self, function: FunctionScope): argument
362 def __init__(self, func_id: int): argument
369 def get_child(self, func_id: int) -> CallNode: argument
375 def update_subtree_event_count(self): argument
381 def cut_edge(self, min_limit: float, hit_func_ids: Set[int]): argument
393 def gen_sample_info(self) -> Dict[str, Any]: argument
401 def merge(self, node: CallNode): argument
421 def __init__(self): argument
425 def get_lib_id(self, lib_name: str) -> Optional[int]: argument
428 def add_lib(self, lib_name: str, build_id: str) -> int: argument
435 def get_lib(self, lib_id: int) -> LibInfo: argument
442 def __init__(self, lib_id: int, func_name: str, func_id: int, start_addr: int, addr_len: int): argument
455 def __init__(self): argument
459 def get_func_id(self, lib_id: int, symbol: SymbolStruct) -> int: argument
470 def trim_functions(self, left_func_ids: Set[int]): argument
482 def __init__(self, file_id: int, abstract_path: str): argument
489 def request_lines(self, start_line: int, end_line: int): argument
492 def add_source_code(self, real_path: str): argument
507 def __init__(self): argument
510 def get_source_file(self, file_path: str) -> SourceFile: argument
517 def load_source_code(self, source_dirs: List[str]): argument
606 self, binary_cache_path: Optional[str], argument
623 def load_record_file(self, record_file: str, report_lib_options: ReportLibOptions): argument
674 def aggregate_by_thread_name(self): argument
687 def limit_percents(self, min_func_percent: float, min_callchain_percent: float): argument
707 def _get_event(self, event_name: str) -> EventScope: argument
712 def add_source_code(self, source_dirs: List[str], filter_lib: Callable[[str], bool], jobs: int): argument
781 def add_disassembly(self, filter_lib: Callable[[str], bool], jobs: int): argument
813 def gen_record_info(self) -> Dict[str, Any]: argument
842 def _gen_process_names(self) -> Dict[int, str]: argument
849 def _gen_thread_names(self) -> Dict[int, str]: argument
857 def _gen_lib_list(self) -> List[str]: argument
860 def _gen_function_map(self) -> Dict[int, Any]: argument
879 def _gen_sample_info(self) -> List[Dict[str, Any]]: argument
883 def _gen_source_files(self) -> List[Dict[str, Any]]: argument
917 def __init__(self, html_path: Union[Path, str]): argument
938 def write_content_div(self): argument
941 def write_record_data(self, record_data: Dict[str, Any]): argument
946 def write_script(self): argument
949 def finish(self): argument