Changeset cc9c9de for lib/libtrace.h.in


Ignore:
Timestamp:
05/18/18 11:39:59 (3 years ago)
Author:
Shane Alcock <salcock@…>
Branches:
cachetimestamps, develop, etsilive, master, rc-4.0.4, ringdecrementfix, ringperformance
Children:
1e0a804
Parents:
e732393
git-author:
Shane Alcock <salcock@…> (04/17/18 16:45:58)
git-committer:
Shane Alcock <salcock@…> (05/18/18 11:39:59)
Message:

Add new config option for trace_event() -- REPLAY_SPEEDUP

This allows users to specify a "speedup factor" when using
trace_event() to replay trace files, i.e. all inter-packet
gaps will be divided by the speedup factor. This allows traces
to be replayed faster, while still preserving the same relative
gaps between packets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    r991ff43 rcc9c9de  
    13201320        /** The hasher function for a parallel libtrace. It is recommended to
    13211321         * access this option via trace_set_hasher(). */
    1322         TRACE_OPTION_HASHER
     1322        TRACE_OPTION_HASHER,
     1323
     1324        /** Speed up trace file replays (via trace_event()) by this factor */
     1325        TRACE_OPTION_REPLAY_SPEEDUP,
    13231326} trace_option_t;
    13241327
Note: See TracChangeset for help on using the changeset viewer.