-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What is evCap #63
Comments
Hi @yaitskov. I don't remember. Would you mind inserting a markdown link to the line of code? OOI, what are you working on? |
https://hackage.haskell.org/package/ghc-events-0.13.0/docs/src/GHC.RTS.EventTypes.html#evCap Looks like it is polymorphic value depending on EventInfo constructor.
I am working on OpenTelemetry. |
A comment later on provides a hint:
So, this is the capability on which the thread that emitted the event was running. The number indicates a CPU core, in other words. If absent, the even has no associated capability, e.g., is a global marker of a block of events, or something else global. |
BTW, there are various docs, papers and slides on that (on one I'm a co-author). Search for "Threadscope". |
Thanks |
Please, comment purpose of evCap field in Event.
Is it a thread id?
The text was updated successfully, but these errors were encountered: