aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorGerhard Engleder <[email protected]>2022-05-06 22:01:41 +0200
committerPaolo Abeni <[email protected]>2022-05-10 09:48:09 +0200
commitfcf308e50928a9c9eca90c56f9fc6885005dafd1 (patch)
tree951ac90c002ecfca1fe24c103724808712cdaec0 /tools/perf/scripts/python/sched-migration.py
parent97dc7cd92ac67f6e05df418df1772ba4a7fbf693 (diff)
ptp: Speed up vclock lookup
ptp_convert_timestamp() is called in the RX path of network messages. The current implementation takes ~5000ns on 1.2GHz A53. This is too much for the hot path of packet processing. Introduce hash table for fast vclock lookup in ptp_convert_timestamp(). The execution time of ptp_convert_timestamp() is reduced to ~700ns on 1.2GHz A53. Signed-off-by: Gerhard Engleder <[email protected]> Acked-by: Richard Cochran <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions