We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1badc5b commit 3eac545Copy full SHA for 3eac545
format.go
@@ -49,6 +49,7 @@ func toPprof(s map[string]int, hz int) *profile.Profile {
49
50
p := &profile.Profile{}
51
m := &profile.Mapping{ID: 1, HasFunctions: true}
52
+ p.Period = int64(1e9 / hz) // Number of nanoseconds between samples.
53
p.Mapping = []*profile.Mapping{m}
54
p.SampleType = []*profile.ValueType{
55
{
0 commit comments