+7
−7
Loading
We need to use TSC internally to determine when to do the scheduling, but the user interface is in microseconds. To avoid rounding errors when converting from microseconds => TSC => microseconds, save the user specified value in microseconds instead. Fixes issue #3546. Signed-off-by:Jim Harris <jim.harris@samsung.com> Change-Id: I01143b047c5db58163b013fb58ca0364634e6365 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25223 Reviewed-by:
GangCao <gang.cao@intel.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Community-CI: Mellanox Build Bot Reviewed-by:
Michal Berger <michal.berger@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>