root.cc (7942:c122a3e1b204) | root.cc (8232:b28d06a175be) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Advanced Micro Devices 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 --- 18 unchanged lines hidden (view full) --- 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 "base/misc.hh" | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2011 Advanced Micro Devices 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 --- 18 unchanged lines hidden (view full) --- 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 "base/misc.hh" |
35#include "debug/TimeSync.hh" |
|
35#include "sim/root.hh" 36 37Root *Root::_root = NULL; 38 39/* 40 * This function is called periodically by an event in M5 and ensures that 41 * at least as much real time has passed between invocations as simulated time. 42 * If not, the function either sleeps, or if the difference is small enough --- 93 unchanged lines hidden --- | 36#include "sim/root.hh" 37 38Root *Root::_root = NULL; 39 40/* 41 * This function is called periodically by an event in M5 and ensures that 42 * at least as much real time has passed between invocations as simulated time. 43 * If not, the function either sleeps, or if the difference is small enough --- 93 unchanged lines hidden --- |