Spdk/lib/event
Tomasz Zawadzki 3db73426f2 lib/event: update current_stats at the time of thread reschedule
_reactor_schedule_thread() zeroes out the lw_thread on move.

To properly calculate thread stats since the move,
save them right after reschedule.

Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Change-Id: I44cc3b5907adda35b3117c2dd7268dc813d59853
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/7919
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2021-05-28 08:13:48 +00:00
..
app_rpc.c thread: Change remaining direct accesses to io_channel outside lib/thread to helper functions 2021-05-13 10:03:44 +00:00
app.c event: Move json config loading to init 2021-05-26 09:13:34 +00:00
dpdk_governor.c dpdk_governor: refactor _get_core_curr_freqs 2021-04-22 15:40:30 +00:00
gscheduler.c event/scheduler: Include not spdk_internal/thread.h but spdk/thread.h 2021-05-13 10:03:44 +00:00
log_rpc.c log_rpc: Unify codes in end path. 2021-05-05 13:26:06 +00:00
Makefile event: Move json config loading to init 2021-05-26 09:13:34 +00:00
reactor.c lib/event: update current_stats at the time of thread reschedule 2021-05-28 08:13:48 +00:00
scheduler_dynamic.c lib/event: remove snapshot_stats 2021-05-28 08:13:48 +00:00
scheduler_static.c event: Fix SPDK_SCHEDULER_REGISTER macro 2021-01-15 08:28:30 +00:00
spdk_event.map event: Move json config loading to init 2021-05-26 09:13:34 +00:00