This commit is contained in:
khorton 2016-08-11 14:17:40 -07:00
Родитель 2152606036
Коммит c5843430ce
2 изменённых файлов: 7 добавлений и 10 удалений

Просмотреть файл

@ -9,7 +9,6 @@ ctsTraffic.exe -target:localhost -protocol:udp -bitspersecond:8000000 -framerate
30Gbps with fewer bits/sec but higher connection count
ctsTraffic.exe -listen:* -protocol:udp -bitspersecond:100000000 -FrameRate:100 -BufferDepth:3 -StreamLength:30 -ConsoleVerbosity:1 -ServerExitLimit:300
ctsTraffic.exe -target:localhost -protocol:udp -bitspersecond:100000000 -FrameRate:100 -BufferDepth:3 -StreamLength:30 -iterations:1 -ConsoleVerbosity:1 -verify:connection -connections:300
@ -17,21 +16,19 @@ ctsTraffic.exe -target:localhost -protocol:udp -bitspersecond:100000000 -FrameRa
40Gbps with smaller connection cound but higher bits/sec
ctsTraffic.exe -listen:* -protocol:udp -bitspersecond:1000000000 -FrameRate:100 -BufferDepth:5 -StreamLength:30 -ConsoleVerbosity:1
ctsTraffic.exe -listen:* -protocol:udp -bitspersecond:1000000000 -FrameRate:100 -BufferDepth:5 -StreamLength:30 -ConsoleVerbosity:1 -ServerExitLimit:40
ctsTraffic.exe -target:localhost -protocol:udp -bitspersecond:1000000000 -FrameRate:100 -BufferDepth:5 -StreamLength:30 -iterations:1 -connections:40 -ConsoleVerbosity:1 -verify:connection
45Gbps
ctsTraffic.exe -listen:* -protocol:udp -bitspersecond:1000000000 -FrameRate:100 -StreamLength:30 -ConsoleVerbosity:1
ctsTraffic.exe -listen:* -protocol:udp -bitspersecond:1000000000 -FrameRate:100 -StreamLength:30 -ConsoleVerbosity:1 -ServerExitLimit:45
ctsTraffic.exe -target:localhost -protocol:udp -bitspersecond:1000000000 -FrameRate:100 -BufferDepth:2 -StreamLength:30 -iterations:1 -connections:45 -ConsoleVerbosity:1 -verify:connection
UDP logging:
ctsTraffic.exe -listen:* -protocol:udp -bitspersecond:8000000 -framerate:30 -bufferdepth:10 -streamlength:30 -consoleverbosity:5 -statusupdate:500 -connectionfilename:udpserver_conn.log -statusfilename:udpserver_status.log -errorfilename:udpserver_error.log
ctsTraffic.exe -listen:* -protocol:udp -bitspersecond:8000000 -framerate:30 -bufferdepth:10 -streamlength:30 -consoleverbosity:5 -statusupdate:500 -serverexitlimit:1 -connectionfilename:udpserver_conn.log -statusfilename:udpserver_status.log -errorfilename:udpserver_error.log
ctsTraffic.exe -target:localhost -protocol:udp -bitspersecond:8000000 -framerate:30 -bufferdepth:10 -streamlength:30 -connections:1 -statusupdate:500 -iterations:1 -consoleverbosity:5 -connectionfilename:udpclient_conn.csv -statusfilename:udpclient_status.csv -jitterfilename:udpclient_jitter.csv

Просмотреть файл

@ -223,7 +223,7 @@ namespace ctsTraffic {
const wchar_t* param_end = _input_argument + wcslen(_input_argument);
const wchar_t* param_delimiter = find(_input_argument, param_end, L':');
if (!(param_end > param_delimiter + 1)) {
throw invalid_argument(ctString::convert_to_string(_input_argument).c_str());
throw invalid_argument(ctString::convert_to_string(_input_argument));
}
// temporarily null-terminate it at the delimiter to do a string compare
*const_cast<wchar_t*>(param_delimiter) = L'\0';
@ -280,7 +280,7 @@ namespace ctsTraffic {
}
if (first_unconverted_offset != _string.length()) {
throw invalid_argument(ctString::convert_to_string(_string).c_str());
throw invalid_argument(ctString::convert_to_string(_string));
}
return return_value;
}
@ -296,7 +296,7 @@ namespace ctsTraffic {
}
if (first_unconverted_offset != _string.length()) {
throw invalid_argument(ctString::convert_to_string(_string).c_str());
throw invalid_argument(ctString::convert_to_string(_string));
}
return return_value;
}
@ -2354,7 +2354,7 @@ namespace ctsTraffic {
L"[%.3f] %s\n",
ctsConfig::GetStatusTimeStamp(),
error_string.c_str());
throw invalid_argument(ctString::convert_to_string(error_string).c_str());
throw invalid_argument(ctString::convert_to_string(error_string));
}
auto timer = ::timeBeginPeriod(1);