mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 13:11:43 +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()) {
|
if (!_target.isNull()) {
|
||||||
sendInitialPackets();
|
sendInitialPackets();
|
||||||
|
|
||||||
// the sender reports stats every 1 second
|
// the sender reports stats every 100ms
|
||||||
static const int STATS_SAMPLE_INTERVAL = 1000;
|
static const int STATS_SAMPLE_INTERVAL = 100;
|
||||||
|
|
||||||
QTimer* statsTimer = new QTimer(this);
|
QTimer* statsTimer = new QTimer(this);
|
||||||
connect(statsTimer, &QTimer::timeout, this, &UDTTest::sampleStats);
|
connect(statsTimer, &QTimer::timeout, this, &UDTTest::sampleStats);
|
||||||
|
|
Loading…
Reference in a new issue