fix api regression
This commit is contained in:
parent
82908badfd
commit
bf42de5698
@ -87,7 +87,7 @@ where
|
|||||||
{
|
{
|
||||||
fn compute( state: &S, entry: &mut Testcase<S::Input>) -> Result<f64, Error> {
|
fn compute( state: &S, entry: &mut Testcase<S::Input>) -> Result<f64, Error> {
|
||||||
let execs_per_hour = (3600.0/entry.exec_time().expect("testcase.exec_time is needed for scheduler").as_secs_f64());
|
let execs_per_hour = (3600.0/entry.exec_time().expect("testcase.exec_time is needed for scheduler").as_secs_f64());
|
||||||
let execs_times_length_per_hour = execs_per_hour*entry.cached_len().unwrap() as f64;
|
let execs_times_length_per_hour = execs_per_hour*entry.load_len(state.corpus()).unwrap() as f64;
|
||||||
Ok(execs_times_length_per_hour)
|
Ok(execs_times_length_per_hour)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user