Add timings to a trajectory
Add timings to a trajectory
Helper function for storing timings information.
add_timings(trajectory, timings) is_wrapper_with_timings(trajectory) add_timing_checkpoint(timings, name)
trajectory
: The trajectory as created by infer_trajectory()
or add_trajectory()
timings
: A list of timings.name
: The name of the timings checkpoint.A dynwrap object with the timings added.
trajectory <- example_trajectory trajectory <- add_timings( trajectory, list(start = 0, end = 1) )