From a00411152f87155ce260c46c3a6d14c5a8b9a05d Mon Sep 17 00:00:00 2001 From: "dn337t@gmail.com" Date: Tue, 22 Oct 2013 12:14:32 +0000 Subject: [PATCH] use CLOCKS_PER_SEC instead of platform-specific hardcoded value --- client/cmdhfmf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2