<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<link rel="self" type="application/atom+xml" href="https://forum.eggheads.org/app.php/feed/topic/18234" />

	<title>egghelp/eggheads community</title>
	<subtitle>Discussion of eggdrop bots, shell accounts and tcl scripts.</subtitle>
	<link href="https://forum.eggheads.org/index.php" />
	<updated>2011-01-08T16:49:10-04:00</updated>

	<author><name><![CDATA[egghelp/eggheads community]]></name></author>
	<id>https://forum.eggheads.org/app.php/feed/topic/18234</id>

		<entry>
		<author><name><![CDATA[nml375]]></name></author>
		<updated>2011-01-08T16:49:10-04:00</updated>

		<published>2011-01-08T16:49:10-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95594#p95594</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95594#p95594"/>
		<title type="html"><![CDATA[Process timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95594#p95594"><![CDATA[
That should work. You might encounter the occasional situation when the millisecond value overlaps, yielding a negative "duration" though..<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=8052">nml375</a> — Sat Jan 08, 2011 4:49 pm</p><hr />
]]></content>
	</entry>
		<entry>
		<author><name><![CDATA[ShavdApe]]></name></author>
		<updated>2011-01-08T16:16:12-04:00</updated>

		<published>2011-01-08T16:16:12-04:00</published>
		<id>https://forum.eggheads.org/viewtopic.php?p=95593#p95593</id>
		<link href="https://forum.eggheads.org/viewtopic.php?p=95593#p95593"/>
		<title type="html"><![CDATA[Process timer]]></title>

		
		<content type="html" xml:base="https://forum.eggheads.org/viewtopic.php?p=95593#p95593"><![CDATA[
Im looking to time how long a process takes, so that it can say search took xx seconds for eg.<br><br>I can get it to give me in seconds but since some will complete in less than a second I was wondering how to get miliseconds any help appreciated.<br><br>* edit *<br><br>I think i figured it out but please tell me if this is wrong<br><br>set starttime [clock clicks -milliseconds]<br><br>... what to time goes here <br><br>set endtime [clock clicks -milliseconds]<br><br>set timems "([expr $endtime - $starttime] ms)"<br><br>and $timems would be my time in miliseconds.<br><br>I hope thats correct as I say please let me know if im wrong.<p>Statistics: Posted by <a href="https://forum.eggheads.org/memberlist.php?mode=viewprofile&amp;u=4266">ShavdApe</a> — Sat Jan 08, 2011 4:16 pm</p><hr />
]]></content>
	</entry>
	</feed>
