#include "QGC.h"namespaceQGC{quint64groundTimeUsecs(){QDateTimetime=QDateTime::currentDateTime();time=time.toUTC();/* Return seconds and milliseconds, in milliseconds unit */quint64microseconds=time.toTime_t()*static_cast<quint64>(1000000);returnstatic_cast<quint64>(microseconds+(time.time().msec()*1000));}}