aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorHarini Katakam <[email protected]>2023-04-11 18:07:12 +0530
committerJakub Kicinski <[email protected]>2023-04-13 22:16:09 -0700
commit8c0d0fe04449b9ea2654bf435e51171fbf2a71ac (patch)
tree6e0d2f378a1ef68c6881c3e6693be8a9651b49d6 /tools/perf/scripts/python/stackcollapse.py
parentee4e92c26c60b7344b7261035683a37da5a6119b (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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions