Searched refs:node (Results 1 - 25 of 55) sorted by relevance

123

/gem5/src/base/
H A Dtrie.hh119 * node being examined.
120 * @param parent The node we're currently "at", which can be updated.
121 * @param kid The node we may want to move to.
163 Node *node = &head; local
164 while (node) {
165 if (node->value)
166 return node;
168 if (node->kids[0] && node->kids[0]->matches(key))
169 node
203 Node *node = &head; local
276 Node *node = lookupHandle(key); local
291 Node *node = handle; local
[all...]
/gem5/src/dev/arm/
H A DEnergyCtrl.py52 node = self.generateBasicPioDeviceNode(state, 'gem5_energy_ctrl',
55 node.appendCompatible("arm,gem5-energy-ctrl")
57 yield node
H A DVirtIOMMIO.py58 node = self.generateBasicPioDeviceNode(state, 'virtio', self.pio_addr,
62 node.appendCompatible(["virtio,mmio"])
63 yield node
H A DGic.py153 node = FdtNode("interrupt-controller")
154 node.appendCompatible(["gem5,gic", "arm,cortex-a15-gic",
156 node.append(gic._state.interruptCellsProperty())
157 node.append(gic._state.addrCellsProperty())
158 node.append(FdtProperty("interrupt-controller"))
170 node.append(FdtPropertyWords("reg", regs))
171 node.append(FdtPropertyWords("interrupts",
174 node.appendPhandle(gic)
176 yield node
191 node
[all...]
H A DDisplay.py65 # timing node
89 # display timing node
95 # endpoint node
100 # Assign node so that it can be retrieved
103 # port node
108 node = FdtNode("virt-encoder")
109 node.appendCompatible(["drm,virtual-encoder"])
110 node.append(dispt_node)
111 node.append(port_node)
113 yield node
[all...]
H A DRealView.py134 node = FdtNode("pci")
137 node.appendCompatible("pci-host-cam-generic")
139 node.appendCompatible("pci-host-ecam-generic")
143 node.append(FdtPropertyStrings("device_type", ["pci"]))
146 node.append(local_state.addrCellsProperty())
147 node.append(local_state.sizeCellsProperty())
148 node.append(local_state.interruptCellsProperty())
150 node.append(FdtPropertyWords("reg",
169 node.append(FdtPropertyWords("ranges", ranges))
191 node
[all...]
/gem5/configs/boot/
H A Discsi-client.rcS40 node.active_cnx = 1
41 node.startup = manual
42 #node.session.auth.username = dima
43 #node.session.auth.password = aloha
44 node.session.timeo.replacement_timeout = 0
45 node.session.err_timeo.abort_timeout = 10
46 node.session.err_timeo.reset_timeout = 30
47 node.session.iscsi.InitialR2T = No
48 node.session.iscsi.ImmediateData = Yes
49 node
[all...]
/gem5/site_scons/
H A Dgem5_python_paths.py50 extra_python_paths = [ node.abspath for node in extra_python_nodes ]
/gem5/configs/topologies/
H A DCluster.py75 def add(self, node):
76 self.nodes.append(node)
86 for node in self.nodes:
87 if type(node) == Cluster:
88 node.makeTopology(options, network, IntLink,
93 dst_node=node.router)
94 link_in = IntLink(link_id=self.num_int_links(), src_node=node.router,
97 if node.extBW:
98 link_out.bandwidth_factor = node.extBW
99 link_in.bandwidth_factor = node
[all...]
/gem5/src/mem/
H A Dstack_dist_calc.cc61 // Create a root node. Node type variable in the topmost layer
79 // each map entry contains an index and a node
96 // the node sums till the root. It also deletes the nodes that
99 StackDistCalc::updateSum(Node* node, bool from_left, argument
105 // Make a copy of the node variables and work on them
106 // as a node may be deleted by this function
107 uint64_t node_sum_l = node->sumLeft;
108 uint64_t node_sum_r = node->sumRight;
109 bool node_left = node->isLeftNode;
110 bool node_discard_left = node
188 updateSumsLeavesToRoot(Node* node, bool is_new_leaf) argument
213 getSum(Node* node, bool from_left, uint64_t sum_from_below, uint64_t stack_dist, uint64_t level) const argument
514 sanityCheckTree(const Node* node, uint64_t level) const argument
567 Node* node; local
[all...]
H A Dstack_dist_calc.hh62 * layers, tree[0][5] gives a leaf node pointer for key=5 tree[1][1]
63 * gives an intermediate node pointer for key=1 tree[2][0] gives the
64 * root node in the tree.
71 * mark an old node in the tree is added. This is useful if it is
83 * At every unique transaction a new leaf node is added at tree[0](leaf layer)
89 * leaf at the returned index to the root, the old node is deleted
92 * found node. If this node was marked then a bool flag set to True
93 * is returned with the stack_distance. During this operation a node
96 * node i
[all...]
/gem5/src/sim/power/
H A Dthermal_domain.hh80 /** Set/Get circuit node associated with this domain */
81 void setNode(ThermalNode * n) { node = n; }
82 ThermalNode * getNode() const { return node; }
84 /** Get nodal equation imposed by this node */
104 ThermalNode * node; member in class:ThermalDomain
H A DThermalModel.py45 # Represents a thermal node
72 # Represents a fixed temperature node (ie. air)
111 for ref, node in self._references:
112 ref.getCCObject().setNode(node.getCCObject())
115 for dom, node in self._domains:
116 dom.getCCObject().setNode(node.getCCObject())
127 for node in self._nodes:
128 self.getCCObject().addNode(node.getCCObject())
142 def addReference(self, ref, node):
144 self._references.append( (ref, node) )
[all...]
H A Dthermal_domain.cc55 node(NULL), subsystem(NULL)
62 return node->temp;
90 ppThermalUpdate->notify(node->temp);
117 if (tn == node)
/gem5/ext/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class.py57 for node in class_node.body:
59 if (isinstance(node, ast.Function) and
60 node.modifiers & function_type and
61 not node.modifiers & ctor_or_dtor):
64 if node.modifiers & ast.FUNCTION_CONST:
67 if node.return_type:
70 if node.return_type.modifiers:
71 modifiers = ' '.join(node.return_type.modifiers) + ' '
72 return_type = modifiers + node.return_type.name
73 template_args = [arg.name for arg in node
[all...]
/gem5/ext/googletest/googletest/samples/
H A Dsample3-inl.h46 // QueueNode is a node in a Queue, which consists of an element of
47 // type E and a pointer to the next node.
53 // Gets the element in this node.
56 // Gets the next node in the queue.
61 // Creates a node with a given element value. The next pointer is
85 // 1. Deletes every node.
86 QueueNode<E>* node = head_; local
87 QueueNode<E>* next = node->next();
89 delete node;
90 node
[all...]
/gem5/src/dev/
H A DDevice.py57 node = FdtNode("%s@%x" % (name, long(pio_addr)))
58 node.append(FdtPropertyWords("reg",
69 node.append(FdtPropertyWords("interrupts", sum(
72 return node
96 def addIommuProperty(self, state, node):
105 node.append(FdtPropertyWords("iommus",
/gem5/util/
H A Dhgfilesize.py16 def limit_file_size(ui, repo, node=None, **kwargs):
21 existing_tip = context.changectx(repo, node).rev()
/gem5/src/arch/arm/
H A DArmSystem.py102 # Generate a device tree root node for the system by creating the root
103 # node and adding the generated subnodes of all children.
105 # creating a node called '/' which will then be merged with the
109 node = FdtNode("memory@%x" % long(mem_range.start))
110 node.append(FdtPropertyStrings("device_type", ["memory"]))
111 node.append(FdtPropertyWords("reg",
114 return node
124 for node in self.recurseDeviceTree(state):
127 if node.get_name() == root.get_name():
128 root.merge(node)
[all...]
/gem5/src/python/m5/util/
H A Dmultidict.py113 node = self
114 while isinstance(node, multidict):
115 print(' ', node.local)
116 node = node.parent
120 node = self
121 while isinstance(node, multidict):
122 if key in node.local:
123 values.append(node.local[key])
124 node
[all...]
/gem5/src/cpu/
H A Dprofile.cc56 const ProfileNode *node = i->second; local
57 ccprintf(os, "%#x ", (intptr_t)node);
74 const ProfileNode *node = i->second; local
75 node->dump(symbol, (intptr_t)node, symtab, os);
146 FunctionProfile::sample(ProfileNode *node, Addr pc) argument
148 node->count++;
/gem5/src/python/m5/ext/pyfdt/
H A Dpyfdt.py93 def __ne__(self, node):
96 return not self.__eq__(node)
98 def __eq__(self, node):
99 """Check node equality
102 if not isinstance(node, FdtProperty):
104 if self.name != node.get_name():
234 def __eq__(self, node):
235 """Check node equality
238 if not FdtProperty.__eq__(self, node):
240 if self.__len__() != len(node)
[all...]
/gem5/src/mem/ruby/profiler/
H A DStoreTrace.hh45 void store(NodeID node);
46 void downgrade(NodeID node);
H A DStoreTrace.cc107 StoreTrace::store(NodeID node) argument
111 assert((m_last_writer == -1) || (m_last_writer == node));
113 m_last_writer = node;
128 StoreTrace::downgrade(NodeID node) argument
130 if (node == m_last_writer) {
/gem5/src/mem/ruby/network/
H A DNetwork.cc110 for (int node = 0; node < m_nodes; node++) {
113 for (auto& it : m_toNetQueues[node]) {
117 for (auto& it : m_fromNetQueues[node]) {
202 // type to get the responsible node for this address.
205 AddrMapNode &node = it->second; local
206 auto &ranges = node.ranges;
209 return node.id;

Completed in 28 milliseconds

123