ssahasra wrote:

> The merged timeline has one mission: If you inspect it and find a record that 
> you need, you must be able to emit a waicnt N where N is the age of the 
> record to access it safely.
> 
> I added a paragraph in the docs of EventTrackerRecord to insist on that:
> 
> ```
> /// The primary motivation for this system is that we want the capability to
> /// determine what kind of waitcnt must be emitted for a given event (record) 
> to
> /// complete. For example, let R be a record in the timeline of a counter T,
> /// then a "waitcnt_T N" (a "drain") where N is <= the age of R must be
> /// sufficient to guarantee that R has completed (and its results can be 
> used).
> ```
> 
> I hope these few fixes help clarify the system ?

But this is identical to the waitcnt itself ... what if we call it just that?

https://github.com/llvm/llvm-project/pull/232344
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to