This commit is contained in:
Dhanya Maliakal 2016-10-18 11:10:42 +02:00
parent 37c0ea7453
commit 01366b7273

View File

@ -1785,7 +1785,7 @@ void UDPStandardImplementation::startDataCallback(){
cprintf(BLUE,"%d Elapsed time:%f seconds\n",ithread,( end.tv_sec - begin.tv_sec ) + ( end.tv_nsec - begin.tv_nsec ) / 1000000000.0); cprintf(BLUE,"%d Elapsed time:%f seconds\n",ithread,( end.tv_sec - begin.tv_sec ) + ( end.tv_nsec - begin.tv_nsec ) / 1000000000.0);
#endif #endif
//still less than 250 ms, keep waiting //still less than 250 ms, keep waiting
if((( end.tv_sec - begin.tv_sec ) + ( end.tv_nsec - begin.tv_nsec ) / 1000000000.0) < 0.250)/**fixed 250 ms*/ if((( end.tv_sec - begin.tv_sec ) + ( end.tv_nsec - begin.tv_nsec ) / 1000000000.0) < 0.5)/**fixed 250 ms*/
continue; continue;
//done with timer, look into data //done with timer, look into data
randomSendNow = true; randomSendNow = true;