X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=include%2Ftypes.h;h=34871067c85e6d7a8f04522f7e3492c73fd72974;hb=96ef26132622b8b6624a53cc7639783ec072d13e;hp=476669639a08b2534b8cfd07a487d6585168375b;hpb=01baa89bc01d45a50c654a6f39c2d0d9ffd1fbbf;p=hashcat.git diff --git a/include/types.h b/include/types.h index 4766696..3487106 100644 --- a/include/types.h +++ b/include/types.h @@ -955,9 +955,18 @@ struct __hc_device_param uint exec_pos; double exec_ms[EXEC_CACHE]; + // this is "average" speed, we'll use this for benchmark and final status screen + + u64 speed_cnt_total; + double speed_ms_total; + + // this is "current" speed + uint speed_pos; u64 speed_cnt[SPEED_CACHE]; - float speed_ms[SPEED_CACHE]; + double speed_ms[SPEED_CACHE]; + + // speed_rec is what additionally limits the "current" speed in time, not array elements hc_timer_t speed_rec[SPEED_CACHE]; @@ -1291,7 +1300,7 @@ typedef struct hc_timer_t timer_running; // timer on current dict hc_timer_t timer_paused; // timer on current dict - float ms_paused; // timer on current dict + double ms_paused; // timer on current dict /** * hash_info and username