aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorVadim Fedorenko <[email protected]>2024-11-14 03:48:20 -0800
committerJakub Kicinski <[email protected]>2024-11-15 14:26:05 -0800
commitc7a21af711e846a844095ae474f0f7e0ea8c6967 (patch)
treec45418ac6af513600807dab6b1b1593393bfdc3c /tools/perf/scripts/python/export-to-sqlite.py
parented7231f56cd7f795ff3a831e32946a96661bfee9 (diff)
bnxt_en: optimize gettimex64
Current implementation of gettimex64() makes at least 3 PCIe reads to get current PHC time. It takes at least 2.2us to get this value back to userspace. At the same time there is cached value of upper bits of PHC available for packet timestamps already. This patch reuses cached value to speed up reading of PHC time. Signed-off-by: Vadim Fedorenko <[email protected]> Reviewed-by: Michael Chan <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions