Searched refs:nsec (Results 1 - 7 of 7) sorted by relevance

/trex/src/dpdk/lib/librte_eal/common/include/
H A Drte_time.h50 uint64_t nsec; member in struct:rte_timecounter
99 tc->nsec += ns_offset;
101 return tc->nsec;
117 rte_ns_to_timespec(uint64_t nsec) argument
121 if (nsec == 0)
124 ts.tv_sec = nsec / NSEC_PER_SEC;
125 ts.tv_nsec = nsec % NSEC_PER_SEC;
/trex/src/common/
H A DcaptureFile.h76 CPktNsecTimeStamp(uint32_t sec,uint32_t nsec){ argument
78 m_time_nsec =nsec;
80 CPktNsecTimeStamp(double nsec){ argument
81 m_time_sec = (uint32_t)floor (nsec);
82 nsec -= m_time_sec;
83 m_time_nsec = (uint32_t)floor(nsec*_NSEC_TO_SEC);
H A Derf.cpp169 int erf_read(wtap *wth,char *p,uint32_t *sec,uint32_t *nsec, uint8_t *interface) argument
216 *nsec = (uint32_t) (usec_frac);
H A Derf.h215 int erf_read(wtap *wth,char *p,uint32_t *sec,uint32_t *nsec);
/trex/src/dpdk/drivers/net/e1000/
H A Digb_ethdev.c4846 adapter->systime_tc.nsec += delta;
4847 adapter->rx_tstamp_tc.nsec += delta;
4848 adapter->tx_tstamp_tc.nsec += delta;
4863 adapter->systime_tc.nsec = ns;
4864 adapter->rx_tstamp_tc.nsec = ns;
4865 adapter->tx_tstamp_tc.nsec = ns;
/trex/src/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.c6865 adapter->systime_tc.nsec += delta;
6866 adapter->rx_tstamp_tc.nsec += delta;
6867 adapter->tx_tstamp_tc.nsec += delta;
6881 adapter->systime_tc.nsec = ns;
6882 adapter->rx_tstamp_tc.nsec = ns;
6883 adapter->tx_tstamp_tc.nsec = ns;
/trex/src/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c9379 adapter->systime_tc.nsec += delta;
9380 adapter->rx_tstamp_tc.nsec += delta;
9381 adapter->tx_tstamp_tc.nsec += delta;
9396 adapter->systime_tc.nsec = ns;
9397 adapter->rx_tstamp_tc.nsec = ns;
9398 adapter->tx_tstamp_tc.nsec = ns;

Completed in 29 milliseconds