Searched refs:object_name (Results 1 - 6 of 6) sorted by relevance

/gem5/src/sim/
H A Dcxx_config_ini.cc45 CxxIniFile::getParam(const std::string &object_name, argument
49 return iniFile.find(object_name, param_name, value);
53 CxxIniFile::getParamVector(const std::string &object_name, argument
58 bool ret = iniFile.find(object_name, param_name, value);
70 CxxIniFile::getPortPeers(const std::string &object_name, argument
74 return getParamVector(object_name, port_name, peers);
90 CxxIniFile::getObjectChildren(const std::string &object_name, argument
93 if (!getParamVector(object_name, "children", children))
96 if (return_paths && object_name != "root") {
98 *i = object_name
[all...]
H A Dcxx_config_ini.hh63 bool getParam(const std::string &object_name,
67 bool getParamVector(const std::string &object_name,
71 bool getPortPeers(const std::string &object_name,
75 bool objectExists(const std::string &object_name) const;
79 void getObjectChildren(const std::string &object_name,
H A Dcxx_manager.cc58 CxxConfigManager::findObjectType(const std::string &object_name, argument
61 if (!configFile.objectExists(object_name))
62 throw Exception(object_name, "Can't find sim object");
64 if (!configFile.getParam(object_name, "type", object_type))
65 throw Exception(object_name, "Sim object has no 'type' field");
70 throw Exception(object_name, csprintf(
131 CxxConfigManager::findObject(const std::string &object_name, argument
134 std::string instance_name = rename(object_name);
136 if (object_name == "Null")
148 findObjectType(object_name, object_typ
265 findObjectParams(const std::string &object_name) argument
424 findTraversalOrder(const std::string &object_name) argument
525 std::string object_name = unRename(instance_name); local
678 setParam(const std::string &object_name, const std::string &param_name, const std::string &param_value) argument
695 setParamVector(const std::string &object_name, const std::string &param_name, const std::vector<std::string> &param_values) argument
[all...]
H A Dcxx_manager.hh180 const std::string &object_name, std::string &object_type);
192 /** Walk the configuration starting with object object_name and fill
198 * (objectParamsByName[object_name] will be used)</li>
208 * objectsByName[object_name] */
209 SimObject *findObject(const std::string &object_name,
227 * objectParamsByName[object_name] */
228 CxxConfigParams *findObjectParams(const std::string &object_name);
232 void findTraversalOrder(const std::string &object_name);
239 getObject(const std::string &object_name) argument
241 if (objectsByName.find(object_name)
[all...]
H A Dcxx_config.hh196 virtual bool getParam(const std::string &object_name,
201 virtual bool getParamVector(const std::string &object_name,
206 virtual bool getPortPeers(const std::string &object_name,
211 virtual bool objectExists(const std::string &object_name) const = 0;
219 virtual void getObjectChildren(const std::string &object_name,
/gem5/configs/example/
H A Dread_config.py139 def __init__(self, object_name, port_name, index):
140 self.object_name = object_name
147 object_name, port_name, whole_index, index = m.groups()
153 return PortConnection(object_name, port_name, index)
156 return '%s.%s[%d]' % (self.object_name, self.port_name, self.index)
159 return cmp((self.object_name, self.port_name, self.index),
160 (right.object_name, right.port_name, right.index))
176 def find_object(self, object_name):
180 if object_name
[all...]

Completed in 10 milliseconds