simulate.py (6001:00251eb95de7) simulate.py (6654:4c84e771cca7)
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 26 unchanged lines hidden (view full) ---

35import internal
36import core
37import stats
38from main import options
39import SimObject
40import ticks
41import objects
42
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 26 unchanged lines hidden (view full) ---

35import internal
36import core
37import stats
38from main import options
39import SimObject
40import ticks
41import objects
42
43# define a MaxTick parameter
44MaxTick = 2**63 - 1
45
43# The final hook to generate .ini files. Called from the user script
44# once the config is built.
45def instantiate(root):
46 # we need to fix the global frequency
47 ticks.fixGlobalFrequency()
48
49 root.unproxy_all()
50

--- 139 unchanged lines hidden ---
46# The final hook to generate .ini files. Called from the user script
47# once the config is built.
48def instantiate(root):
49 # we need to fix the global frequency
50 ticks.fixGlobalFrequency()
51
52 root.unproxy_all()
53

--- 139 unchanged lines hidden ---