979 assert(offset <= line_size);
981 int const last_view = boost::chrono::duration_cast<boost::chrono::seconds>(
985 int const size = snprintf(
988 "%-9d %-17s %-8s %-6u %7.2f, %7.2f, %7.2f kHz %4d sec ago %s %lld ms",
990 it->mac_address().c_str(),
997 it->syncd() ?
"*" :
" ",
998 it->avg_delta_time());
1000 if (offset < std::min(line_size, size)) {
1002 wattron(win, A_REVERSE);
1004 wattroff(win, A_REVERSE);
1008 wattron(win, NOSYNC);
1012 wattron(win, HIRATE);
1015 if (last_view > 2) {
1016 wattron(win, NODATA);
1019 wprintw(win,
"%s", &buffer[offset]);
1021 if (size > line_size) {
1026 wattrset(win, GROUND);
static const int default_hit_counter_threshold