Buckets:
MisterAI/LocalAI_Demo_backends / cpu-diffusers.upgrade-tmp /venv /lib /python3.10 /site-packages /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:
- 410 Bytes
- Xet hash:
- 43da92803082903a2d318f1272c7ace3f672eb3813f74ef0b75727c77244ce0e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.