1/* 2 * Copyright (c) 2006 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; --- 25 unchanged lines hidden (view full) --- 34 35/** @file This header provides some core simulator functionality such as time 36 * information, output directory and exit events 37 */ 38 39#include <string> 40 41#include "base/types.hh" |
42#include "sim/eventq.hh" |
43 44/// The universal simulation clock. |
45inline Tick curTick() { return mainEventQueue.getCurTick(); } |
46 |
47const Tick retryTime = 1000; 48 49/// These are variables that are set based on the simulator frequency 50///@{ 51namespace SimClock { 52extern Tick Frequency; ///< The number of ticks that equal one second 53 54namespace Float { --- 46 unchanged lines hidden --- |