PeriodType is intended to explain the kind of events between sampled
occurrences. While not strictly required to be set, all the Go stdlib
profilers populate it, and this patch sets it equivalent to the standard
CPU profiles.
Thanks for the patch. Sorry for the slow response. Noticed some accidental code duplication while reviewing this, so pushed a small fix for that before merging.
PeriodType is intended to explain the kind of events between sampled occurrences. While not strictly required to be set, all the Go stdlib profilers populate it, and this patch sets it equivalent to the standard CPU profiles.
Resolves part of #16