/gem5/ext/googletest/googletest/test/ |
H A D | gtest_xml_test_utils.py | 64 * It has an equivalent set of child nodes (including elements and 103 'number of child elements differ in element ' + actual_node.tagName) 104 for child_id, child in expected_children.items(): 108 self.AssertEquivalentNodes(child, actual_children[child_id]) 119 Fetches all of the child nodes of element, a DOM Element object. 126 four is encountered, if two child elements with the same identifying 131 for child in element.childNodes: 132 if child.nodeType == Node.ELEMENT_NODE: 133 self.assert_(child.tagName in self.identifying_attribute, 134 'Encountered unknown element <%s>' % child [all...] |
H A D | gtest_help_test.py | 94 child = gtest_test_utils.Subprocess(command) 95 return child.exit_code, child.output
|
H A D | gtest_filter_unittest.py | 57 # Checks if this platform can pass empty environment variables to child 60 # os.environ. We then use 'eval' to parse the child's output so that an 63 child = gtest_test_utils.Subprocess( variable 65 CAN_PASS_EMPTY_ENV = eval(child.output) 68 # Check if this platform can unset environment variables in child processes. 72 # We use 'eval' to parse the child's output so that an exception 76 child = gtest_test_utils.Subprocess( variable 78 CAN_UNSET_ENV = eval(child.output)
|
/gem5/src/systemc/tests/tlm/p2p/HierarchicalSocket/ |
H A D | SimpleInitiatorWrapper.h | 43 child("child") 45 child.socket(socket); 49 SimpleLTInitiator1 child; member in class:SimpleInitiatorWrapper
|
H A D | SimpleTargetWrapper.h | 43 child("child") 45 socket(child.socket); 49 SimpleLTTarget1 child; member in class:SimpleTargetWrapper
|
/gem5/src/systemc/tests/systemc/1666-2011-compliance/virtual_bind/ |
H A D | virtual_bind.cpp | 121 Child *child; member in struct:Top 127 child = new Child("child"); 128 extended_port* ep = &(child->p); 137 child->xp->meth(); 150 sc_assert( top.child->chan.f1 ); 151 sc_assert( top.child->p.f2 ); 152 sc_assert( top.child->xp.f3 );
|
/gem5/util/statetrace/base/ |
H A D | statetrace.cc | 65 TraceChild * child = genTraceChild(); local 110 if (!child->startTracing(argv[startProgramArgs], 115 child->step(); 117 child->outputStartState(cout); 144 while (child->isTracing()) { 145 if (!child->sendState(sock)) 147 child->step(); 150 if (!child->stopTracing()) { 151 cerr << "Couldn't stop child" << endl;
|
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/test09/ |
H A D | test09.cpp | 69 void child() function 122 m_child1 = sc_spawn( sc_bind(&DUT::child, this), "child1" ); 123 m_child2 = sc_spawn( sc_bind(&DUT::child, this), "child2" ); 124 m_child3 = sc_spawn( sc_bind(&DUT::child, this), "child3" ); 147 m_child1 = sc_spawn( sc_bind(&DUT::child, this), "child1" ); 148 m_child2 = sc_spawn( sc_bind(&DUT::child, this), "child2" ); 149 m_child3 = sc_spawn( sc_bind(&DUT::child, this), "child3" );
|
/gem5/src/systemc/tests/systemc/kernel/process_control/test07/ |
H A D | test07.cpp | 96 void child( start_options opt ){ function 107 sc_spawn( sc_bind( &DUT::child, this, no_children ) 120 sc_spawn( sc_bind( &DUT::child, this, start_child_proc ), "child0" ); 121 sc_spawn( sc_bind( &DUT::child, this, both_children ), "child1" ); 127 // grandchildren started, child object created 135 // grandhildren ended (zombie with child object kept) 139 // child object removed, zombies deleted 147 h0 = sc_spawn( sc_bind( &DUT::child, this, start_child_proc ), "child0" ), 148 h1 = sc_spawn( sc_bind( &DUT::child, this, start_child_proc ), "child1" );
|
/gem5/src/dev/storage/ |
H A D | DiskImage.py | 45 child = Param.DiskImage(RawDiskImage(read_only=True), variable in class:CowDiskImage 46 "child image")
|
H A D | disk_image.cc | 184 : DiskImage(p), filename(p->image_file), child(p->child), table(NULL) 216 inform("Disabling saving of COW image in forked child process.\n"); 336 // the COW image in a forked child process. Save will still be 383 child->write((*i).second->data, (*i).first); 390 { return child->size(); } 403 return child->read(data, offset);
|
H A D | disk_image.hh | 120 DiskImage *child; member in class:CowDiskImage
|
/gem5/ext/mcpat/regression/ |
H A D | verify_output.py | 122 for child in self.children: 123 if child != self: 124 temp_node.area += child.area 125 temp_node.peak_dynamic_power += child.peak_dynamic_power 126 temp_node.subthreshold_leakage += child.subthreshold_leakage 127 temp_node.gate_leakage += child.gate_leakage 128 temp_node.runtime_dynamic_power += child.runtime_dynamic_power 129 temp_node.runtime_dynamic_energy += child.runtime_dynamic_energy 130 temp_node.total_runtime_energy += child.total_runtime_energy 131 child [all...] |
/gem5/src/python/m5/util/ |
H A D | dot_writer.py | 73 for child in simNode._children.values(): 74 if isNullPointer(child): 76 if isSimObjectVector(child): 77 for obj in child: 81 yield child 105 for child in simnode_children(simNode): 106 dot_create_nodes(child, cluster) 128 for child in simnode_children(simNode): 129 dot_create_edges(child, callgraph) 318 for child i [all...] |
/gem5/src/python/m5/ |
H A D | SimObject.py | 574 # if param value is a SimObject, make it a child too, so that 584 def _add_cls_child(cls, name, child): 590 child.set_parent(cls, name) 591 if not isNullPointer(child): 592 cls._children[name] = child 640 # If RHS is a SimObject, it's an implicit child assignment. 1080 # (parent/child node relationships). 1123 child = self._children[keys] 1126 if not isSimObjectVector(child): 1129 flags_dict = child [all...] |
/gem5/util/stats/ |
H A D | profile.py | 120 node.children = [ long(child, 16) for child in data[3:] ] 126 child = nodes[cid] 127 children.append(child) 128 child.parent = node 137 for child in self.children: 138 total += child.total() 148 for child in self.children: 149 total += child.aggregate(dict, categorize, category or incategory) 160 kids = [ child [all...] |
/gem5/src/systemc/core/ |
H A D | object.cc | 143 for (auto child: children) { 144 addObject(&topLevelObjects, child); 145 child->_gem5_object->parent = nullptr;
|
/gem5/ext/ply/example/GardenSnake/ |
H A D | GardenSnake.py | 347 for child in left.getChildren(): 348 if not isinstance(child, ast.Name): 350 names.append(child.name)
|
/gem5/configs/example/arm/ |
H A D | starter_fs.py | 89 image.child.image_file = SysPaths.disk(name)
|
H A D | fs_bigLITTLE.py | 135 image.child.image_file = SysPaths.disk(image_file) 284 # has to be done after creating caches and other child objects
|
/gem5/src/cpu/trace/ |
H A D | trace_cpu.cc | 515 // Check if the child node has become dependency free 523 // Remove this child for the sent load and point to new 527 // This child is not dependency-free, point to the next 528 // child 539 for (auto child : node_ptr->dependents) { 540 // If the child node is dependency free removeDepOnInst() 542 if (child->removeDepOnInst(node_ptr->seqNum)) { 545 checkAndIssue(child); 762 for (auto child : node_ptr->dependents) { 763 if (child [all...] |
/gem5/ext/mcpat/ |
H A D | core.cc | 66 // Check if there is an icache child: 213 XMLNode* child = xml_data->getChildNodePtr("component", &i); local 214 XMLCSTR type = child->getAttribute("type"); 217 warnMissingComponentType(child->getAttribute("id")); 220 int sub_num_children = child->nChildNode("param"); 223 XMLNode* paramNode = child->getChildNodePtr("param", &j); 243 sub_num_children = child->nChildNode("stat"); 245 XMLNode* statNode = child->getChildNodePtr("stat", &j); 458 XMLNode* child = xml_data->getChildNodePtr("component", &i); local 459 XMLCSTR type = child 995 XMLNode* child = xml_data->getChildNodePtr("component", &i); local [all...] |
H A D | xmlParser.h | 352 XMLNode getChildNode(int i=0) const; ///< return ith child node 353 XMLNode getChildNode(XMLCSTR name, int i) const; ///< return ith child node with specific name (return an empty node if failing). If i==-1, this returns the last XMLNode with the given name. 354 XMLNode getChildNode(XMLCSTR name, int *i=NULL) const; ///< return next child node with specific name (return an empty node if failing) 359 int *i=NULL) const; ///< return child node with specific name/attribute (return an empty node if failing) 361 ///< return the first child node with specific path 363 ///< return the first child node with specific path. 365 int nChildNode(XMLCSTR name) const; ///< return the number of child node with specific name 366 int nChildNode() const; ///< nbr of child node 376 XMLNodeContents enumContents(XMLElementPosition i) const; ///< enumerate all the different contents (attribute,child,text, clear) of the current XMLNode. The order is reflecting the order of the original file/string. NOTE: 0 <= i < nElement(); 407 XMLNode addChild(XMLCSTR lpszName, char isDeclaration=FALSE, XMLElementPosition pos=-1); ///< Add a new child nod 638 XMLNode child; member in struct:XMLNodeContents [all...] |
H A D | xmlParser.cc | 1357 // Add a child node to the given element. 2175 // If there are child nodes we need to terminate the start tag 2185 // Calculate the child format for when we recurse. This is used to 2271 // Recursively add child nodes 2283 // If we have child entries we need to use long XML notation for 2925 c.child = d->pChild[i];
|
/gem5/configs/common/ |
H A D | FSConfig.py | 64 image = CowDiskImage(child=RawDiskImage(read_only=True), 68 self.image.child.image_file = ci 148 image = CowDiskImage(child=RawDiskImage(read_only=True), 152 self.image.child.image_file = ci
|