Re: newbie question (how to measure time)

From: dLux (dlux@kapu.hu)
Date: Wed Apr 12 2000 - 05:11:03 EST


/--- On Tue, Apr 11, 2000 at 08:29:48PM +0200, Alejandro Conty
wrote:
| Remove the static word as Jan Simon says and do an
| EXPORT_SYMBOL(name); then
| remake all
|
| The symbols will be available for the modules(I hope)
\---

Thanks! I will try it tomorrow.

How about the other question?

Is there a faster way to access to a kernel-variable? How much time
it takes? (in order of magnitude)

May the process lost the CPU because of opening the file in the
/proc (because of IO)? How fast if I copy the kernel-variable into a
shared memory segment? I think it is much more complicated, because
I need to keep that page in the memory (because I will write to it
from the scheduler). Huh... This could be a very weird thing... Is
it possible at all? Will it be faster tan /proc access?

dLux

--
"There are two  kinds of people, those  who do the work  and those who
take  the  credit.  Try to  be  in  the  first  group; there  is  less
competiton there."

- 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/



This archive was generated by hypermail 2b29 : Sat Apr 15 2000 - 21:00:18 EST