[Lldb-commits] [lldb] adds additional information to the ProcessInfo object for elf processes (PR #88995)
Fred Grim via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 17 10:46:49 PDT 2024
feg208 wrote:
> It should never decrease, however. If you were just getting garbage values, then there should be a roughly even chance the second value will be less than the first. So this still gives some confidence this isn't totally bogus...
For sure. My concern is that it wouldn't increase either. The granularity is microseconds but with a call like getpid() for example the kernel might just return a cached value which, I assume after enough loops, would increase the timer but what is enough? And enough will change I think as build environments get faster machines faster kernels and so on.
https://github.com/llvm/llvm-project/pull/88995
More information about the lldb-commits
mailing list