lkml.org 
[lkml]   [1999]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] fastcall-2.3.32-B6, SYSENTER/SYSEXIT support
From
Date
Linus Torvalds <torvalds@transmeta.com> writes:

> This is not that uncommon - there's a LOT of programs that care deeply
> about wall-clock time. You'll find a few games avoid system calls like
> the plague, but still call gettimeofday() because it's _really_
> important to know how time progresses..

It's important for internal profiling and logging, too. INN, which
constantly profiles itself automatically as it runs, calls gettimeofday()
around 800 times a second on my main transit news server. Hm. That could
stand to be looked at, as that's rather high, but on the other hand to get
the profiling data that we want there aren't that many good alternatives.

Solaris also implements gettimeofday() as a special hand-coded system call
with considerably lighter setup.

--
Russ Allbery (rra@stanford.edu) <URL:http://www.eyrie.org/~eagle/>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.041 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site