INNER CODE UNIT · Python

color

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

    def color(self, color: Color) -> None:
        self._color(int(color))

    def __enter__(self):
        self.enter()
        return self

    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,
):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…