root.hh (11169:44b5c183c3cd) | root.hh (12088:ffd7952e9929) |
---|---|
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(); | 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 EventWrapper<Root, &Root::timeSync> syncEvent; 64 friend class EventWrapper<Root, &Root::timeSync>; | 63 EventFunctionWrapper syncEvent; |
65 66 public: 67 /** 68 * Use this function to get a pointer to the single Root object in the 69 * simulation. This function asserts that such an object has actual been 70 * constructed to avoid having to perform that check everywhere the root 71 * is used. This is to allow calling the functions below. 72 * --- 47 unchanged lines hidden --- | 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 --- |