Skip to content

Instantly share code, notes, and snippets.

@tjfontaine tjfontaine/vox.d Secret
Created May 9, 2013

What would you like to do?
pid$target::gettimeofday:entry {
self->tv = arg0;
pid$target::gettimeofday:return {
tv = (struct timeval *)copyin(self->tv, sizeof(struct timeval));
ms = ((tv->tv_sec * 1000) + (tv->tv_usec / 1000));
printf("%d\n", ms);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.