Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chronos_profiler-1.0.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

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

Hashes for chronos_profiler-1.0.0.tar.gz
Algorithm Hash digest
SHA256 286aade08fdb1a32d05a817b54f39ba8d24cdc7005f9e0fdb0179ea04ccae9ac
MD5 8b46b4ce864d8fc32997acb2d658d1c9
BLAKE2b-256 3318282b4fab16b9f69e76e387875b713f21c487e6f3ef5ee01ac3fa3301f16a

See more details on using hashes here.

File details

Details for the file chronos_profiler-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for chronos_profiler-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 208a542590a155a910a03cab02227f95c65de0ad438b5ab0c14cc9d6d061d4f3
MD5 de91eb83b4ec8f398c0f518d34476a1d
BLAKE2b-256 aebc91207b2ddb22e92c7babe0634010e8abd5b726752d208888cd3285d6a3c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page