| 1 | = Plugin Manual = |
| 2 | |
| 3 | == rdtscTimeSource for high precision timer counters == |
| 4 | |
| 5 | The plugin changes the default time source of the engine against a time source based on the fetching of the '''rdtsc''' instruction of the CPU. |
| 6 | |
| 7 | '''''Warning:''''' on CPUs with dynamicly changeable frequencies the timers may run incorrect |
| 8 | |
| 9 | Following parameters can be given to the plugin during the initialization: |
| 10 | * ''sync_interval'' [uint32]: time in milliseconds which can be passed untill the next synchronization. On CPUs with stable frequency this value can be set to 0. Default value is 500 |
| 11 | * ''sync_duration'' [uint32]: time in milliseconds how long the frequency measurement (i.e. synching) has to take place. Shorter values can produce incorrect results of the CPU speed. Default value is 10ms. |
| 12 | |