Thread (1 message) 1 message, 1 author, 2002-07-22

Re: CPU performance measurement

From: Wolfgang Denk <hidden>
Date: 2002-07-22 18:49:49

In message [ref] you wrote:
quoted
quoted
Why don't you simply run "top" on your board, then?
I tried to run "top" on my custom board, but no success. No message
appears on console. Do I need to do anything special, any configuration?
You did mount the /proc filesystem, didn't you?
quoted
quoted
Or read /proc/stat?
I will try this. What kind of information can get from /proc/stat? Is it
any kind of statistics?
Yes, kernel statistics:
user, nice, system, jiffies * #_cpus - (user + nice + system)

See fs/proc/kstat_read_proc/proc_misc.c

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
When all is said and done, more is said than done.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help