parameters: (
          self,
          duration: str,
          rate: str,
          block_size: int,
          min_addr: int,
          max_addr: int,
          rd_perc: int,
          data_limit: int,
      )
docstring: This function will add the params for a linear traffic to the list of
          traffic params in this generator core. These params will be later
          resolved by the start_traffic call. This core uses a PyTrafficGen to
          create the traffic based on the specified params below.
  
          :param duration: The number of ticks for the generator core to generate
          traffic.
          :param rate: The rate at which the synthetic data is read/written.
          :param block_size: The number of bytes to be read/written with each
          request.
          :param min_addr: The lower bound of the address range the generator
          will read/write from/to.
          :param max_addr: The upper bound of the address range the generator
          will read/write from/to.
          :param rd_perc: The percentage of read requests among all the generated
          requests. The write percentage would be equal to 100 - rd_perc.
          :param data_limit: The amount of data in bytes to read/write by the
          generator before stopping generation.
docstring_summary: This function will add the params for a linear traffic to the list of
          traffic params in this generator core. These params will be later
          resolved by the start_traffic call. This core uses a PyTrafficGen to
          create the traffic based on the specified params below.
docstring_tokens: This function will add the params for a linear traffic to the list of traffic params in this generator core . These params will be later resolved by the start_traffic call . This core uses a PyTrafficGen to create the traffic based on the specified params below .
function: def add_linear(
          self,
          duration: str,
          rate: str,
          block_size: int,
          min_addr: int,
          max_addr: int,
          rd_perc: int,
          data_limit: int,
      ) -> None:
          """
          This function will add the params for a linear traffic to the list of
          traffic params in this generator core. These params will be later
          resolved by the start_traffic call. This core uses a PyTrafficGen to
          create the traffic based on the specified params below.
  
          :param duration: The number of ticks for the generator core to generate
          traffic.
          :param rate: The rate at which the synthetic data is read/written.
          :param block_size: The number of bytes to be read/written with each
          request.
          :param min_addr: The lower bound of the address range the generator
          will read/write from/to.
          :param max_addr: The upper bound of the address range the generator
          will read/write from/to.
          :param rd_perc: The percentage of read requests among all the generated
          requests. The write percentage would be equal to 100 - rd_perc.
          :param data_limit: The amount of data in bytes to read/write by the
          generator before stopping generation.
          """
          param = ComplexTrafficParams(
              TrafficModes.linear,
              duration,
              rate,
              block_size,
              min_addr,
              max_addr,
              rd_perc,
              data_limit,
          )
          self._traffic_params = self._traffic_params + [param]
          self._traffic_set = False
function_tokens: def add_linear ( self , duration : str , rate : str , block_size : int , min_addr : int , max_addr : int , rd_perc : int , data_limit : int , ) -> None : param = ComplexTrafficParams ( TrafficModes . linear , duration , rate , block_size , min_addr , max_addr , rd_perc , data_limit , ) self . _traffic_params = self . _traffic_params + [ param ] self . _traffic_set = False