From: dn337t@gmail.com Date: Tue, 22 Oct 2013 12:14:32 +0000 (+0000) Subject: use CLOCKS_PER_SEC instead of platform-specific hardcoded value X-Git-Tag: v1.0.0~30 X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/a00411152f87155ce260c46c3a6d14c5a8b9a05d use CLOCKS_PER_SEC instead of platform-specific hardcoded value --- diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 74382886..86fbe8df 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -853,7 +853,7 @@ int CmdHF14AMfNested(const char *Cmd) } } - printf("Time in nested: %1.3f (%1.3f sec per key)\n\n", ((float)clock() - time1)/1000.0, ((float)clock() - time1)/iterations/1000.0); + printf("Time in nested: %1.3f (%1.3f sec per key)\n\n", ((float)clock() - time1)/CLOCKS_PER_SEC, ((float)clock() - time1)/iterations/CLOCKS_PER_SEC); PrintAndLog("-----------------------------------------------\nIterations count: %d\n\n", iterations); //print them