I use "time" to run some performance tests in our project under WSL2, but the result looks weird: the value of "real" is far from the sum of "user" + "sys".
-----Original Message----- From: Dexuan Cui decui@microsoft.com Sent: Wednesday, March 25, 2020 11:46 AM To: Yubo Xie ltykernel@gmail.com; KY Srinivasan kys@microsoft.com; Haiyang Zhang haiyangz@microsoft.com; Stephen Hemminger sthemmin@microsoft.com; Wei Liu liuwe@microsoft.com; daniel.lezcano@linaro.org; tglx@linutronix.de; Michael Kelley mikelley@microsoft.com Cc: Yubo Xie yuboxie@microsoft.com; linux-hyperv@vger.kernel.org; linux-kernel@vger.kernel.org; vkuznets vkuznets@redhat.com; stable@vger.kernel.org; Tianyu Lan Tianyu.Lan@microsoft.com Subject: RE: [PATCH] x86/Hyper-V: Fix hv sched clock function return wrong time unit
From: linux-hyperv-owner@vger.kernel.org linux-hyperv-owner@vger.kernel.org On Behalf Of Yubo Xie Sent: Tuesday, March 24, 2020 8:20 AM ... sched clock callback should return time with nano second as unit but current hv callback returns time with 100ns. Fix it.
Hi Yubo, I'm curious how you found the bug? :-) Did you notice some kind of symtom?
Thanks, -- Dexuan