Multiply SPEED in machine-readable status output with 1000, making it more accurate if performance is < 1H/ms

pull/1302/head
jsteube 7 years ago
parent eae9329761
commit be4076cba6

@ -645,10 +645,10 @@ void status_display_machine_readable (hashcat_ctx_t *hashcat_ctx)
if (device_info->skipped_dev == true) continue;
printf ("%" PRIu64 "\t", (u64) device_info->hashes_msec_dev);
printf ("%" PRIu64 "\t", (u64) (device_info->hashes_msec_dev * 1000));
// that 1\t is for backward compatibility
printf ("1\t");
printf ("1000\t");
}
printf ("EXEC_RUNTIME\t");

Loading…
Cancel
Save