]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
use CLOCKS_PER_SEC instead of platform-specific hardcoded value
authordn337t@gmail.com <dn337t@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Tue, 22 Oct 2013 12:14:32 +0000 (12:14 +0000)
committerdn337t@gmail.com <dn337t@gmail.com@ef4ab9da-24cd-11de-8aaa-f3a34680c41f>
Tue, 22 Oct 2013 12:14:32 +0000 (12:14 +0000)
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