cumtime-0.3.0
توضیحات
Cumulative measurement of execution time
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cumtime-0.3.0 |
| نام | cumtime |
| نسخه کتابخانه | 0.3.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Atsuo Ishimoto |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/atsuoishimoto/cumtime.py |
| آدرس اینترنتی | https://pypi.org/project/cumtime/ |
| مجوز | - |
# Cumtime
```
import cumtime
cumtime.register('cum')
with c('t1'):
time.sleep(0.01)
cum.begin('t1')
time.sleep(0.01)
cum.end()
print(cum)
# t1: sum:0.02 n:2 ave:0.01'
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl cumtime-0.3.0:
pip install cumtime-0.3.0.whl
نصب پکیج tar.gz cumtime-0.3.0:
pip install cumtime-0.3.0.tar.gz