From: Jens Steube Date: Mon, 15 Feb 2016 11:38:54 +0000 (+0100) Subject: In benchmark-mode, do not depend any longer on a fixed time, better use a single... X-Git-Tag: v3.00-beta~284 X-Git-Url: https://www.flypig.org.uk/git/?a=commitdiff_plain;h=a9e3ef0576e409b914812c6b8653a0b026710433;p=hashcat.git In benchmark-mode, do not depend any longer on a fixed time, better use a single iteration instead --- diff --git a/src/oclHashcat.c b/src/oclHashcat.c index b229e77..888fc8e 100644 --- a/src/oclHashcat.c +++ b/src/oclHashcat.c @@ -3299,6 +3299,15 @@ static void run_cracker (hc_device_param_t *device_param, const uint pw_cnt, con { speed_pos = 0; } + + /** + * benchmark + */ + + if (data.benchmark == 1) + { + data.devices_status = STATUS_BYPASS; + }; } } @@ -6859,13 +6868,6 @@ int main (int argc, char **argv) data.workload_profile = workload_profile; } - - if (runtime_chgd == 0) - { - runtime = 17; - - data.runtime = runtime; - } } /**