Definition in file RTServerImpl.cc.
Include dependency graph for RTServerImpl.cc:
Go to the source code of this file.
Defines | |
#define | MHZ_SLOP 2 |
The acceptable difference in successive guesses of the machines Mhz. | |
Typedefs | |
typedef signed long long int | cycle_time |
Type used for cycle counter values. | |
typedef double | us_time |
Type used for time value in microseconds. | |
Functions | |
cycle_time | rdtsc (void) |
us_time | cycle_to_us (cycle_time c) |
Convert a cycle count value generated by rdtsc to a microsecond value. | |
cycle_time | us_to_cycle (us_time us) |
Convert a microsecond value to cycle count value. | |
us_time | get_timeval_us (void) |
double | my_fabs (double d) |
double | FindMHZ (void) |
Variables | |
double | MHZ |
The CPU frequency for this machine, in megahertz. |
|
The acceptable difference in successive guesses of the machines Mhz.
Definition at line 64 of file RTServerImpl.cc. |
|
Convert a cycle count value generated by rdtsc to a microsecond value.
Definition at line 83 of file RTServerImpl.cc. References us_time. |
|
Definition at line 128 of file RTServerImpl.cc. References cycle_time, get_timeval_us(), my_fabs(), rdtsc(), and us_time. Referenced by RTServerImpl::RTServerImpl(). |
Here is the call graph for this function:
|
Definition at line 102 of file RTServerImpl.cc. References us_time. Referenced by FindMHZ(). |
|
Definition at line 116 of file RTServerImpl.cc. Referenced by FindMHZ(). |
|
Definition at line 70 of file RTServerImpl.cc. References cycle_time. Referenced by FindMHZ(), and RTServerImpl::Periodic(). |
|
Convert a microsecond value to cycle count value.
Definition at line 94 of file RTServerImpl.cc. References cycle_time. Referenced by RTServerImpl::Periodic(). |