Public Member Functions

ClockSyncInfo Class Reference

List of all members.

Public Member Functions

uint64 unsafe_hpet () const
uint64 unsafe_tsc () const
 ClockSyncInfo (uint64 tsc=0, uint64 hpet=0)
uint64 unsafe_estimate_hpet (uint32 frac_clocks_per_tick, uint64 tsc=Cpu::rdtsc())
uint64 correct_overflow (uint64 last, uint32 newv)
uint64 current_hpet (uint32 r)
void fetch (volatile uint32 &r)

Constructor & Destructor Documentation

ClockSyncInfo::ClockSyncInfo ( uint64  tsc = 0,
uint64  hpet = 0 
) [inline, explicit]

Member Function Documentation

uint64 ClockSyncInfo::correct_overflow ( uint64  last,
uint32  newv 
) [inline]
uint64 ClockSyncInfo::current_hpet ( uint32  r  )  [inline]
void ClockSyncInfo::fetch ( volatile uint32 r  )  [inline]
uint64 ClockSyncInfo::unsafe_estimate_hpet ( uint32  frac_clocks_per_tick,
uint64  tsc = Cpu::rdtsc() 
) [inline]
uint64 ClockSyncInfo::unsafe_hpet (  )  const [inline]
uint64 ClockSyncInfo::unsafe_tsc (  )  const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines