vsoch / watchme

Reproducible watchers for research
https://vsoch.github.io/watchme/
Mozilla Public License 2.0
877 stars 32 forks source link

[watchme decorator] #39

Closed vsoch closed 5 years ago

vsoch commented 5 years ago

I should be able to decorate a function with a watchme task, meaning that (when the function runs) a watcher will be run at some interval for the duration of the function, and then commit at the end. The use case for this is running some long job or process, and then wanting to look at system resource usage as it runs.