Searched refs:node2 (Results 1 - 4 of 4) sorted by relevance

/gem5/src/sim/power/
H A DThermalModel.py119 for cap, node1, node2 in self._capacitors:
120 cap.getCCObject().setNodes(node1.getCCObject(), node2.getCCObject())
123 for res, node1, node2 in self._resistors:
124 res.getCCObject().setNodes(node1.getCCObject(), node2.getCCObject())
130 def addCapacitor(self, cap, node1, node2):
132 self._capacitors.append( (cap, node1, node2) )
134 self.addNodes(node1,node2)
136 def addResistor(self, res, node1, node2):
138 self._resistors.append( (res, node1, node2) )
140 self.addNodes(node1,node2)
[all...]
H A Dthermal_model.cc88 : SimObject(p), _resistance(p->resistance), node1(NULL), node2(NULL)
117 if (n != node1 && n != node2)
125 if (node2->isref)
126 eq[eq.cnt()] += node2->temp / _resistance;
128 eq[node2->id] += 1.0f / _resistance;
131 if (n == node2)
141 : SimObject(p), _capacitance(p->capacitance), node1(NULL), node2(NULL)
171 if (n != node1 && n != node2)
174 eq[eq.cnt()] += _capacitance / step * (node1->temp - node2->temp);
181 if (node2
[all...]
H A Dthermal_model.hh72 node2 = n2;
82 ThermalNode * node1, * node2; member in class:ThermalResistor
104 node2 = n2;
111 ThermalNode * node1, * node2; member in class:ThermalCapacitor
/gem5/src/base/
H A Dtrie.test.cc116 TrieType::Handle node1, node2; local
121 node2 = trie.insert(0x0123456700000000, 32, ptr(10));
128 trie.remove(node2);

Completed in 7 milliseconds