Source of timestamps on Mavros msg px4_sitl

Hi, I’m trying to synchronize a px4+sitl+gazebo+iris+mavros with another simulated vehicle from another project.
The problem is that the timestamps of the messages does not match. So, I’m wondering what is the source of timestamps in the px4 side.

Thank