Python package for timing and profiling code execution, with GPU support.
Project description
chronos-profiler
Python package for timing and profiling code execution, with GPU support.
Installation
pip install chronos-profiler
For cupy GPU support:
pip install chronos-profiler[cupy]
Other GPU extras: cupy11, cupy12, cupy13.
Usage
import chronos
# Enable timing globally
chronos.timer_utils.toggle_timer(True)
# Decorate functions to time them
@chronos.timer_utils.timer()
def my_function():
...
# Access recorded times
print(chronos.timer_utils.ELAPSED_TIME_DICT)
# Save and plot results
chronos.io.save(...)
chronos.plotting.plot(...)
# Clear saved results
chronos.timer_utils.clear_time_globals()
License
Apache 2.0 — Copyright © 2026 UChicago Argonne, LLC
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
chronos_profiler-1.0.0.tar.gz
(13.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file chronos_profiler-1.0.0.tar.gz.
File metadata
- Download URL: chronos_profiler-1.0.0.tar.gz
- Upload date:
- Size: 13.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
286aade08fdb1a32d05a817b54f39ba8d24cdc7005f9e0fdb0179ea04ccae9ac
|
|
| MD5 |
8b46b4ce864d8fc32997acb2d658d1c9
|
|
| BLAKE2b-256 |
3318282b4fab16b9f69e76e387875b713f21c487e6f3ef5ee01ac3fa3301f16a
|
File details
Details for the file chronos_profiler-1.0.0-py3-none-any.whl.
File metadata
- Download URL: chronos_profiler-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
208a542590a155a910a03cab02227f95c65de0ad438b5ab0c14cc9d6d061d4f3
|
|
| MD5 |
de91eb83b4ec8f398c0f518d34476a1d
|
|
| BLAKE2b-256 |
aebc91207b2ddb22e92c7babe0634010e8abd5b726752d208888cd3285d6a3c4
|