diff options
-rw-r--r-- | src/setu/perf_setu_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/setu/perf_setu_api.c b/src/setu/perf_setu_api.c index 9c7b51984..00cf96b85 100644 --- a/src/setu/perf_setu_api.c +++ b/src/setu/perf_setu_api.c | |||
@@ -418,7 +418,7 @@ void perf_thread() { | |||
418 | 418 | ||
419 | 419 | ||
420 | static void run_petf_thread(int total_runs) { | 420 | static void run_petf_thread(int total_runs) { |
421 | int core_count = get_nprocs_conf() * 2; | 421 | int core_count = get_nprocs_conf(); |
422 | pid_t child_pid, wpid; | 422 | pid_t child_pid, wpid; |
423 | int status = 0; | 423 | int status = 0; |
424 | 424 | ||
@@ -447,9 +447,9 @@ static void execute_perf() { | |||
447 | //FILE *out = fopen("perfstats.log", "w"); | 447 | //FILE *out = fopen("perfstats.log", "w"); |
448 | //fprintf(out, "se_diff,active_passive_switches,bytes_transmitted,rtt\n"); | 448 | //fprintf(out, "se_diff,active_passive_switches,bytes_transmitted,rtt\n"); |
449 | 449 | ||
450 | for (int out_out_ctr = 1; out_out_ctr <= 10; out_out_ctr++) { | 450 | for (int out_out_ctr = 4; out_out_ctr <= 4; out_out_ctr++) { |
451 | 451 | ||
452 | for (int out_ctr = 10; out_ctr <= 60; out_ctr++) { | 452 | for (int out_ctr = 1; out_ctr <= 100; out_ctr++) { |
453 | 453 | ||
454 | float base = 0.1; | 454 | float base = 0.1; |
455 | float x = out_ctr * base; | 455 | float x = out_ctr * base; |