ext/pf2/src/profile_serializer.rs in pf2-0.5.2 vs ext/pf2/src/profile_serializer.rs in pf2-0.6.0

- old
+ new

@@ -219,10 +219,10 @@ node }); if merged_stack.is_empty() { // This is the leaf node, record a Sample - let elapsed_ns = (sample.timestamp - profile.start_timestamp).as_nanos(); + let elapsed_ns = (sample.timestamp - profile.start_instant).as_nanos(); thread_serializer.samples.push(ProfileSample { elapsed_ns, stack_tree_id: stack_tree.node_id, }); }