Messages in this thread | | | Date | Tue, 10 Apr 2001 21:59:24 +0200 | From | Andi Kleen <> | Subject | Re: No 100 HZ timer ! |
| |
On Tue, Apr 10, 2001 at 02:45:15PM -0400, Stephen D. Williams wrote: > When this is rewritten, I would strongly suggest that we find a way to > make 'gettimeofday' nearly free. Certain applications need to use this > frequently while still being portable. One solution when you do have > clock ticks is a read-only mapped Int. Another cheap solution is > library assembly that adds a cycle clock delta since last system call to > a 'gettimeofday' value set on every system call return.
The upcoming x86-64 port supports vsyscalls for just that purpose.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |