EDIT 2022-06-06 21:4511 EDT:
Hi, @larsof54. The Keyboard Maestro native SECONDS() and MILLISECONDS() functions will give you millisecond microsecond resolution, but the Display Text values can be formatted as required using the CalculateFormat Token:
DOWNLOAD Macro File:
Timing a Macro (seconds | milliseconds).kmmacros (16 KB)
Note: This macro was uploaded in a DISABLED state. It must be ENABLED before it can be run. If it does not trigger, the macro group might also need to be ENABLED.