Skip to content

Instantly share code, notes, and snippets.

@Jaid
Last active April 6, 2021 19:04
Show Gist options
  • Select an option

  • Save Jaid/15a99df4b61b489c5c90f97efb9922b7 to your computer and use it in GitHub Desktop.

Select an option

Save Jaid/15a99df4b61b489c5c90f97efb9922b7 to your computer and use it in GitHub Desktop.
Global stopwatch for measuring execution run time in AutoHotkey v2
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