Learn R Programming

dynwrap (version 1.2.4)

add_timings: 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)

Value

A dynwrap object with the timings added.

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

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

Run the code above in your browser using DataLab