1/* 2 * Copyright (c) 2011 Advanced Micro Devices, Inc. 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; --- 46 unchanged lines hidden (view full) --- 55 bool _enabled; 56 Time _period; 57 Tick _periodTick; 58 Time _spinThreshold; 59 60 Time lastTime; 61 62 void timeSync(); |
63 EventFunctionWrapper syncEvent; |
64 65 public: 66 /** 67 * Use this function to get a pointer to the single Root object in the 68 * simulation. This function asserts that such an object has actual been 69 * constructed to avoid having to perform that check everywhere the root 70 * is used. This is to allow calling the functions below. 71 * --- 47 unchanged lines hidden --- |