Skip to content
Snippets Groups Projects
Commit 09b0f830 authored by Jan David Mol's avatar Jan David Mol
Browse files

Task #3696: Minor improvements

parent 52889834
No related branches found
No related tags found
No related merge requests found
...@@ -16,7 +16,7 @@ using namespace RTCP; ...@@ -16,7 +16,7 @@ using namespace RTCP;
using namespace std; using namespace std;
// Duration of the test (seconds) // Duration of the test (seconds)
#define DURATION 5 #define DURATION 2
void sighandler(int) void sighandler(int)
{ {
...@@ -27,7 +27,7 @@ int main( int, char **argv ) { ...@@ -27,7 +27,7 @@ int main( int, char **argv ) {
INIT_LOGGER( argv[0] ); INIT_LOGGER( argv[0] );
omp_set_nested(true); omp_set_nested(true);
omp_set_num_threads(32); omp_set_num_threads(16);
signal(SIGHUP, sighandler); signal(SIGHUP, sighandler);
siginterrupt(SIGHUP, 1); siginterrupt(SIGHUP, 1);
...@@ -46,6 +46,7 @@ int main( int, char **argv ) { ...@@ -46,6 +46,7 @@ int main( int, char **argv ) {
settings.nrFlagRanges = 64; settings.nrFlagRanges = 64;
settings.dataKey = stationID.hash(); settings.dataKey = stationID.hash();
Generator g(settings, streamDescs); Generator g(settings, streamDescs);
#pragma omp parallel sections num_threads(3) #pragma omp parallel sections num_threads(3)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment