If the main thread is busy with something, the result collection won't start until that task is done. E.g., if I have a loop:
while (true) {
doSomething()
}
and I want to just collect a bunch of samples of it to see where doSomething() is spending its time, it won't be able to collect the results, it gets stuck.
If the main thread is busy with something, the result collection won't start until that task is done. E.g., if I have a loop:
and I want to just collect a bunch of samples of it to see where
doSomething()
is spending its time, it won't be able to collect the results, it gets stuck.