search for: wtm_sec

Displaying 4 results from an estimated 4 matches for "wtm_sec".

Did you mean: wtm_nsec
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...timer handler. */ + BUG(); +} + +void __init setup_vmi_timer(void) +{ + /* Fall back to PIT timer -- for transparent para-virt. */ + if (!vmi_timer_used()) + setup_pit_timer(); +} + +static inline void update_xtime_from_wallclock(long long cycles_offset) +{ + unsigned long long wallclock; + time_t wtm_sec, wall_sec; + long wtm_nsec, wall_nsec; + + wallclock = vmi_get_wallclock(); // nsec units + + /* Adjust wallclock time to the value it would have had on the + * last accounted xtime tick. */ + if (cycles_offset > 0) + wallclock -= cycles_2_ns(cycles_offset); + + wall_nsec = do_div(wallclock,...
2007 Apr 18
0
[RFC, PATCH 23/24] i386 Vmi timer patch
...timer handler. */ + BUG(); +} + +void __init setup_vmi_timer(void) +{ + /* Fall back to PIT timer -- for transparent para-virt. */ + if (!vmi_timer_used()) + setup_pit_timer(); +} + +static inline void update_xtime_from_wallclock(long long cycles_offset) +{ + unsigned long long wallclock; + time_t wtm_sec, wall_sec; + long wtm_nsec, wall_nsec; + + wallclock = vmi_get_wallclock(); // nsec units + + /* Adjust wallclock time to the value it would have had on the + * last accounted xtime tick. */ + if (cycles_offset > 0) + wallclock -= cycles_2_ns(cycles_offset); + + wall_nsec = do_div(wallclock,...
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths
2007 Apr 18
43
[RFC PATCH 00/35] Xen i386 paravirtualization support
Unlike full virtualization in which the virtual machine provides the same platform interface as running natively on the hardware, paravirtualization requires modification to the guest operating system to work with the platform interface provided by the hypervisor. Xen was designed with performance in mind. Calls to the hypervisor are minimized, batched if necessary, and non-critical codepaths