package bonsai
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=c78c4476ee6b856846e2d0941e5965009d5e1b853e564b2b1bee61202f0b1ebb
doc/bonsai.bench/Bonsai_bench/Interaction/index.html
Module Bonsai_bench.InteractionSource
A 'action Interaction.t represents an interaction that occurs with a Component whose action type is 'action.
change_input sets the given Var.t to the supplied value.
inject calls the inject_action function for the component being benchmarked with the supplied action.
advance_clock_by advances the current clock by the supplied amount. Note that the clock is not reset between benchmark runs.
stabilize forces a stabilization of the incremental graph for the component being benchmarked.
reset_model resets the benchmarked component's model back to the value it was at the beginning of the benchmark.
profile indicates that the profile function below should print a snapshot of the time spent in each part of your computation since the previous snapshot.
Note: profiling interactions are filtered out in benchmark runs, so you needn't worry about
many is used to create lists of interactions all at once. Interactions created this way will get flattened prior to benchmark runtime, so that there isn't performance cost to using the constructor.