Skip to content

Easy profiler is a forked version of Lazy Profiler which is a simple utility to collect CPU, GPU, RAM and GPU Memory stats while the program is running.

License

Notifications You must be signed in to change notification settings

damianospark/eazyprofiler

 
 

Repository files navigation

eazyprofiler


Easy profiler is a forked version of Lazy Profiler which is a simple utility to collect CPU, GPU, RAM and GPU Memory stats while the program is running.

This project is forked from shankarpandala's repository shankarpandala/lazyprofiler to append recording interval argument. More feature and usage will be appended for simpler and faster profiling in many ways

Installation

Use the package manager pip to install eazyprofiler.

pip install eazyprofiler

Usage

logging interval can be set in start_log as seconds. Shorter interval than a second can be set with decimal expression (ex. 0.2=200 milliseconds)

import eazyprofiler.GetStats as gs
pid = gs.start_log("test",2)
"""
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

About

Easy profiler is a forked version of Lazy Profiler which is a simple utility to collect CPU, GPU, RAM and GPU Memory stats while the program is running.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%