Abstract
Time synchronization between a host and a target device coupled via an interface such as USB is vital for correlating host-side power measurements with device-side workload for software events (workload profiling). This disclosure describes high-precision host-target device time synchronization techniques. Per the techniques, a network connection is established between a host device and a target device that has low transmission delays. The host device determines baseline time offsets both at the beginning and at the end of a work profiling period using statistical noise filtering. The host device applies linear interpolation to map device-side timestamps to the host-side timeline based upon these time offsets. The host computes a clock drift rate between the clocks of the host and the target device. The clock drift rate is used to adjust and/or scale durations and timestamps. Sub-millisecond accuracy can be achieved that enables accurately correlating host-side power measurements with specific inference phases (or other workload phases) that may last only a few milliseconds.
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 License.
Recommended Citation
Yu, David, "Time Synchronization Between Devices Coupled via Universal Serial Bus (USB) Interface", Technical Disclosure Commons, ()
https://www.tdcommons.org/dpubs_series/10845