-
Notifications
You must be signed in to change notification settings - Fork 98
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
PeriodType, PeriodUnit and Duration unset in resulting pprof #16
Comments
"wallclock time" or "goroutine time" is probably a more suitable for the period type (sample type in pprof, right?) Anyway, overall a PR for this would be super appreciated. I think I missed this because I was still new to the pprof format when I wrote this code. 🙇♂️ |
Period type is distinct from sample type. It's already
Since the observations by fgprof are done using a ticker, in principal similar to the stdlib CPU profile, I'd say we should probably be consistent with it. |
Closing this, since all related PRs have been merged. |
I just noticed that the period type, period unit, and duration are not set in the resulting profiles created by fgprof. While not strictly required I feel it would be good to set them. Duration can be measured, and period type I assume should be
cpu
and period unit should benanoseconds
?The text was updated successfully, but these errors were encountered: