Tachyon flamegraphs report times that depend on the sampling rate.
For example, a function that sleeps for 400 ms is shown as 0.40 ms at 1 kHz and 0.04 ms at 100 Hz. The profile duration and percentages are correct.
The flamegraph values are sample counts, but the HTML divides them by 1000 and labels the result as milliseconds. We should account for sample_interval_usec when converting samples to time.
Linked PRs
Tachyon flamegraphs report times that depend on the sampling rate.
For example, a function that sleeps for 400 ms is shown as 0.40 ms at 1 kHz and 0.04 ms at 100 Hz. The profile duration and percentages are correct.
The flamegraph values are sample counts, but the HTML divides them by 1000 and labels the result as milliseconds. We should account for
sample_interval_usecwhen converting samples to time.Linked PRs