Lines Matching refs:rhs
64 McPATOutput operator+(const McPATOutput &lhs, const McPATOutput &rhs) {
66 to_return.storage = lhs.storage + rhs.storage;
67 to_return.area = lhs.area + rhs.area;
69 rhs.peak_dynamic_power;
71 rhs.subthreshold_leakage_power;
73 rhs.gate_leakage_power;
75 rhs.runtime_dynamic_energy;
79 void McPATOutput::operator+=(const McPATOutput &rhs) {
80 storage += rhs.storage;
81 area += rhs.area;
82 peak_dynamic_power += rhs.peak_dynamic_power;
83 subthreshold_leakage_power += rhs.subthreshold_leakage_power;
84 gate_leakage_power += rhs.gate_leakage_power;
85 runtime_dynamic_energy += rhs.runtime_dynamic_energy;