Changeset e4e1635 for lib/trace.c


Ignore:
Timestamp:
03/07/06 10:43:20 (16 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:
b51edf5
Parents:
7ac9705
Message:

Minor cleanup
fix bug in trace_seek_timeval

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/trace.c

    r7ac9705 re4e1635  
    17831783                }
    17841784                if (trace->format->seek_seconds) {
    1785                         double seconds = tv.tv_sec + ((tv.tv_usec * UINT_MAX * 1.0)/1000000);
     1785                        double seconds = tv.tv_sec + ((tv.tv_usec * 1.0)/1000000);
    17861786                        return trace->format->seek_seconds(trace,seconds);
    17871787                }
Note: See TracChangeset for help on using the changeset viewer.