]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhf14a.c
Provide msclock() as Milliseconds timer for performance measures (#231)
[proxmark3-svn] / client / cmdhf14a.c
index 3dc501d479f6baa9314e3765afa1f3a253d2a759..812db8ee0d85506630119de580162e2e4884dae4 100644 (file)
@@ -431,7 +431,7 @@ int CmdHF14ACUIDs(const char *Cmd)
        n = n > 0 ? n : 1;
 
        PrintAndLog("Collecting %d UIDs", n);
-       PrintAndLog("Start: %u", time(NULL));
+       PrintAndLog("Start: %" PRIu64, msclock()/1000);
        // repeat n times
        for (int i = 0; i < n; i++) {
                // execute anticollision procedure
@@ -454,7 +454,7 @@ int CmdHF14ACUIDs(const char *Cmd)
                        PrintAndLog("%s", uid_string);
                }
        }
-       PrintAndLog("End: %u", time(NULL));
+       PrintAndLog("End: %" PRIu64, msclock()/1000);
 
        return 1;
 }
Impressum, Datenschutz