<?xml version="1.0" encoding="UTF-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Posteet: time</title> 
    <link>http://www.posteet.com/</link> 
    <description>Recent posteets posted to Posteet</description>
    <ttl>60</ttl>

    
    <item>
        <title>Xen Date/Time Synchronization</title>
        <link>http://www.posteet.com/view/1336</link>
        <description>
        <![CDATA[<pre># [Default] All domains have the same time synchronized from ntp-client in dom0.
echo 0 &gt; /proc/sys/xen/independent_wallclock

# If, however, this is not the case, you will have to run ntp-client on all guests. For this to work, you will need to set  to 1, i.e. 
echo 1 &gt; /proc/sys/xen/independent_wallclock</pre> <a href="http://www.posteet.com/tags/clock">[clock]</a>  <a href="http://www.posteet.com/tags/date">[date]</a>  <a href="http://www.posteet.com/tags/dom0">[dom0]</a>  <a href="http://www.posteet.com/tags/synch">[synch]</a>  <a href="http://www.posteet.com/tags/time">[time]</a>  <a href="http://www.posteet.com/tags/xen">[xen]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Sat, 25 Oct 2008 11:53:58 +0000</pubDate>

            <category>clock</category>
            <category>date</category>
            <category>dom0</category>
            <category>synch</category>
            <category>time</category>
            <category>xen</category>
    
    </item>

  
    <item>
        <title>Calculer le temps d'exécution d'un code PHP</title>
        <link>http://www.posteet.com/view/1310</link>
        <description>
        <![CDATA[<pre>$start = microtime(TRUE);
// Code PHP à bencher
for ($i = 0; $i &lt; 10000; $i++)
{
    isset($array['id']);
}

echo number_format(microtime(TRUE) - $start, 6).&quot; seconds: isset\n&quot;;</pre> <a href="http://www.posteet.com/tags/exec">[exec]</a>  <a href="http://www.posteet.com/tags/performance">[performance]</a>  <a href="http://www.posteet.com/tags/php">[php]</a>  <a href="http://www.posteet.com/tags/time">[time]</a> ]]>        </description>
        <dc:creator>spirit</dc:creator>
        <pubDate>Fri, 10 Oct 2008 12:08:16 +0000</pubDate>

            <category>exec</category>
            <category>performance</category>
            <category>php</category>
            <category>time</category>
    
    </item>

  
    <item>
        <title>Redirecting output of the bash keyword time</title>
        <link>http://www.posteet.com/view/803</link>
        <description>
        <![CDATA[<pre>time command &gt; timelog doesn't work, because time outputs to stderr
time command 2&gt; timelog doesn't work either, because time actually is a bash keyword, and it's always run in a subshell

Redirecting the output of time can be achieved by executing the whole command in a block, then redirecting its output:
{ time command; } 2&gt; timelog

Note: Linux also provides a time binary (/usr/bin/time), but with a different output (and might be less efficient ?)</pre> <a href="http://www.posteet.com/tags/bash">[bash]</a>  <a href="http://www.posteet.com/tags/linux">[linux]</a>  <a href="http://www.posteet.com/tags/time">[time]</a> ]]>        </description>
        <dc:creator>skanx</dc:creator>
        <pubDate>Thu, 28 Feb 2008 18:29:03 +0000</pubDate>

            <category>bash</category>
            <category>linux</category>
            <category>time</category>
    
    </item>


</channel>
</rss>
