summaryrefslogtreecommitdiff
path: root/src/gpuwattch/noc.cc
diff options
context:
space:
mode:
authorNick <[email protected]>2019-09-13 07:48:04 -0400
committerNick <[email protected]>2019-09-13 07:48:04 -0400
commit96a0ebfc2583e6f92d8287ecd128eb7c634be017 (patch)
treed8337c6979b420f5075aeebefcc676b46cf6e639 /src/gpuwattch/noc.cc
parentca563ea85ead434e0d579026b5e66e829af5efe5 (diff)
Revert "Add additional formatting pass on directories"
This reverts commit ca563ea85ead434e0d579026b5e66e829af5efe5.
Diffstat (limited to 'src/gpuwattch/noc.cc')
-rw-r--r--src/gpuwattch/noc.cc46
1 files changed, 16 insertions, 30 deletions
diff --git a/src/gpuwattch/noc.cc b/src/gpuwattch/noc.cc
index 85fc0a9..bf8d8b5 100644
--- a/src/gpuwattch/noc.cc
+++ b/src/gpuwattch/noc.cc
@@ -357,44 +357,30 @@ void NoC::displayEnergy(uint32_t indent, int plevel, bool is_tdp) {
cout << endl;
}
} else {
- // cout << indent_str_next << "Instruction Fetch Unit Peak Dynamic
- //=
- //"
+ // cout << indent_str_next << "Instruction Fetch Unit Peak Dynamic = "
//<< ifu->rt_power.readOp.dynamic*clockRate << " W" << endl;
- // cout << indent_str_next << "Instruction Fetch Unit Subthreshold
- // Leakage = " << ifu->rt_power.readOp.leakage <<" W" << endl;
- // cout << indent_str_next << "Instruction Fetch Unit Gate Leakage
- //=
- //"
+ // cout << indent_str_next << "Instruction Fetch Unit Subthreshold
+ //Leakage = " << ifu->rt_power.readOp.leakage <<" W" << endl;
+ // cout << indent_str_next << "Instruction Fetch Unit Gate Leakage = "
//<< ifu->rt_power.readOp.gate_leakage << " W" << endl;
- // cout << indent_str_next << "Load Store Unit Peak Dynamic = "
- //<<
- // lsu->rt_power.readOp.dynamic*clockRate << " W" << endl;
- // cout << indent_str_next << "Load Store Unit Subthreshold Leakage
- //=
- //"
+ // cout << indent_str_next << "Load Store Unit Peak Dynamic = " <<
+ //lsu->rt_power.readOp.dynamic*clockRate << " W" << endl;
+ // cout << indent_str_next << "Load Store Unit Subthreshold Leakage = "
//<< lsu->rt_power.readOp.leakage << " W" << endl;
- // cout << indent_str_next << "Load Store Unit Gate Leakage = "
- //<<
- // lsu->rt_power.readOp.gate_leakage << " W" << endl;
- // cout << indent_str_next << "Memory Management Unit Peak Dynamic
- //=
- //"
+ // cout << indent_str_next << "Load Store Unit Gate Leakage = " <<
+ //lsu->rt_power.readOp.gate_leakage << " W" << endl;
+ // cout << indent_str_next << "Memory Management Unit Peak Dynamic = "
//<< mmu->rt_power.readOp.dynamic*clockRate << " W" << endl;
- // cout << indent_str_next << "Memory Management Unit Subthreshold
- // Leakage = " << mmu->rt_power.readOp.leakage << " W" << endl;
- // cout << indent_str_next << "Memory Management Unit Gate Leakage
- //=
- //"
+ // cout << indent_str_next << "Memory Management Unit Subthreshold
+ //Leakage = " << mmu->rt_power.readOp.leakage << " W" << endl;
+ // cout << indent_str_next << "Memory Management Unit Gate Leakage = "
//<< mmu->rt_power.readOp.gate_leakage << " W" << endl;
// cout << indent_str_next << "Execution Unit Peak Dynamic = " <<
- // exu->rt_power.readOp.dynamic*clockRate << " W" << endl;
- // cout << indent_str_next << "Execution Unit Subthreshold Leakage
- //=
- //"
+ //exu->rt_power.readOp.dynamic*clockRate << " W" << endl;
+ // cout << indent_str_next << "Execution Unit Subthreshold Leakage = "
//<< exu->rt_power.readOp.leakage << " W" << endl;
// cout << indent_str_next << "Execution Unit Gate Leakage = " <<
- // exu->rt_power.readOp.gate_leakage << " W" << endl;
+ //exu->rt_power.readOp.gate_leakage << " W" << endl;
}
}