lazyprofiler

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')

lazyprofiler

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.

GitHub

https://github.com/shankarpandala/lazyprofiler