Download third_party/tracy/python/tracy_client/tracy.py from kimjunhan/vkgs-sim: direct link, hf CLI and curl.
- Browser
- Download file 709 Bytes
-
https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/tracy/python/tracy_client/tracy.py
- Command line
-
hf download hf://kimjunhan/vkgs-sim/third_party/tracy/python/tracy_client/tracy.py
-
curl -L -o tracy.py https://huggingface.co/kimjunhan/vkgs-sim/resolve/main/third_party/tracy/python/tracy_client/tracy.py
709 Bytes
| # -*- coding: utf-8 -*- | |
| from typing import Optional, Union | |
| from tracy_client.TracyClientBindings import ( | |
| is_enabled, | |
| program_name, | |
| thread_name, | |
| app_info, | |
| ColorType, | |
| PlotFormatType, | |
| frame_mark, | |
| frame_mark_start, | |
| frame_mark_end, | |
| frame_image, | |
| alloc, | |
| free, | |
| message, | |
| plot, | |
| _plot_config, | |
| ) | |
| from tracy_client.scoped import ( | |
| Color, | |
| ScopedZone, | |
| ScopedFrame, | |
| ScopedZoneDecorator, | |
| ScopedFrameDecorator, | |
| ) | |
| PlotType = Union[int, PlotFormatType] | |
| def plot_config( | |
| name: str, type: PlotType, step: bool = False, flip: bool = False, color: Color = 0 | |
| ) -> Optional[int]: | |
| return _plot_config(name, int(type), step, flip, int(color)) | |