main.py (3624:aaba7e06ece4) main.py (3645:2bf1f7c69254)
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

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

270 sys.path[0:0] = options.path
271
272 import objects
273
274 # set stats options
275 objects.Statistics.text_file = options.stats_file
276
277 # set debugging options
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

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

270 sys.path[0:0] = options.path
271
272 import objects
273
274 # set stats options
275 objects.Statistics.text_file = options.stats_file
276
277 # set debugging options
278 objects.Debug.break_cycles = options.debug_break
278 for when in options.debug_break:
279 internal.debug.schedBreakCycle(int(when))
279
280 # set tracing options
281 objects.Trace.flags = options.trace_flags
282 objects.Trace.start = options.trace_start
283 objects.Trace.cycle = options.trace_cycle
284 objects.Trace.file = options.trace_file
285 objects.Trace.bufsize = options.trace_circlebuf
286 objects.Trace.dump_on_exit = options.trace_dumponexit

--- 50 unchanged lines hidden ---
280
281 # set tracing options
282 objects.Trace.flags = options.trace_flags
283 objects.Trace.start = options.trace_start
284 objects.Trace.cycle = options.trace_cycle
285 objects.Trace.file = options.trace_file
286 objects.Trace.bufsize = options.trace_circlebuf
287 objects.Trace.dump_on_exit = options.trace_dumponexit

--- 50 unchanged lines hidden ---