摘要 |
Example methods and systems for synchronizing data received from multiple sensors of a device are provided. A method may be performed by a device having an application processor configured to function based on an operating system and a co-processor configured to receive data from sensors of the device. The method may comprise determining an interrupt by a sensor of the device, and providing, by the co-processor, a timestamp of the interrupt that is indicative of a time that the sensor has data for output. The method also comprises receiving the data for output from the sensor, associating the timestamp of the interrupt by the sensor with the received data, associating together data received from multiple sensors into data structures based on timestamps of the data, and providing the data structures to the application processor in sequence based on the timestamps of the data. |