main.cc (2889:9e367e03d656) | main.cc (2928:39faed6ca129) |
---|---|
1/* 2 * Copyright (c) 2000-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 201 unchanged lines hidden (view full) --- 210 */ 211void 212loadIniFile(PyObject *_resolveFunc) 213{ 214 resolveFunc = _resolveFunc; 215 configStream = simout.find("config.out"); 216 217 // The configuration database is now complete; start processing it. | 1/* 2 * Copyright (c) 2000-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 201 unchanged lines hidden (view full) --- 210 */ 211void 212loadIniFile(PyObject *_resolveFunc) 213{ 214 resolveFunc = _resolveFunc; 215 configStream = simout.find("config.out"); 216 217 // The configuration database is now complete; start processing it. |
218 inifile.load("config.ini"); | 218 inifile.load(simout.resolve("config.ini")); |
219 220 // Initialize statistics database 221 Stats::InitSimStats(); 222} 223 224 225/** 226 * Look up a MemObject port. Helper function for connectPorts(). --- 228 unchanged lines hidden --- | 219 220 // Initialize statistics database 221 Stats::InitSimStats(); 222} 223 224 225/** 226 * Look up a MemObject port. Helper function for connectPorts(). --- 228 unchanged lines hidden --- |