From daddffa3dc4e32edac79c0c8c2c45c6b8e6dfa7e Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 30 Nov 2016 15:36:51 +0100 Subject: [PATCH] Status view: Show core-clock, memory-clock and execution time in benchmark-mode in case --machine-readable is activated --- docs/changes.txt | 2 +- src/terminal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index ab655ca54..5e97d86f9 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -20,7 +20,7 @@ The CLI (hashcat.bin or hashcat.exe) works as before but from a technical perspe - Password candidates: Do not use $HEX[] if the password candidate is a valid UTF-8 string and print out as-is - Pause mode: Allow quit program also if in pause mode - Pause mode: Ignore runtime limit in pause mode -- Status view: Show core-clock and memory-clock while in benchmark-mode in case --machine-readable is set +- Status view: Show core-clock, memory-clock and execution time in benchmark-mode in case --machine-readable is activated - Status view: Show temperature, coreclock, memoryclock, fanspeed and pci-lanes for devices using AMDGPU-Pro driver - Status view: Show the current first and last password candidate test queued for execution per device (as in JtR) - Status view: Show the current position in the queue for both base and modifier (Example: Wordlist 2/5) diff --git a/src/terminal.c b/src/terminal.c index b96a11356..2a954b483 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -1066,7 +1066,7 @@ void status_benchmark_automate (hashcat_ctx_t *hashcat_ctx) if (device_info->skipped_dev == true) continue; - event_log_info (hashcat_ctx, "%u:%u:%d:%d:%" PRIu64, device_id + 1, hash_mode, device_info->corespeed_dev, device_info->memoryspeed_dev, (u64) (device_info->hashes_msec_dev_benchmark * 1000)); + event_log_info (hashcat_ctx, "%u:%u:%d:%d:%.2f:%" PRIu64, device_id + 1, hash_mode, device_info->corespeed_dev, device_info->memoryspeed_dev, device_info->exec_msec_dev, (u64) (device_info->hashes_msec_dev_benchmark * 1000)); } hcfree (hashcat_status);