Skip to content

Instantly share code, notes, and snippets.

@LebedevRI
Created January 6, 2015 21:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LebedevRI/9f2829f31c53efc78c6e to your computer and use it in GitHub Desktop.
Save LebedevRI/9f2829f31c53efc78c6e to your computer and use it in GitHub Desktop.
perf
dt_times_t start;
dt_get_times(&start);
dt_times_t end;
dt_get_times(&end);
printf("%f, %f\n", end.clock - start.clock, end.user - start.user);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment