Skip to content
This repository was archived by the owner on Apr 30, 2020. It is now read-only.

Commit 92b04ae

Browse files
committed
Removing redundant IPC column from output report
1 parent 0b5d9e8 commit 92b04ae

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

  • CodeXL/Components/PowerProfiling/Backend/AMDTPowerProfileCLI/src

CodeXL/Components/PowerProfiling/Backend/AMDTPowerProfileCLI/src/ppReporter.cpp

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@
3434
#define PROCESS_INFO_CSV_FORMAT "%d,%d,%d,%3.2f,%3.2f,%s,%s\n"
3535
#define PROCESS_INFO_CSV_HDR_FORMAT "\nSNo,PID,Samples,Power(Joules),Power(%),Name,Path\n\n"
3636
#else // Windows
37-
#define PROCESS_INFO_TXT_FORMAT "%d\t%d\t%d\t%3.2f\t%3.2f\t\t%3.2f\t\t%-45.45s\t%s\n"
38-
#define PROCESS_INFO_TXT_HDR_FORMAT "\nSNo\tPID\tSamples\tIPC\tPower(Joules)\tPower(%)\tName\t\t\t\t\t\tPath\n\n"
39-
#define PROCESS_INFO_CSV_FORMAT "%d,%d,%d,%3.2f,%3.2f,%3.2f,%s,%s\n"
40-
#define PROCESS_INFO_CSV_HDR_FORMAT "\nSNo,PID,Samples,IPC,Power(Joules),Power(%),Name,Path\n\n"
37+
#define PROCESS_INFO_TXT_FORMAT "%d\t%d\t%d\t%3.2f\t\t%3.2f\t\t%-45.45s\t%s\n"
38+
#define PROCESS_INFO_TXT_HDR_FORMAT "\nSNo\tPID\tSamples\tPower(Joules)\tPower(%)\tName\t\t\t\t\t\tPath\n\n"
39+
#define PROCESS_INFO_CSV_FORMAT "%d,%d,%d,%3.2f,%3.2f,%s,%s\n"
40+
#define PROCESS_INFO_CSV_HDR_FORMAT "\nSNo,PID,Samples,Power(Joules),Power(%),Name,Path\n\n"
4141
#endif
4242

4343
void ppReporter::ReportHeader()
@@ -465,9 +465,6 @@ void ppReporterText::WriteProcessData(AMDTUInt32 recCnt, AMDTPwrProcessInfo*& pI
465465
cnt,
466466
recInfo->m_pid,
467467
recInfo->m_sampleCnt,
468-
#if AMDT_BUILD_TARGET != AMDT_LINUX_OS // Windows
469-
recInfo->m_ipc,
470-
#endif
471468
recInfo->m_power,
472469
(recInfo->m_power * 100) / totalPower,
473470
recInfo->m_name,
@@ -759,9 +756,6 @@ void ppReporterCsv::WriteProcessData(AMDTUInt32 recCnt, AMDTPwrProcessInfo*& pIn
759756
cnt,
760757
recInfo->m_pid,
761758
recInfo->m_sampleCnt,
762-
#if AMDT_BUILD_TARGET != AMDT_LINUX_OS // Windows
763-
recInfo->m_ipc,
764-
#endif
765759
recInfo->m_power,
766760
(recInfo->m_power * 100) / totalPower,
767761
recInfo->m_name,

0 commit comments

Comments
 (0)