core.cc (7823:dac01f14f20f) | core.cc (9356:b279bad40aa3) |
---|---|
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; --- 21 unchanged lines hidden (view full) --- 30 */ 31 32#include <iostream> 33#include <string> 34 35#include "base/callback.hh" 36#include "base/output.hh" 37#include "sim/core.hh" | 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; --- 21 unchanged lines hidden (view full) --- 30 */ 31 32#include <iostream> 33#include <string> 34 35#include "base/callback.hh" 36#include "base/output.hh" 37#include "sim/core.hh" |
38#include "sim/eventq.hh" |
|
38 39using namespace std; 40 | 39 40using namespace std; 41 |
41Tick _curTick = 0; 42 | |
43namespace SimClock { 44/// The simulated frequency of curTick(). (In ticks per second) 45Tick Frequency; 46 47namespace Float { 48double s; 49double ms; 50double us; --- 81 unchanged lines hidden --- | 42namespace SimClock { 43/// The simulated frequency of curTick(). (In ticks per second) 44Tick Frequency; 45 46namespace Float { 47double s; 48double ms; 49double us; --- 81 unchanged lines hidden --- |