Last active
April 6, 2021 19:04
-
-
Save Jaid/15a99df4b61b489c5c90f97efb9922b7 to your computer and use it in GitHub Desktop.
Global stopwatch for measuring execution run time in AutoHotkey v2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Stopwatch { | |
| time := false | |
| __New() { | |
| this.start() | |
| } | |
| start() { | |
| this.time := A_TickCount | |
| } | |
| end() { | |
| return A_TickCount - this.time | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment