Re: [Ganglia-developers] Ganglia web page load time

2008-04-07 Thread Jesse Becker
On Mon, Apr 7, 2008 at 2:28 PM, Bernard Li <[EMAIL PROTECTED]> wrote: > On Mon, Apr 7, 2008 at 11:14 AM, Jesse Becker <[EMAIL PROTECTED]> wrote: > > > $start = microtime(); > > <> > > $end = microtime(); > > $delta = round($end - $start, 4); > > print "Generating this page took $delt

Re: [Ganglia-developers] Ganglia web page load time

2008-04-07 Thread Bernard Li
Hi Jesse: On Mon, Apr 7, 2008 at 11:14 AM, Jesse Becker <[EMAIL PROTECTED]> wrote: > $start = microtime(); > <> > $end = microtime(); > $delta = round($end - $start, 4); > print "Generating this page took $delta seconds"; > > > Have to make sure that this isn't called for every single g

Re: [Ganglia-developers] Ganglia web page load time

2008-04-07 Thread Jesse Becker
On Mon, Apr 7, 2008 at 2:02 PM, Bernard Li <[EMAIL PROTECTED]> wrote: > Hi all: > > I have a Ganglia page which takes quite a bit of time to load and I > was wondering if anybody have any PHP code that will allow me to > measure the load time and print this in the main page (much like the > "Do

[Ganglia-developers] Ganglia web page load time

2008-04-07 Thread Bernard Li
Hi all: I have a Ganglia page which takes quite a bit of time to load and I was wondering if anybody have any PHP code that will allow me to measure the load time and print this in the main page (much like the "Downloading and parsing ganglia's XML tree took 0.0073s." line). I guess I could use s