Skip to content

Commit

Permalink
addressed formatting warnings
Browse files Browse the repository at this point in the history
Change-Id: I12dffdb229a801d8c391e6a73d11431a4bb65362
  • Loading branch information
twillhal authored and opcm committed Dec 4, 2018
1 parent 99020ce commit 7f1590f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pcm-memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,11 +442,12 @@ void display_bandwidth_csv_header(PCM *m, memdata_t *md, const bool show_channel
cout << "SKT"<<skt<<";"
<< "SKT"<<skt<<";"
<< "SKT"<<skt<<";";
if (m->getCPUModel() != PCM::KNL)
if (m->getCPUModel() != PCM::KNL) {
if (md->PMM)
cout << "SKT"<<skt<<";" << "SKT"<<skt<<";";
else
cout << "SKT"<<skt<<";";
}

if (m->MCDRAMmemoryTrafficMetricsAvailable()) {
if (show_channel_output) {
Expand Down
4 changes: 2 additions & 2 deletions pcm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@ void print_csv_header(PCM * m,
if (m->memoryTrafficMetricsAvailable())
cout << ";;";

if (m->PMMTrafficMetricsAvailable())
cout << ";;";
if (m->PMMTrafficMetricsAvailable())
cout << ";;";

if (m->MCDRAMmemoryTrafficMetricsAvailable())
cout << ";;";
Expand Down

0 comments on commit 7f1590f

Please sign in to comment.