Changeset 2adf051
- Timestamp:
- 12/06/05 10:14:09 (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:
- 0ef6536
- Parents:
- 3b8a5ef
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_wag.c
r3b8a5ef r2adf051 367 367 struct wag_data_frame *wagptr = (struct wag_data_frame *)packet->header; 368 368 uint64_t timestamp = 0; 369 timestamp = wagptr->ts.subsecs;369 timestamp = (wagptr->ts.secs << 32) + wagptr->ts.subsecs; 370 370 //timestamp |= (uint64_t)wagptr->ts.secs<<32; 371 timestamp = ((timestamp%44000000)*(UINT_MAX/44000000))372 | ((timestamp/44000000)<<32);371 //timestamp = ((timestamp%44000000)*(UINT_MAX/44000000)) 372 // | ((timestamp/44000000)<<32); 373 373 return timestamp; 374 374 }
Note: See TracChangeset
for help on using the changeset viewer.