Home |
RTTarget-32 Programming Manual System Management BIOS (SMBIOS) Advanced Programmable Interrupt Controller (APIC) Function RTMPSynchTimeStampCounters |
Function RTMPSynchTimeStampCountersRTMPSynchTimeStampCounters synchronizes the time stamp counter registers on all currently running CPUs: UINT RTMPSynchTimeStampCounters(void); The function returns zero on failure and a non-zero value otherwise. After the call, the difference between any time stamp counters should be less than 1 microsecond. If and how fast time stamp counters drift apart is hardware dependent. The time stamp counter registers of all CPUs are reset to zero by this function. However, values read with function RTRDTSC are corrected such that time periods measured remain valid.
|