raftstore: achieve the accuracy of latency inspect record when write sync (#12276)
raftstore: achieve the accuracy of latency inspect record when write sync (#12276)

ref tikv/tikv#12254

Signed-off-by: Jayice <1185430411@qq.com>

Co-authored-by: Ti Chi Robot <040e6455cde1c91e876ec337e785ce913eacba35@tidb.io>
BusyJay/tikv,BusyJay/tikv,BusyJay/tikv,BusyJay/tikv