https://github.com/damianospark/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.
https://github.com/damianospark/eazyprofiler
cpu gpu logging memory monitoring profiling usage
Last synced: 27 days ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/damianospark/eazyprofiler
- Owner: damianospark
- License: mit
- Fork: true (shankarpandala/lazyprofiler)
- Created: 2021-08-22T05:24:11.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-08-22T10:22:49.000Z (over 4 years ago)
- Last Synced: 2025-09-27T20:28:55.415Z (5 months ago)
- Topics: cpu, gpu, logging, memory, monitoring, profiling, usage
- Language: Python
- Homepage:
- Size: 126 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/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](https://pip.pypa.io/en/stable/) to install eazyprofiler.
```bash
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)
```python
import eazyprofiler.GetStats as gs
pid = gs.start_log("test",2)
"""
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](https://choosealicense.com/licenses/mit/)