diff options
| author | Harini Katakam <[email protected]> | 2023-04-11 18:07:12 +0530 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-04-13 22:16:09 -0700 |
| commit | 8c0d0fe04449b9ea2654bf435e51171fbf2a71ac (patch) | |
| tree | 6e0d2f378a1ef68c6881c3e6693be8a9651b49d6 /tools/perf/scripts/python/task-analyzer.py | |
| parent | ee4e92c26c60b7344b7261035683a37da5a6119b (diff) | |
net: macb: Optimize reading HW timestamp
The seconds input from BD (6 bits) just needs to be ORed with the
upper bits from timer in this function. Avoid addition operation
every single time. Seconds rollover handling is left untouched.
Signed-off-by: Harini Katakam <[email protected]>
Signed-off-by: Michal Simek <[email protected]>
Signed-off-by: Radhey Shyam Pandey <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions