projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b241b4
)
In benchmark-mode, do not depend any longer on a fixed time, better use a single...
author
Jens Steube
<jens.steube@gmail.com>
Mon, 15 Feb 2016 11:38:54 +0000
(12:38 +0100)
committer
Jens Steube
<jens.steube@gmail.com>
Mon, 15 Feb 2016 11:38:54 +0000
(12:38 +0100)
src/oclHashcat.c
patch
|
blob
|
history
diff --git
a/src/oclHashcat.c
b/src/oclHashcat.c
index
b229e77
..
888fc8e
100644
(file)
--- 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;
- }
}
/**