Ignore:
Timestamp:
09/28/2007 12:01:43 AM (12 years ago)
Author:
art
Message:

User can specify the timings needed for synchronisation of the rdtscTimeSource Plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Plugins/rdtscTimeSource/TimeSource.h

    r55 r56  
    8181     **/ 
    8282    bool isSupported() { return _isSupported; } 
    83         
     83 
     84    //! Set the duration in ms how long to sync (require to compute the cpu frequency properly) 
     85    void setSyncDuration(uint32 time) { _syncDuration = time; } 
     86     
    8487private: 
    8588 
     
    9295        //! Cpu to get info 
    9396        boost::shared_ptr<Cpu>  mCpu; 
    94                  
     97 
     98    //! Duration in ms how long to sync 
     99    uint32 _syncDuration;       
    95100}; 
    96101 
Note: See TracChangeset for help on using the changeset viewer.