From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Kenneth Dalbjerg" Subject: Time Date: Sun, 2 May 2004 16:27:08 +0200 Sender: netfilter-admin@lists.netfilter.org Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_004F_01C43062.50A3D920" Return-path: Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: netfilter@lists.netfilter.org This is a multi-part message in MIME format. ------=_NextPart_000_004F_01C43062.50A3D920 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hello Iam trying to get the Time module to work. Iam using Kernel 2.6.4 on the firewall. And iam trying to patch the kernel with patch-o-matic with ./runme base, but I don't get a choice if I want to install the time module? Why? Regards Kenneth Dalbjerg ------=_NextPart_000_004F_01C43062.50A3D920 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello

 

Iam trying to get the Time module to = work.

 

Iam using Kernel 2.6.4  on the = firewall.

 

And iam trying to patch the kernel with patch-o-matic = with ./runme base, but I don’t get a choice if I want to install the = time module?

 

Why?

 

Regards Kenneth Dalbjerg

------=_NextPart_000_004F_01C43062.50A3D920-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice MARIE Subject: Re: Time Date: Mon, 3 May 2004 14:52:50 +0800 Sender: netfilter-admin@lists.netfilter.org Message-ID: <200405031452.50584.fabrice@netfilter.org> References: Reply-To: fabrice@netfilter.org Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Content-Disposition: inline Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: Content-Type: text/plain; charset="us-ascii" To: netfilter@lists.netfilter.org Cc: Kenneth Dalbjerg Hi, On 02 May 2004 pm 22:27, Kenneth Dalbjerg wrote: > Hello > Iam trying to get the Time module to work > Iam using Kernel 2.6.4 on the firewall. > And iam trying to patch the kernel with patch-o-matic with ./runme base, but > I don't get a choice if I want to install the time module? > Why? Because I need to port it to patch-o-matic-ng first, when I manage to find some time. Hopefully should find time this week. Cheers, Fabrice. -- Fabrice MARIE "Silly hacker, root is for administrators" -Unknown From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <001101c2e491$08d060a0$370da8c0@aman> From: "Aman" To: "linuxppc embedded" Subject: Time Date: Fri, 7 Mar 2003 15:35:08 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: 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/ From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <81A66F72DCACD511B0600002A551BFCB4E9D60@kuumex05.barco.com> From: =?iso-8859-1?Q?=22Callebaut=2C_Beno=EEt=22?= To: "Linuxppc-Embedded (E-mail)" Subject: RE: Time Date: Fri, 7 Mar 2003 11:17:58 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: 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/ From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Fri, 7 Mar 2003 11:30:29 +0100 (CET) From: Samuel Ortiz To: =?X-UNKNOWN?Q?Callebaut=2C_Beno=EEt?= , Cc: "Linuxppc-Embedded (E-mail)" Subject: RE: Time In-Reply-To: <81A66F72DCACD511B0600002A551BFCB4E9D60@kuumex05.barco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: 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/ From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <3E68D0F8.7080807@esteem.com> Date: Fri, 07 Mar 2003 09:03:52 -0800 From: Conn Clark MIME-Version: 1.0 To: Aman Cc: May Ling List Subject: Re: Time References: <001101c2e491$08d060a0$370da8c0@aman> Content-Type: text/plain; charset=us-ascii; format=flowed Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: 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/ From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: "Kerl, John" To: "'Conn Clark'" , Aman Cc: May Ling List Subject: RE: Time Date: Fri, 7 Mar 2003 10:06:06 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: 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/ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261280AbVGGLSm (ORCPT ); Thu, 7 Jul 2005 07:18:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261223AbVGGLSm (ORCPT ); Thu, 7 Jul 2005 07:18:42 -0400 Received: from effigent.net ([210.211.230.208]:34531 "EHLO effigent.net") by vger.kernel.org with ESMTP id S261280AbVGGLSl (ORCPT ); Thu, 7 Jul 2005 07:18:41 -0400 Message-ID: <42CD0EAD.3030909@effigent.net> Date: Thu, 07 Jul 2005 16:44:53 +0530 From: raja User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: time Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org would you please tell how to caliculate the time taken to execute a c program in unix environment. Thanking you, Nagaraju.V From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261310AbVGGLxk (ORCPT ); Thu, 7 Jul 2005 07:53:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261295AbVGGLvV (ORCPT ); Thu, 7 Jul 2005 07:51:21 -0400 Received: from ms004msg.fastwebnet.it ([213.140.2.58]:51408 "EHLO ms004msg.fastwebnet.it") by vger.kernel.org with ESMTP id S261310AbVGGLuX (ORCPT ); Thu, 7 Jul 2005 07:50:23 -0400 Date: Thu, 7 Jul 2005 13:49:29 +0200 From: Paolo Ornati To: raja Cc: linux-kernel@vger.kernel.org Subject: Re: time Message-ID: <20050707134929.1c50c657@localhost> In-Reply-To: <42CD0EAD.3030909@effigent.net> References: <42CD0EAD.3030909@effigent.net> X-Mailer: Sylpheed-Claws 1.0.4 (GTK+ 1.2.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 07 Jul 2005 16:44:53 +0530 raja wrote: > would you please tell how to caliculate the time taken to execute a c > program in unix environment. raja, this has nothing to do with Linux Kernel. PS: see "man time" -- Paolo Ornati Linux 2.6.12.2 on x86_64 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964788AbVHYEdf (ORCPT ); Thu, 25 Aug 2005 00:33:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964787AbVHYEde (ORCPT ); Thu, 25 Aug 2005 00:33:34 -0400 Received: from effigent.net ([210.211.230.208]:14297 "EHLO effigent.net") by vger.kernel.org with ESMTP id S964788AbVHYEde (ORCPT ); Thu, 25 Aug 2005 00:33:34 -0400 Message-ID: <430D47F7.9040104@effigent.net> Date: Thu, 25 Aug 2005 09:54:23 +0530 From: raja User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040805 Netscape/7.2 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Linux Kernel Mailing List Subject: time Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Hi, Is There Any function in c to caliculate the exact time taken to execute block of code(in micro sec and milli sec and minuits and hours). thanking you, raja From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964869AbVHYILe (ORCPT ); Thu, 25 Aug 2005 04:11:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S964870AbVHYILe (ORCPT ); Thu, 25 Aug 2005 04:11:34 -0400 Received: from ns.firmix.at ([62.141.48.66]:23755 "EHLO ns.firmix.at") by vger.kernel.org with ESMTP id S964869AbVHYILd (ORCPT ); Thu, 25 Aug 2005 04:11:33 -0400 Subject: Re: time From: Bernd Petrovitsch To: raja Cc: Linux Kernel Mailing List In-Reply-To: <430D47F7.9040104@effigent.net> References: <430D47F7.9040104@effigent.net> Content-Type: text/plain Organization: Firmix Software GmbH Date: Thu, 25 Aug 2005 10:11:22 +0200 Message-Id: <1124957482.10628.2.camel@tara.firmix.at> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2005-08-25 at 09:54 +0530, raja wrote: [...] > Is There Any function in c to caliculate the exact time taken to > execute block of code(in micro sec and milli sec and minuits and hours). > thanking you, Do you mean system-time, user-space-time or the time it took in the real world? And apart from the fact that this is a C programming question and not directly related to the Linux kernel since it is a user-space thingy, you probably want to use times(2) two times and calculate the difference. Bernd -- Firmix Software GmbH http://www.firmix.at/ mobil: +43 664 4416156 fax: +43 1 7890849-55 Embedded Linux Development and Services