mirror of
https://github.com/hashcat/hashcat
synced 2025-03-01 03:23:02 +01:00
In benchmark-mode, do not depend any longer on a fixed time, better use a single iteration instead
This commit is contained in:
parent
4b241b42ea
commit
a9e3ef0576
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user