Skip to content

Instantly share code, notes, and snippets.

@dwabyick
Created January 15, 2015 05:02
Show Gist options
  • Select an option

  • Save dwabyick/0a06238e3134a3da85c6 to your computer and use it in GitHub Desktop.

Select an option

Save dwabyick/0a06238e3134a3da85c6 to your computer and use it in GitHub Desktop.

Revisions

  1. Daniel Wabyick created this gist Jan 15, 2015.
    2 changes: 2 additions & 0 deletions gistfile1.cpp
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    unsigned long clicks = clock() - g_timer;
    NSLog(@"It took me %ld clicks (%f msec).\n",clicks,1000*((float)clicks)/CLOCKS_PER_SEC);