INNER CODE UNIT · Python

__exit__

Hekbas/Luth · luth/extern/source/tracy/python/tracy_client/scoped.py:46

    def __exit__(self, *args):
        self.exit()


def ScopedZoneDecorator(
    name: Optional[str] = None,
    color: Color = 0,
    depth: Optional[int] = None,
    active: bool = True,
    class_name: Optional[str] = None,
):

    def decorator(function: Callable):
        if not is_enabled():
            return function

        source = function.__name__
        if class_name is not None:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…