mirror of
https://github.com/linux-can/can-utils.git
synced 2026-08-05 06:20:00 +02:00
4a68366bac433d9e95fb74147d68d1386d62cc0a
Inspired by the SLCAN rework from Andre Naujoks this patch replaces the extensive use of sprintf() with simple and efficient ASCII helpers. valgrind/kcachegrind reported a cyle estimation of about 5.3 million cycles before and about 1.5 million cycles after the rework (factor 3.55) for the logging of the exact same CAN content. Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Description
Linux-CAN / SocketCAN user space applications
2.9 MiB
Languages
C
98.1%
CMake
0.7%
Makefile
0.6%
Shell
0.5%