schedulers: Add interrupt mode information to cores map
Signed-off-by: Maciej Szwed <maciej.szwed@intel.com> Change-Id: I0d143a1aa05f27c4d0b4bd6212b361eafa966de9 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5452 Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
parent
a20745541e
commit
9cde15093f
@ -315,6 +315,7 @@ struct spdk_scheduler_core_info {
|
||||
uint32_t lcore;
|
||||
uint32_t threads_count;
|
||||
uint32_t pending_threads_count;
|
||||
bool interrupt_mode;
|
||||
struct spdk_lw_thread **threads;
|
||||
};
|
||||
|
||||
|
@ -720,6 +720,7 @@ _reactors_scheduler_gather_metrics(void *arg1, void *arg2)
|
||||
core_info->lcore = reactor->lcore;
|
||||
core_info->core_idle_tsc = reactor->idle_tsc;
|
||||
core_info->core_busy_tsc = reactor->busy_tsc;
|
||||
core_info->interrupt_mode = reactor->in_interrupt;
|
||||
|
||||
SPDK_DEBUGLOG(reactor, "Gathering metrics on %u\n", reactor->lcore);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user