Commit 83421d9
authored
fix(profiling): Round continuous profile timestamps appropriately (#104541)
When converting the reference epoch timestamp to iso strings, make sure
we round the timestamps appropriately. Start timestamps should be
rounded down and end timestamps should be rounded up so that we don't
miss any samples due to bad rounding.
One example of this is if we have 2 samples in a chunk, and the end
timestamp is rounded down, the 2nd sample is then lost.1 parent abf2622 commit 83421d9
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
219 | 221 | | |
220 | 222 | | |
221 | 223 | | |
| |||
0 commit comments