lazyprofiler

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

MIT License

Downloads
32
Stars
35
Committers
1

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

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