add_timings function

Add timings to a trajectory

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)

Arguments

  • trajectory: The trajectory as created by infer_trajectory() or add_trajectory()
  • timings: A list of timings.
  • name: The name of the timings checkpoint.

Returns

A dynwrap object with the timings added.

Examples

trajectory <- example_trajectory trajectory <- add_timings( trajectory, list(start = 0, end = 1) )
  • Maintainer: Robrecht Cannoodt
  • License: MIT + file LICENSE
  • Last published: 2023-07-19