Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting the lag value #23

Open
jochenonline opened this issue Aug 31, 2013 · 3 comments
Open

Getting the lag value #23

jochenonline opened this issue Aug 31, 2013 · 3 comments

Comments

@jochenonline
Copy link

Is there a chance to not only get a true or false on toobusy(), but also the measured lag time? This could be used to have a ongoing measurement of the loop's load.

@jaybaker
Copy link

jaybaker commented Sep 4, 2013

I'm adding a +1 for this. I would love to be able to get back a number. This could be <= to the threshold set. I would like to call toobusy(300) and plot the values over time.

@adrianpike
Copy link

+1 as well.

@adrianpike
Copy link

After some brief code spelunking, I realized it's already there:

toobusy = require 'toobusy'
toobusy.lag()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants