APM2.5 Data Recording at 10Hz help please

I am trying to record flight data using both an eagletree system and the ardupilot APM2.5 alongside each other. The eagletree records data at exactly 10Hz, ie one data point every 100ms. I have set the APM2.5 to record ATTITUDE_MED only and this should be recorded at 10Hz. When I analyse the log files I notice that the time intervals between data points on the APM is not exactly 100ms, sometimes it is 98ms, sometimes 102ms, etc, this results different amount of data points during the course of a flight when compared with the data from the eagletree. This has lead to problems when analysing the data from both systems, which is necessary for my research as I need to be able to assess the flight characteristics at a given instant in time using data from both pieces of equipment.

If anyone is able to offer any advice on how I may be able to solve this issue then it would be greatly appreciated.

Thanks

The APM prioritizes flying the aircraft over writing the log and sometimes there is just not enough time to do both. You will get better results with a Pixhawk