qtime
QNX SDP8.0Building Embedded SystemsConfigurationDeveloper
Information about the system's timebase, and other time-related information
The startup library's
init_qtime() function
fills in the qtime data structures, which contain the following fields:
- cycles_per_sec
- For ClockCycles().
- nsec_tod_adjust
- When added to the value in nsec, gives the number of nanoseconds from the start of the epoch (1970).
- nsec_inc
- The number of nanoseconds per tick (the tick period).
- boot_time
- The time when the system was booted, in seconds since Jan 1 1970 00:00:00 GMT.
- adjust
- Set to zero at startup. Contains any current timebase adjustment runtime parameters (as specified by the kernel call ClockAdjust()).
- timer_period
- Not used.
- timer_scale
- Not used.
- intr
- Contains the clock interrupt vector on CPU0.
- epoch
- Currently set to 1970, but not used.
- flags
- Not used.
- rr_interval_mul
- Reserved.
- timer_load_max
- The maximum value that can be programmed into the hardware timer for system ticks.
- spare
- Not used.
Page updated: