From mboxrd@z Thu Jan 1 00:00:00 1970 From: Premi, Sanjeev Date: Mon, 16 May 2011 19:53:30 +0530 Subject: [U-Boot] [PATCH 0/4] Accurate boot time measurement In-Reply-To: References: <1305319923-9477-1-git-send-email-sjg@chromium.org> <20110515115317.56695DB7945@gemini.denx.de> <20110516054810.AE67F1491B07@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > -----Original Message----- > From: u-boot-bounces at lists.denx.de > [mailto:u-boot-bounces at lists.denx.de] On Behalf Of Graeme Russ > Sent: Monday, May 16, 2011 11:54 AM > To: Wolfgang Denk > Cc: U-Boot Mailing List; Simon Schwarz > Subject: Re: [U-Boot] [PATCH 0/4] Accurate boot time measurement > > On Mon, May 16, 2011 at 3:48 PM, Wolfgang Denk wrote: > > Dear Simon Glass, > > [snip]...[snip] > > Well, the "timing parser", as you callit, can be written in 10 lines > > or less of your scripting language of choice. ?See for example here > > for a solution in expect/tcl: ftp://ftp.denx.de/pub/tools/time_log > > We've been using this for about 10 years by now (see for > example this > > 7 year old boot time analysis: > > http://www.denx.de/wiki/DULG/AN2004_11_BootTimeOptimization). > > > > As we can trivially use regular expressions, the effort to > implement a > > "timing parser" can be ignored. And it is independet of what sort of > > boot device we are using. > > > > Fine if your running Linux - What if the only tool tyou have is > Hyperterminal? [sp] I have personally found Realterm quite good specifically for for attaching timing info to the prints received. It is available at: http://realterm.sourceforge.net/ For measurement, I send the output directly to a log file - not displayed on the screen. BTW, Teraterm is my choice for regular use. ~sanjeev [snip]...[snip]