Sign in to follow this  
Followers 0
4b0082

Is there a way to see how long a script has been running?

2 posts in this topic

I'm trying to monitor a loop and tweak it to make it faster, but I need to know how long each loop is running. Is there a way I can have the script run time displayed?

Share this post


Link to post
Share on other sites



Sure, providing you script something initially into the program.

You could have a Label or Input display the Loop time, by using the appropriate Time macros or Timer functions and division.

i.e. you store the start time as a variable, and remove that from current time at the end of loop, displaying result in Label/Input.

Alternatively, you can have those times written to file (INI) to check afterward.

Most probably use TimerInit and TimerDiff.


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

What is the Secret Key? Life is like a Donut

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox (be advised many downloads are not working due to ISP screwup with my storage)

userbar.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0