Skip to content

Instantly share code, notes, and snippets.

@sumoward
Created July 9, 2014 11:31
Show Gist options
  • Save sumoward/d4213f17d6106f663670 to your computer and use it in GitHub Desktop.
Save sumoward/d4213f17d6106f663670 to your computer and use it in GitHub Desktop.
t0= time.clock()
do_something()
t= time.clock() - t0 # t is wall seconds elapsed (floating point)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment