root.cc (11793:ef606668d247) | root.cc (11800:54436a1784dc) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * Authors: Nathan Binkert 30 * Steve Reinhardt 31 * Gabe Black 32 */ 33 | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * 29 * Authors: Nathan Binkert 30 * Steve Reinhardt 31 * Gabe Black 32 */ 33 |
34#include "sim/root.hh" 35 | |
36#include "base/misc.hh" 37#include "base/trace.hh" 38#include "config/the_isa.hh" 39#include "debug/TimeSync.hh" | 34#include "base/misc.hh" 35#include "base/trace.hh" 36#include "config/the_isa.hh" 37#include "debug/TimeSync.hh" |
38#include "sim/eventq_impl.hh" |
|
40#include "sim/full_system.hh" | 39#include "sim/full_system.hh" |
40#include "sim/root.hh" |
|
41 42Root *Root::_root = NULL; 43 44/* 45 * This function is called periodically by an event in M5 and ensures that 46 * at least as much real time has passed between invocations as simulated time. 47 * If not, the function either sleeps, or if the difference is small enough 48 * spin waits. --- 114 unchanged lines hidden --- | 41 42Root *Root::_root = NULL; 43 44/* 45 * This function is called periodically by an event in M5 and ensures that 46 * at least as much real time has passed between invocations as simulated time. 47 * If not, the function either sleeps, or if the difference is small enough 48 * spin waits. --- 114 unchanged lines hidden --- |