Cubase getTimeStamp() bug?

Hi JUCE folks,

I’m facing a strange Cubase midi timestamp behavior. Basically I’m trying to detect whether two midi notes are perfectly aligned in time. I’m using MidiMessage:: getTimeStamp() method, and the midi inputs look like this.

Cubase will report C4 note off timestamp and D4 note on timestamp in different values. I tried it in Reaper and Logic Pro. They are the same value.

Is it a bug for Cubase, or am I missing something here?

Thanks a lot!