Add a tracker for salts, amplifier and iterations to status screen

This commit is contained in:
jsteube
2018-08-18 01:41:07 +02:00
parent 6092308324
commit 27db8ced7e
6 changed files with 76 additions and 0 deletions
+3
View File
@@ -79,6 +79,9 @@ int status_get_cpt_avg_min (const hashcat_ctx_t *hashcat_
int status_get_cpt_avg_hour (const hashcat_ctx_t *hashcat_ctx);
int status_get_cpt_avg_day (const hashcat_ctx_t *hashcat_ctx);
char *status_get_cpt (const hashcat_ctx_t *hashcat_ctx);
int status_get_salt_pos_dev (const hashcat_ctx_t *hashcat_ctx, const int device_id);
int status_get_innerloop_pos_dev (const hashcat_ctx_t *hashcat_ctx, const int device_id);
int status_get_iteration_pos_dev (const hashcat_ctx_t *hashcat_ctx, const int device_id);
char *status_get_hwmon_dev (const hashcat_ctx_t *hashcat_ctx, const int device_id);
int status_get_corespeed_dev (const hashcat_ctx_t *hashcat_ctx, const int device_id);
int status_get_memoryspeed_dev (const hashcat_ctx_t *hashcat_ctx, const int device_id);
+8
View File
@@ -43,6 +43,11 @@ typedef uint16_t u16;
typedef uint32_t u32;
typedef uint64_t u64;
typedef int8_t i8;
typedef int16_t i16;
typedef int32_t i32;
typedef int64_t i64;
// timer
#if defined (_WIN)
@@ -1857,6 +1862,9 @@ typedef struct device_info
int kernel_loops_dev;
int kernel_threads_dev;
int vector_width_dev;
int salt_pos_dev;
int innerloop_pos_dev;
int iteration_pos_dev;
} device_info_t;