|
为了获取两个event之间的时间间隔差,正如操纵器里写的代码一样
delta_time = _ga_t0->getTime() - _ga_t1->getTime();
为什么_ga_t0->getTime()和_ga_t1->getTime()获取的时间总是相差好几个数量级?
_ga_t0 = 349075.004059, _ga_t1 = 349075.004059, dt = 349041.280597
_ga_t0 = 33.738559, _ga_t1 = 33.738559, dt = 0.000000
_ga_t0 = 349075.020703, _ga_t1 = 349075.020703, dt = 349041.282144
_ga_t0 = 33.756987, _ga_t1 = 33.756987, dt = 0.000000
_ga_t0 = 349075.037358, _ga_t1 = 349075.037358, dt = 349041.280371
_ga_t0 = 33.793925, _ga_t1 = 33.793925, dt = 0.000000
_ga_t0 = 349075.064226, _ga_t1 = 349075.064226, dt = 349041.270302
_ga_t0 = 33.804702, _ga_t1 = 33.804702, dt = 0.000000
_ga_t0 = 349075.074952, _ga_t1 = 349075.074952, dt = 349041.270250
_ga_t0 = 33.815574, _ga_t1 = 33.815574, dt = 0.000000
_ga_t0 = 349075.087360, _ga_t1 = 349075.087360, dt = 349041.271786
_ga_t0 = 33.826471, _ga_t1 = 33.826471, dt = 0.000000
_ga_t0 = 349075.104061, _ga_t1 = 349075.104061, dt = 349041.277590
_ga_t0 = 33.840140, _ga_t1 = 33.840140, dt = 0.000000
_ga_t0 = 349075.120714, _ga_t1 = 349075.120714, dt = 349041.280573
_ga_t0 = 33.855447, _ga_t1 = 33.855447, dt = 0.000000
_ga_t0 = 349075.137364, _ga_t1 = 349075.137364, dt = 349041.281917
_ga_t0 = 33.873564, _ga_t1 = 33.873564, dt = 0.000000
_ga_t0 = 349075.154016, _ga_t1 = 349075.154016, dt = 349041.280452
_ga_t0 = 33.890313, _ga_t1 = 33.890313, dt = 0.000000
_ga_t0 = 349075.170732, _ga_t1 = 349075.170732, dt = 349041.280419
_ga_t0 = 33.907921, _ga_t1 = 33.907921, dt = 0.000000
_ga_t0 = 349075.187379, _ga_t1 = 349075.187379, dt = 349041.279458
_ga_t0 = 34.117099, _ga_t1 = 34.117099, dt = 0.000000 |
|