First time here? Check out the FAQ!
THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

what is the difference between frame.time_delta and frame.time_delta_displayed?

what is the difference between frame.time_delta and frame.time_delta_displayed?

mdameen.pasha2's avatar
1
mdameen.pasha2
asked 2019-04-14 06:51:10 +0000
grahamb's avatar
23.8k
grahamb
updated 2019-04-14 20:26:25 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

2

It's only relevant when filters are applied. frame.time_delta will still show the delta time of a frame to its predecessor even when it has been hidden by the filter, giving you wrong readings. frame.time_delta_displayed will show the delta time to the previous displayed frame instead.

I usually only use frame.time_delta_displayed and have no use case example where frame.time_delta would be the better choice.

Jasper's avatar
24.1k
Jasper
answered 2019-04-14 08:52:58 +0000
edit flag offensive 0 remove flag delete link

Comments

Thanks Jasper that was helpful

mdameen.pasha2's avatar mdameen.pasha2 (2019-04-14 17:56:01 +0000) edit
add a comment see more comments
0

Either field can be used as a column and they will behave exactly as @Jasper said, but also, frame.time_delta_displayed cannot be (successfully) used in a display filter. Display filters change what is displayed, but frame.time_delta_displayed is based on what is displayed, so you end up with a circular reference. Wireshark won't show an error, but a comparison will not show any packets, regardless of what value you're comparing to. So you would think that "frame.time_delta_displayed > 0" would match all packets, but in fact it will show _no_ packets.

Jim Aragon's avatar
7.5k
Jim Aragon
answered 2019-04-14 17:36:05 +0000
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer