This patch updates reactor to count thread run time correctly on multiple SPDK threads per CPU core configuration by using the refined spdk_thread_poll(). Add tsc_last to struct spdk_reactor to use the end time of the last thread as the start time of the next thread. Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I21042867885d289ff0c23bf2a9ba6a8076a59673 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1256 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> |
||
---|---|---|
.. | ||
linux | ||
spdk | ||
spdk_internal | ||
Makefile |