]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmf.c
use CLOCKS_PER_SEC instead of platform-specific hardcoded value
[proxmark3-svn] / client / cmdhfmf.c
index 74382886bafcd8d16076aaeed0cc3f6e3a0007f5..86fbe8df558fee3729e1a1dddea8b61fe2bfe922 100644 (file)
@@ -853,7 +853,7 @@ int CmdHF14AMfNested(const char *Cmd)
                        }\r
                }\r
 \r
-               printf("Time in nested: %1.3f (%1.3f sec per key)\n\n", ((float)clock() - time1)/1000.0, ((float)clock() - time1)/iterations/1000.0);\r
+               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);\r
                \r
                PrintAndLog("-----------------------------------------------\nIterations count: %d\n\n", iterations);\r
                //print them\r
Impressum, Datenschutz