Lines Matching refs:max_data_string
141 uint8_t max_data_string; member
173 { {.name = "Thread name", .max_data_string = MAX_THREAD_NAME_LEN},
174 {.name = "Core", .max_data_string = MAX_CORE_STR_LEN},
175 {.name = "Active pollers", .max_data_string = MAX_POLLER_TYPE_COUNT_STR_LEN},
176 {.name = "Timed pollers", .max_data_string = MAX_POLLER_TYPE_COUNT_STR_LEN},
177 {.name = "Paused pollers", .max_data_string = MAX_POLLER_TYPE_COUNT_STR_LEN},
178 {.name = "Idle [us]", .max_data_string = MAX_TIME_STR_LEN},
179 {.name = "Busy [us]", .max_data_string = MAX_TIME_STR_LEN},
180 {.name = "CPU %", .max_data_string = MAX_FLOAT_STR_LEN},
181 {.name = "Status", .max_data_string = MAX_STATUS_IND_STR_LEN},
184 { {.name = "Poller name", .max_data_string = MAX_POLLER_NAME_LEN},
185 {.name = "Type", .max_data_string = MAX_POLLER_TYPE_STR_LEN},
186 {.name = "On thread", .max_data_string = MAX_THREAD_NAME_LEN},
187 {.name = "Run count", .max_data_string = MAX_POLLER_RUN_COUNT},
188 {.name = "Period [us]", .max_data_string = MAX_PERIOD_STR_LEN},
189 {.name = "Status (busy count)", .max_data_string = MAX_POLLER_IND_STR_LEN},
192 { {.name = "Core", .max_data_string = MAX_CORE_STR_LEN},
193 {.name = "Threads", .max_data_string = MAX_THREAD_COUNT_STR_LEN},
194 {.name = "Pollers", .max_data_string = MAX_POLLER_COUNT_STR_LEN},
195 {.name = "Idle [us]", .max_data_string = MAX_TIME_STR_LEN},
196 {.name = "Busy [us]", .max_data_string = MAX_TIME_STR_LEN},
197 {.name = "Busy %", .max_data_string = MAX_FLOAT_STR_LEN},
198 {.name = "Status", .max_data_string = MAX_STATUS_IND_STR_LEN},
199 {.name = "Intr", .max_data_string = MAX_INTR_LEN},
200 {.name = "Sys %", .max_data_string = MAX_FLOAT_STR_LEN},
201 {.name = "Irq %", .max_data_string = MAX_FLOAT_STR_LEN},
202 {.name = "CPU %", .max_data_string = MAX_FLOAT_STR_LEN},
203 {.name = "Freq [MHz]", .max_data_string = MAX_CORE_FREQ_STR_LEN},
1226 offset += col_desc[j - 1].max_data_string; in draw_tabs()
1231 draw_offset = offset + (col_desc[i].max_data_string / 2) - (col_desc[i].name_len / 2); in draw_tabs()
1346 col_desc[COL_THREADS_NAME].max_data_string, ALIGN_LEFT, g_threads_info[current_row].name); in draw_thread_tab_row()
1347 col += col_desc[COL_THREADS_NAME].max_data_string; in draw_thread_tab_row()
1353 col, col_desc[COL_THREADS_CORE].max_data_string, ALIGN_RIGHT, core_str); in draw_thread_tab_row()
1354 col += col_desc[COL_THREADS_CORE].max_data_string + 2; in draw_thread_tab_row()
1362 col_desc[COL_THREADS_ACTIVE_POLLERS].max_data_string, ALIGN_LEFT, pollers_number); in draw_thread_tab_row()
1363 col += col_desc[COL_THREADS_ACTIVE_POLLERS].max_data_string + 2; in draw_thread_tab_row()
1371 col_desc[COL_THREADS_TIMED_POLLERS].max_data_string, ALIGN_LEFT, pollers_number); in draw_thread_tab_row()
1372 col += col_desc[COL_THREADS_TIMED_POLLERS].max_data_string + 1; in draw_thread_tab_row()
1380 col_desc[COL_THREADS_PAUSED_POLLERS].max_data_string, ALIGN_LEFT, pollers_number); in draw_thread_tab_row()
1381 col += col_desc[COL_THREADS_PAUSED_POLLERS].max_data_string + 2; in draw_thread_tab_row()
1393 col_desc[COL_THREADS_IDLE_TIME].max_data_string, ALIGN_RIGHT, idle_time); in draw_thread_tab_row()
1394 col += col_desc[COL_THREADS_IDLE_TIME].max_data_string; in draw_thread_tab_row()
1404 col_desc[COL_THREADS_BUSY_TIME].max_data_string, ALIGN_RIGHT, busy_time); in draw_thread_tab_row()
1405 col += col_desc[COL_THREADS_BUSY_TIME].max_data_string + 3; in draw_thread_tab_row()
1419 col_desc[COL_THREADS_CPU_USAGE].max_data_string, ALIGN_RIGHT, cpu_usage); in draw_thread_tab_row()
1420 col += col_desc[COL_THREADS_CPU_USAGE].max_data_string + 2; in draw_thread_tab_row()
1441 col_desc[COL_THREADS_STATUS].max_data_string, ALIGN_RIGHT, status_str); in draw_thread_tab_row()
1500 col_desc[COL_POLLERS_NAME].max_data_string, ALIGN_LEFT, g_pollers_info[current_row].name); in draw_poller_tab_row()
1501 col += col_desc[COL_POLLERS_NAME].max_data_string + 2; in draw_poller_tab_row()
1506 col_desc[COL_POLLERS_TYPE].max_data_string, ALIGN_LEFT, in draw_poller_tab_row()
1508 col += col_desc[COL_POLLERS_TYPE].max_data_string + 2; in draw_poller_tab_row()
1513 col_desc[COL_POLLERS_THREAD_NAME].max_data_string, ALIGN_LEFT, in draw_poller_tab_row()
1515 col += col_desc[COL_POLLERS_THREAD_NAME].max_data_string + 1; in draw_poller_tab_row()
1528 col_desc[COL_POLLERS_RUN_COUNTER].max_data_string, ALIGN_RIGHT, run_count); in draw_poller_tab_row()
1529 col += col_desc[COL_POLLERS_RUN_COUNTER].max_data_string; in draw_poller_tab_row()
1536 col_desc[COL_POLLERS_PERIOD].max_data_string, ALIGN_RIGHT, period_ticks); in draw_poller_tab_row()
1538 col += col_desc[COL_POLLERS_PERIOD].max_data_string + 7; in draw_poller_tab_row()
1554 col_desc[COL_POLLERS_BUSY_COUNT].max_data_string, ALIGN_LEFT, status); in draw_poller_tab_row()
1559 col_desc[COL_POLLERS_BUSY_COUNT].max_data_string, ALIGN_LEFT, status); in draw_poller_tab_row()
1573 col_desc[COL_POLLERS_BUSY_COUNT].max_data_string, ALIGN_LEFT, status); in draw_poller_tab_row()
1578 col_desc[COL_POLLERS_BUSY_COUNT].max_data_string, ALIGN_LEFT, status); in draw_poller_tab_row()
1645 col_desc[COL_CORES_CORE].max_data_string, ALIGN_RIGHT, core); in draw_core_tab_row()
1646 col += col_desc[COL_CORES_CORE].max_data_string + 2; in draw_core_tab_row()
1651 … col + (col_desc[COL_CORES_THREADS].name_len / 2), col_desc[COL_CORES_THREADS].max_data_string, in draw_core_tab_row()
1653 col += col_desc[COL_CORES_THREADS].max_data_string + 2; in draw_core_tab_row()
1658 … col + (col_desc[COL_CORES_POLLERS].name_len / 2), col_desc[COL_CORES_POLLERS].max_data_string, in draw_core_tab_row()
1660 col += col_desc[COL_CORES_POLLERS].max_data_string; in draw_core_tab_row()
1672 col_desc[COL_CORES_IDLE_TIME].max_data_string, ALIGN_RIGHT, idle_time); in draw_core_tab_row()
1673 col += col_desc[COL_CORES_IDLE_TIME].max_data_string + 2; in draw_core_tab_row()
1683 col_desc[COL_CORES_BUSY_TIME].max_data_string, ALIGN_RIGHT, busy_time); in draw_core_tab_row()
1684 col += col_desc[COL_CORES_BUSY_TIME].max_data_string + 2; in draw_core_tab_row()
1690 col_desc[COL_CORES_BUSY_PCT].max_data_string, ALIGN_RIGHT, cpu_usage); in draw_core_tab_row()
1691 col += col_desc[COL_CORES_BUSY_PCT].max_data_string + 1; in draw_core_tab_row()
1712 col_desc[COL_CORES_STATUS].max_data_string, ALIGN_RIGHT, status_str); in draw_core_tab_row()
1719 col += col_desc[COL_CORES_STATUS].max_data_string + 1; in draw_core_tab_row()
1727 col_desc[COL_CORES_INTR].max_data_string, in draw_core_tab_row()
1729 col += col_desc[COL_CORES_INTR].max_data_string + 1; in draw_core_tab_row()
1756 col_desc[COL_CORES_SYS_PCT].max_data_string, ALIGN_RIGHT, sys_str); in draw_core_tab_row()
1757 col += col_desc[COL_CORES_SYS_PCT].max_data_string + 1; in draw_core_tab_row()
1767 col_desc[COL_CORES_IRQ_PCT].max_data_string, ALIGN_RIGHT, irq_str); in draw_core_tab_row()
1768 col += col_desc[COL_CORES_IRQ_PCT].max_data_string + 1; in draw_core_tab_row()
1779 col_desc[COL_CORES_CPU_PCT].max_data_string, ALIGN_RIGHT, cpu_str); in draw_core_tab_row()
1780 col += col_desc[COL_CORES_CPU_PCT].max_data_string + 1; in draw_core_tab_row()
1791 col_desc[COL_CORES_CORE_FREQ].max_data_string, ALIGN_RIGHT, core_freq); in draw_core_tab_row()