Skip to content

Commit 8f14f0c

Browse files
committed
banal fix
1 parent a57d165 commit 8f14f0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Modules/_remote_debugging/binary_io_writer.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,6 @@ process_thread_sample(BinaryWriter *writer, PyObject *thread_info,
950950

951951
/* Calculate timestamp delta */
952952
uint64_t delta = timestamp_us - entry->prev_timestamp;
953-
entry->prev_timestamp = timestamp_us;
954953

955954
/* Process frames and build current stack */
956955
uint32_t curr_stack[MAX_STACK_DEPTH];
@@ -1006,6 +1005,7 @@ process_thread_sample(BinaryWriter *writer, PyObject *thread_info,
10061005
entry->prev_stack_depth = curr_depth;
10071006
}
10081007

1008+
entry->prev_timestamp = timestamp_us;
10091009
writer->total_samples++;
10101010
return 0;
10111011
}

0 commit comments

Comments
 (0)