Changeset 1aa4bf7 for lib/libtrace.h.in


Ignore:
Timestamp:
04/03/09 14:22:52 (12 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
327b1df
Parents:
af0918a
Message:

Support using timespec's for dealing with traces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/libtrace.h.in

    raf0918a r1aa4bf7  
    15571557struct timeval trace_get_timeval(const libtrace_packet_t *packet);
    15581558
     1559/** Get the current time in struct timespec
     1560 * @param packet        the packet opaque pointer
     1561 *
     1562 * @return time that this packet was seen in a struct timespec
     1563 */
     1564DLLEXPORT SIMPLE_FUNCTION
     1565struct timespec trace_get_timespec(const libtrace_packet_t *packet);
     1566
    15591567/** Get the current time in floating point seconds
    15601568 * @param packet        the packet opaque pointer
Note: See TracChangeset for help on using the changeset viewer.