查看: 554|回复: 0

关于_ga_t0->getTime()

[复制链接]

该用户从未签到

发表于 2016-12-16 10:31:58 | 显示全部楼层 |阅读模式
为了获取两个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
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表