1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
from pathlib import PurePath
from typing import Dict
from typing import List
from typing import Callable
from typing import Union
from _typeshed import Incomplete
class GlobalProfiler:
setup_config: Dict[str, List[str]]
output_prefix: str
write_config: Dict[str, bool]
show_config: Dict[str, bool]
enabled: bool | None
def __init__(self,
config: Union[str, PurePath, bool, None] = None) -> None:
...
def enable(self, output_prefix: Incomplete | None = ...) -> None:
...
def disable(self) -> None:
...
def __call__(self, func: Callable) -> Callable:
...
def show(self) -> None:
...
profile: Incomplete
|