From: Wolfgang Denk <wd@denx.de>
To: "OTAVIO ISAMU SUGENO" <otavio.sugeno@siemens.com.br>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: CPU performance measurement
Date: Mon, 22 Jul 2002 20:49:49 +0200 [thread overview]
Message-ID: <20020722184954.45C0410874@denx.denx.de> (raw)
In-Reply-To: Your message of "Mon, 22 Jul 2002 15:30:34 -0300." <B7AC573479F05C438F232539B961A168095005@CUR1006V.br002.siemens.net.br>
In message <B7AC573479F05C438F232539B961A168095005@CUR1006V.br002.siemens.net.br> you wrote:
>
> >>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?
> >>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/
next prev parent reply other threads:[~2002-07-22 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-22 18:30 CPU performance measurement OTAVIO ISAMU SUGENO
2002-07-22 18:49 ` Wolfgang Denk [this message]
[not found] <B7AC573479F05C438F232539B961A168095007@CUR1006V.br002.siemens.net.br>
2002-07-23 21:14 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2002-07-22 11:01 OTAVIO ISAMU SUGENO
2002-07-22 17:27 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020722184954.45C0410874@denx.denx.de \
--to=wd@denx.de \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=otavio.sugeno@siemens.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).