Parent: 9a657dcec988ff84e7e08345ea6512538a1b3207
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2023-07-29 01:36:25
Tree: 63af8d70e01faa5f9a9b7a22f3d46f03572ec260
monitor: Consolidate code around latency calculation This move latency calculations to a helper function called packet_latency_add so it can get reused by the likes of l2cap.c and analyze.c
Diffstat
| M | monitor/analyze.c | | | 44 | +++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | monitor/l2cap.c | | | 36 | ++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | monitor/packet.c | | | 59 | +++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - |
| M | monitor/packet.h | | | 12 | +++++++++- - - |
4 files changed, 51 insertions(+), 100 deletions(-)