+3
−1
Loading
Before this patch idle_tsc was sum of all idle tsc of all threads running on a reactor. There are cases when no threads are present on the reactor, and _reactor_run() spins doing nothing. To give more accurate representation of the reactors state, the idle_tsc now adds time spent doing idle spinning. Signed-off-by:Tomasz Zawadzki <tomasz.zawadzki@intel.com> Change-Id: If797b2a03507d17b07367d56d5f6c40cefbbbd49 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7900 Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot