spdk_top: move mvhline() function call inside show_core
Moves "mvwhline(core_win, 6, 1, ACS_HLINE, CORE_WIN_WIDTH - 2);" upwards to increase readability by placing this call in order (to print the line in 6th row after data in 5th row is done printing) Signed-off-by: Krzysztof Karas <krzysztof.karas@intel.com> Change-Id: Icec340231090aeb57c600f52b3c687dbc78cc4b9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7959 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: <dongx.yi@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
parent
6f9d124888
commit
994be25fe1
@ -2153,6 +2153,7 @@ show_core(uint8_t current_page)
|
||||
get_time_str(core_info[core_number]->busy, busy_time);
|
||||
}
|
||||
mvwprintw(core_win, 5, CORE_WIN_FIRST_COL + 20, idle_time);
|
||||
mvwhline(core_win, 6, 1, ACS_HLINE, CORE_WIN_WIDTH - 2);
|
||||
|
||||
print_left(core_win, 7, 1, CORE_WIN_WIDTH, "Poller count: Busy time:", COLOR_PAIR(5));
|
||||
mvwprintw(core_win, 7, CORE_WIN_FIRST_COL, "%" PRIu64,
|
||||
@ -2160,7 +2161,6 @@ show_core(uint8_t current_page)
|
||||
|
||||
mvwprintw(core_win, 7, CORE_WIN_FIRST_COL + 20, busy_time);
|
||||
|
||||
mvwhline(core_win, 6, 1, ACS_HLINE, CORE_WIN_WIDTH - 2);
|
||||
mvwhline(core_win, 8, 1, ACS_HLINE, CORE_WIN_WIDTH - 2);
|
||||
print_left(core_win, 9, 1, CORE_WIN_WIDTH, "Threads on this core", COLOR_PAIR(5));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user