Bartosz Taudul
Bartosz Taudul
I don't know. There may be certain problems to overcome, like the need to use websockets, or timing accuracy reduction which may be employed by some browsers due to spectre.
The stream must be temporally coherent, and what you are asking would violate that requirement. You may want to implement your own discardable variant of a zone that would postpone...
Child zones are the main concern here. Sampling data is already disjoint because it is accumulated in kernel buffers and then processed in batches that cover past or future events.
Yes, it should be fairly simple to do. The API may change at some point in the future, but I don't have any immediate plans to do so.
> I could turn this into a PR I don't think this is something that should be provided by default.
What is the use case for having that many source locations?
Ok, having 24 bits for this may be reasonable then.
For performance reasons there are some max-num-of-src-locs sized tables used in the profiler. Going to full 24 bits may be unwanted, as it would make each of these 64 KB...
Pausing the application in a debugger would seem to be a more sensible approach for finding out what is happening.
You can just pause the execution in MSVC and look where the threads are stopped.