respace.ResultSet.get_nth_last_time#

ResultSet.get_nth_last_time(res_name: str, n: int = 1) float[source]#

Get the computing time for the nth last computation of result res_name.

Parameters:
res_namestr

Name of the result for which to get the computing time.

nint

Negative index for which to get the computing time, meaning the method will return list_of_times[-n]. By default the time of the last computation will be returned.

Returns:
float

nth last computation time of result res_name