get_time_est
get_time_est
Description
Returns a simulator estimate of the amount of time it will take to execute a task.
Signature
get_time_est(self, task: Callable, args_list: Optional[List[Any]] = None, kwargs_dict: Optional[Dict[str, Any]] = None) -> float
Parameters
task: Callable
The function, generator, or task whose time to estimate.
args_list: Optional[List[Any]]
List of positional arguments to pass to the task.
kwargs_dict: Optional[Dist[str, Any]]
Dictionary of keyword arguments to pass to the task, keys are the keywords, values are the arguments themselves.
Returns
float
Estimated time in seconds.