public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* Time
@ 2003-03-07 10:05 Aman
  2003-03-07 17:03 ` Time Conn Clark
  0 siblings, 1 reply; 5+ messages in thread
From: Aman @ 2003-03-07 10:05 UTC (permalink / raw)
  To: linuxppc embedded


Hi

Can anybody suggest the best way to calculate the time taken by an
application, running on PPC 440.

Thanking you in advance
regards
Aman


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Time
@ 2003-03-07 10:17 "Callebaut, Benoît"
  2003-03-07 10:30 ` Time Samuel Ortiz
  0 siblings, 1 reply; 5+ messages in thread
From: "Callebaut, Benoît" @ 2003-03-07 10:17 UTC (permalink / raw)
  To: Linuxppc-Embedded (E-mail)


In user mode, you can use top. Otherwise in the program, get_time_of_day or
in kernel get_jiffies must work

-----Original Message-----
From: Aman [mailto:aman@mistralsoftware•com]
Sent: Friday, March 07, 2003 11:05 AM
To: linuxppc embedded
Subject: Time



Hi

Can anybody suggest the best way to calculate the time taken by an
application, running on PPC 440.

Thanking you in advance
regards
Aman


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Time
  2003-03-07 10:17 Time "Callebaut, Benoît"
@ 2003-03-07 10:30 ` Samuel Ortiz
  0 siblings, 0 replies; 5+ messages in thread
From: Samuel Ortiz @ 2003-03-07 10:30 UTC (permalink / raw)
  To: =?X-UNKNOWN?Q?Callebaut=2C_Beno=EEt?=, aman; +Cc: Linuxppc-Embedded (E-mail)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 646 bytes --]


In userland, calling "time your_app" helps too.

Cheers,
Samuel


On Fri, 7 Mar 2003, [iso-8859-1] "Callebaut, Benoît" wrote:

>
> In user mode, you can use top. Otherwise in the program, get_time_of_day or
> in kernel get_jiffies must work
>
> -----Original Message-----
> From: Aman [mailto:aman@mistralsoftware•com]
> Sent: Friday, March 07, 2003 11:05 AM
> To: linuxppc embedded
> Subject: Time
>
>
>
> Hi
>
> Can anybody suggest the best way to calculate the time taken by an
> application, running on PPC 440.
>
> Thanking you in advance
> regards
> Aman
>
>
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Time
  2003-03-07 10:05 Time Aman
@ 2003-03-07 17:03 ` Conn Clark
  0 siblings, 0 replies; 5+ messages in thread
From: Conn Clark @ 2003-03-07 17:03 UTC (permalink / raw)
  To: Aman; +Cc: May Ling List


Aman wrote:
> Hi
>
> Can anybody suggest the best way to calculate the time taken by an
> application, running on PPC 440.
>
> Thanking you in advance
> regards
> Aman
>
>
>

There is a program called 'time' . It is used time and gather statistics
of a program. See the man page.


Good Luck

	Conn

--

*****************************************************************
   If you live at home long enough, your parents will move out.
  (Warning they may try to sell their house out from under you.)
*****************************************************************

Conn Clark
Engineering Stooge				clark@esteem•com
Electronic Systems Technology Inc.		www.esteem.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Time
@ 2003-03-07 17:06 Kerl, John
  0 siblings, 0 replies; 5+ messages in thread
From: Kerl, John @ 2003-03-07 17:06 UTC (permalink / raw)
  To: 'Conn Clark', Aman; +Cc: May Ling List


A stopwatch or the time command will tell you the
total time.  But if you want to find out *where*
the time is being spent, please don't forget gprof.
(I don't know if an embedded version is available.)

-----Original Message-----
From: Conn Clark [mailto:clark@esteem•com]
Sent: Friday, March 07, 2003 10:04 AM
To: Aman
Cc: May Ling List
Subject: Re: Time



Aman wrote:
> Hi
>
> Can anybody suggest the best way to calculate the time taken by an
> application, running on PPC 440.
>
> Thanking you in advance
> regards
> Aman
>
>
>

There is a program called 'time' . It is used time and gather statistics
of a program. See the man page.


Good Luck

	Conn

--

*****************************************************************
   If you live at home long enough, your parents will move out.
  (Warning they may try to sell their house out from under you.)
*****************************************************************

Conn Clark
Engineering Stooge				clark@esteem•com
Electronic Systems Technology Inc.		www.esteem.com


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-07 17:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07 10:05 Time Aman
2003-03-07 17:03 ` Time Conn Clark
  -- strict thread matches above, loose matches on Subject: below --
2003-03-07 10:17 Time "Callebaut, Benoît"
2003-03-07 10:30 ` Time Samuel Ortiz
2003-03-07 17:06 Time Kerl, John

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox