Skip to content

Commit

Permalink
Documentation for fromdump.hh
Browse files Browse the repository at this point in the history
  • Loading branch information
tbarbette authored Jul 26, 2023
1 parent 4aec317 commit 64d7f53
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions elements/userlevel/fromdump.hh
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,21 @@ This can result in slightly better performance on some machines. FromDump's
regular file discipline is pretty optimized, so the difference is often small
in practice. Default is true on most operating systems, but false on Linux.
=item ACCELERATION
Integer. Accelerate the timing of the trace, given in percent. Ineffective
if TIMING is not true. Defaults to 100, the original time.
=item TIMING_FNT
String. A function that can be used to change the ACCELERATION according to
the current time. The parsing uses TinyFNT and therefore follows the format.
The variable containing the time is x. E.g. "10 + min(90,10*x)" will have an
acceleration from 10 to 100% in 9 seconds. See @ReplayUnqueue for more details.
Ineffective if TIMING is not true. Defaults to an empty string (inactive).
=item BURST
Amount of packets to read and send together as a batch. Likely useless with TIMING, but can
enhance performance without TIMING when a trace is used to replay packets as fast as possible.
=back
You can supply at most one of START and START_AFTER, and at most one of END,
Expand Down

0 comments on commit 64d7f53

Please sign in to comment.