module Syskit::NetworkGeneration
Namespace for all the functionality that allows to generate a complete network from a set of requirements
Attributes
buffer_size_margin[R]
Margin that should be added to the computed buffer sizes. It is a ratio of the optimal buffer size
I.e. if a connection requires 5 buffers and that value is 0.1, then the actual buffer size will be 6 (it is rounded upwards).
If the buffer size is 400, then 440 will be used in the end
The default is 0.1 (10%)
Public Class Methods
buffer_size_margin=(value)
click to toggle source
Sets the margin that should be added to the computed buffer sizes
See buffer_size_margin for more explanations
# File lib/syskit/network_generation/dataflow_dynamics.rb, line 18 def buffer_size_margin=(value) value = Float(value) if value < 0 raise ArgumentError, "only positive values can be used as buffer_size_margin, got #{value}" end @buffer_size_margin = Float(value) end