Changeset 1974620 for lib/trace.c
- Timestamp:
- 08/25/05 20:01:13 (17 years ago)
- 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:
- b5cd711
- Parents:
- 3073c04
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/trace.c
re01bfa8 r1974620 794 794 // seconds -> timestamp 795 795 seconds = packet->trace->format->get_seconds(packet); 796 timestamp = (( (uint32_t)seconds) << 32) + \796 timestamp = ((uint64_t)((uint32_t)seconds) << 32) + \ 797 797 (( seconds - (uint32_t)seconds ) * UINT_MAX); 798 798 }
Note: See TracChangeset
for help on using the changeset viewer.