mirror of
https://github.com/overte-org/overte.git
synced 2025-04-18 00:26:33 +02:00
change stats sampling to 100ms
This commit is contained in:
parent
efb04fac21
commit
51b47a1212
1 changed files with 2 additions and 2 deletions
|
@ -123,8 +123,8 @@ UDTTest::UDTTest(int& argc, char** argv) :
|
|||
if (!_target.isNull()) {
|
||||
sendInitialPackets();
|
||||
|
||||
// the sender reports stats every 1 second
|
||||
static const int STATS_SAMPLE_INTERVAL = 1000;
|
||||
// the sender reports stats every 100ms
|
||||
static const int STATS_SAMPLE_INTERVAL = 100;
|
||||
|
||||
QTimer* statsTimer = new QTimer(this);
|
||||
connect(statsTimer, &QTimer::timeout, this, &UDTTest::sampleStats);
|
||||
|
|
Loading…
Reference in a new issue