diff options
Diffstat (limited to 'pm_test')
| -rw-r--r-- | pm_test/pm_common.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/pm_test/pm_common.c b/pm_test/pm_common.c index 75118a4..623c3e0 100644 --- a/pm_test/pm_common.c +++ b/pm_test/pm_common.c | |||
| @@ -596,7 +596,7 @@ void get_ovd_plen_umaxeon(struct full_ovd_plen *full_costs, int num_samples, | |||
| 596 | last_cpu = full_costs[i].last_cpu; | 596 | last_cpu = full_costs[i].last_cpu; |
| 597 | 597 | ||
| 598 | if (curr_cpu == last_cpu) { | 598 | if (curr_cpu == last_cpu) { |
| 599 | dprintf("preempt\n"); | 599 | dprintf("preempt (%d, %d)\n", last_cpu, curr_cpu); |
| 600 | /* preemption */ | 600 | /* preemption */ |
| 601 | preempt[*pcount].ovd = full_costs[i].ovd; | 601 | preempt[*pcount].ovd = full_costs[i].ovd; |
| 602 | preempt[*pcount].plen = full_costs[i].plen; | 602 | preempt[*pcount].plen = full_costs[i].plen; |
| @@ -613,7 +613,7 @@ void get_ovd_plen_umaxeon(struct full_ovd_plen *full_costs, int num_samples, | |||
| 613 | if (((curr_cpu / num_phys_cpu) / cores_per_l2) == | 613 | if (((curr_cpu / num_phys_cpu) / cores_per_l2) == |
| 614 | ((last_cpu / num_phys_cpu) / cores_per_l2)) { | 614 | ((last_cpu / num_phys_cpu) / cores_per_l2)) { |
| 615 | /* they share also L2 */ | 615 | /* they share also L2 */ |
| 616 | dprintf("same L2\n"); | 616 | dprintf("same L2 (%d,%d)\n", last_cpu, curr_cpu); |
| 617 | samel2[*l2count].ovd = full_costs[i].ovd; | 617 | samel2[*l2count].ovd = full_costs[i].ovd; |
| 618 | samel2[*l2count].plen = full_costs[i].plen; | 618 | samel2[*l2count].plen = full_costs[i].plen; |
| 619 | (*l2count)++; | 619 | (*l2count)++; |
| @@ -621,7 +621,7 @@ void get_ovd_plen_umaxeon(struct full_ovd_plen *full_costs, int num_samples, | |||
| 621 | continue; | 621 | continue; |
| 622 | } else { | 622 | } else { |
| 623 | /* this is an L3 migration */ | 623 | /* this is an L3 migration */ |
| 624 | dprintf("same L3\n"); | 624 | dprintf("same L3 (%d,%d)\n", last_cpu, curr_cpu); |
| 625 | samechip[*chipcount].ovd = full_costs[i].ovd; | 625 | samechip[*chipcount].ovd = full_costs[i].ovd; |
| 626 | samechip[*chipcount].plen = full_costs[i].plen; | 626 | samechip[*chipcount].plen = full_costs[i].plen; |
| 627 | (*chipcount)++; | 627 | (*chipcount)++; |
| @@ -630,6 +630,7 @@ void get_ovd_plen_umaxeon(struct full_ovd_plen *full_costs, int num_samples, | |||
| 630 | } | 630 | } |
| 631 | } else { | 631 | } else { |
| 632 | /* ok, just L2 on this machine, this is an L2 migration */ | 632 | /* ok, just L2 on this machine, this is an L2 migration */ |
| 633 | dprintf("same L2 (%d,%d)\n", last_cpu, curr_cpu); | ||
| 633 | samechip[*chipcount].ovd = full_costs[i].ovd; | 634 | samechip[*chipcount].ovd = full_costs[i].ovd; |
| 634 | samechip[*chipcount].plen = full_costs[i].plen; | 635 | samechip[*chipcount].plen = full_costs[i].plen; |
| 635 | (*chipcount)++; | 636 | (*chipcount)++; |
| @@ -638,7 +639,7 @@ void get_ovd_plen_umaxeon(struct full_ovd_plen *full_costs, int num_samples, | |||
| 638 | } | 639 | } |
| 639 | } | 640 | } |
| 640 | 641 | ||
| 641 | dprintf("offchip\n"); | 642 | dprintf("memory (%d,%d)\n", last_cpu, curr_cpu); |
| 642 | /* if we are here it should have been an offchip migration */ | 643 | /* if we are here it should have been an offchip migration */ |
| 643 | offchip[*offcount].ovd = full_costs[i].ovd; | 644 | offchip[*offcount].ovd = full_costs[i].ovd; |
| 644 | offchip[*offcount].plen = full_costs[i].plen; | 645 | offchip[*offcount].plen = full_costs[i].plen; |
