Skip to content

Latest commit

 

History

History
38 lines (28 loc) · 1.22 KB

README.md

File metadata and controls

38 lines (28 loc) · 1.22 KB

lazyprofiler

TravisCI CircleCI CodeCov Downloads

Lazy Profiler is a simple utility to collect CPU, GPU, RAM and GPU Memory stats while the program is running.

Installation

Use the package manager pip to install foobar.

pip install lazyprofiler

Usage

import lazyprofiler.GetStats as gs
pid = gs.start_log("test")
"""
Do something in between
"""
gs.stop_log(pid=pid)
gs.plot_stats('test')

Sample Output

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT