Buckets:
ktongue/docker_container / .vscode-server /extensions /ms-python.debugpy-2025.18.0 /bundled /libs /debugpy /common /timestamp.py
| # Copyright (c) Microsoft Corporation. All rights reserved. | |
| # Licensed under the MIT License. See LICENSE in the project root | |
| # for license information. | |
| """Provides monotonic timestamps with a resetable zero. | |
| """ | |
| import time | |
| __all__ = ["current", "reset"] | |
| def current(): | |
| return time.monotonic() - timestamp_zero | |
| def reset(): | |
| global timestamp_zero | |
| timestamp_zero = time.monotonic() | |
| reset() | |
Xet Storage Details
- Size:
- 432 Bytes
- Xet hash:
- a42dd53a6c16bd0bf64f9d27dc7a1f53bc23d64aa7bbc18da864e7aadfdcebdc
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.