Have a problem when using the Show timestamp

In a project, I want to calculate the loop time on average, so I use the Serial.print and use the timestamp in the serial monitor.

and I find there is always a wrong time, and it's regular.

and I try other codes, and always find this problem, and the only change is the frequency it appears.

like this. the date at the end of each line is the time for each loop.

00:27:12.019 -> 100
00:27:12.053 -> 100 34
00:27:12.122 -> 100 69
00:27:12.189 -> 100 67
00:27:12.257 -> 100 68
00:27:12.325 -> 100 68
00:27:12.359 -> 100 34
00:27:12.428 -> 100 69
00:27:12.494 -> 100 66
00:27:12.561 -> 100 67
00:27:12.630 -> 100 69
00:27:12.698 -> 100 68
00:27:12.733 -> 100 35
00:27:12.801 -> 100 68
00:27:12.868 -> 100 67
00:27:12.935 -> 100 67
00:27:13.003 -> 100 68
00:27:13.037 -> 100 32
00:27:13.104 -> 100 67
00:27:13.172 -> 100 68
00:27:13.240 -> 100 68
00:27:13.310 -> 100 70
00:27:13.343 -> 100 33
00:27:13.412 -> 100 69
00:27:13.481 -> 100 69

00:42:58.246 -> 100 204
00:42:58.449 -> 100 203
00:42:58.655 -> 100 206
00:42:58.860 -> 100 205
00:42:59.064 -> 100 204
00:42:59.271 -> 100 207
00:42:59.474 -> 100 203
00:42:59.678 -> 100 204
00:42:59.881 -> 100 203
00:43:00.085 -> 100 204
00:43:00.289 -> 100 204
00:43:00.494 -> 100 205
00:43:00.665 -> 100 171

so it's because of the clock in Arduino or other things?
and how can I get the averaged loop time? Should I calculate with the wrong number or not?

Hint: we can't see your code.

Also you posted in the wrong section.