add_timings {dynwrap}R Documentation

Add timings to a trajectory

Description

Add timings to a trajectory

Helper function for storing timings information.

Usage

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.

Examples

trajectory <- example_trajectory
trajectory <- add_timings(
  trajectory,
  list(start = 0, end = 1)
)


[Package dynwrap version 1.2.2 Index]