Lines Matching defs:tsresol
201 uint64_t tsresol; /* time stamp resolution */
203 uint64_t scale_factor; /* time stamp scale factor for power-of-10 tsresol */
460 process_idb_options(pcap_t *p, struct block_cursor *cursor, uint64_t *tsresol,
537 *tsresol = ((uint64_t)1) << tsresol_shift;
557 *tsresol = 1;
559 *tsresol *= 10;
595 uint64_t tsresol;
706 tsresol = 1000000; /* microsecond resolution */
714 if (process_idb_options(p, cursor, &tsresol, &tsoffset, &is_binary,
718 ps->ifaces[ps->ifcount - 1].tsresol = tsresol;
725 if (tsresol == ps->user_tsresol) {
731 } else if (tsresol > ps->user_tsresol) {
742 ps->ifaces[ps->ifcount - 1].scale_factor = tsresol/ps->user_tsresol;
756 ps->ifaces[ps->ifcount - 1].scale_factor = ps->user_tsresol/tsresol;
1384 sec = t / ps->ifaces[interface_id].tsresol + ps->ifaces[interface_id].tsoffset;
1385 frac = t % ps->ifaces[interface_id].tsresol;
1438 frac /= ps->ifaces[interface_id].tsresol;
1485 frac /= ps->ifaces[interface_id].tsresol;