<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Acumen Development &#187; stopwatch</title>
	<atom:link href="http://www.acumendevelopment.net/tag/stopwatch/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.acumendevelopment.net</link>
	<description>Software to inspire.</description>
	<lastBuildDate>Wed, 02 Jun 2010 16:39:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
		<item>
		<title>PHP StopWatch Class</title>
		<link>http://www.acumendevelopment.net/php-stopwatch/</link>
		<comments>http://www.acumendevelopment.net/php-stopwatch/#comments</comments>
		<pubDate>Wed, 16 Apr 2008 15:15:15 +0000</pubDate>
		<dc:creator>Paul Hayes</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[debugging]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[stopwatch]]></category>

		<guid isPermaLink="false">http://www.acumendevelopment.net/archives/59</guid>
		<description><![CDATA[Just a simple little class to play around with. I quickly threw it together because I got fed up of writing performance debugging code into perfectly clean classes, and then having to strip it out again later. The stop watch allows you to set callback methods to receive any calls to the stopwatches mark method, [...]]]></description>
			<content:encoded><![CDATA[<p>Just a simple little class to play around with. I quickly threw it together because I got fed up of writing performance debugging code into perfectly clean classes, and then having to strip it out again later. The stop watch allows you to set callback methods to receive any calls to the stopwatches mark method, which as it&#8217;s a singleton can be called just about anywhere. Additionally it uses sprintf() strings to format the message and time.</p>
<p>Additionally this shows how in two lines you can be notified of the scripts entire execution time using StopWatch.</p>
<pre class="brush: php;">
&lt;?php
include('StopWatch.class.php');
$stopWatch=StopWatch::getInstance();
$stopWatch-&amp;amp;amp;gt;setFinishMessage('script executed in %01.2f seconds');
sleep(2);
?&gt;
</pre>
<p>And here&#8217;s the source <a title="StopWatch PHP Class" href="http://www.acumendevelopment.net/wp-content/uploads/2008/04/stopwatch.zip">stopwatch.zip</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.acumendevelopment.net/php-stopwatch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using memcached

Served from: www.acumendevelopment.net @ 2010-09-08 22:19:15 -->