From 9f64f9e705f5c73ccbbae40d2abfa2acbb73a1ce Mon Sep 17 00:00:00 2001 From: jsteube Date: Thu, 29 Dec 2016 19:07:05 +0100 Subject: [PATCH] Removed *throttled* message from NVML as this created more confusion than it helped --- docs/changes.txt | 1 + src/status.c | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index abae67a40..b3e383553 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -36,6 +36,7 @@ - Hardware management: Switched matching NvAPI device with OpenCL device by using PCI bus, device and function - Hardware management: Switched matching NVML device with OpenCL device by using PCI bus, device and function - Hardware management: Switched matching xnvctrl device with OpenCL device by using PCI bus, device and function +- Hardware management: Removed *throttled* message from NVML as this created more confusion than it helped - Hash Parser: Improved error detection of invalid hex characters where hex character are expected - OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.50 is detected which is known to be broken - Potfile: In v3.10 already, the default potfile suffix changed but the note about was missing. The "hashcat.pot" became "hashcat.potfile" diff --git a/src/status.c b/src/status.c index 391bb27cb..0cdb52b50 100644 --- a/src/status.c +++ b/src/status.c @@ -1592,7 +1592,6 @@ char *status_get_hwmon_dev (const hashcat_ctx_t *hashcat_ctx, const int device_i const int num_corespeed = hm_get_corespeed_with_device_id ((hashcat_ctx_t *) hashcat_ctx, device_id); const int num_memoryspeed = hm_get_memoryspeed_with_device_id ((hashcat_ctx_t *) hashcat_ctx, device_id); const int num_buslanes = hm_get_buslanes_with_device_id ((hashcat_ctx_t *) hashcat_ctx, device_id); - const int num_throttle = hm_get_throttle_with_device_id ((hashcat_ctx_t *) hashcat_ctx, device_id); int output_len = 0; @@ -1626,11 +1625,6 @@ char *status_get_hwmon_dev (const hashcat_ctx_t *hashcat_ctx, const int device_i output_len += snprintf (output_buf + output_len, HCBUFSIZ_TINY - output_len, "Lanes:%d ", num_buslanes); } - if (num_throttle >= 0) - { - output_len += snprintf (output_buf + output_len, HCBUFSIZ_TINY - output_len, "*Throttled* "); - } - if (output_len > 0) { // trims the trailing space