<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Millisecond time in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563784#M226989</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Use "time &amp;lt;script&amp;gt;" or "timex &amp;lt;script&amp;gt;"&lt;BR /&gt;&lt;BR /&gt;Enjoy :-)</description>
    <pubDate>Tue, 14 Jun 2005 08:40:54 GMT</pubDate>
    <dc:creator>Pedro Cirne</dc:creator>
    <dc:date>2005-06-14T08:40:54Z</dc:date>
    <item>
      <title>Millisecond time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563783#M226988</link>
      <description>Hi all,&lt;BR /&gt;I've to realize a shell script which have to take  the time and milliseco nd to analyze how many time the script took for its execution..&lt;BR /&gt;Have you any idea ??&lt;BR /&gt;Fabrizio</description>
      <pubDate>Tue, 14 Jun 2005 08:38:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563783#M226988</guid>
      <dc:creator>Sirius Black</dc:creator>
      <dc:date>2005-06-14T08:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Millisecond time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563784#M226989</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Use "time &amp;lt;script&amp;gt;" or "timex &amp;lt;script&amp;gt;"&lt;BR /&gt;&lt;BR /&gt;Enjoy :-)</description>
      <pubDate>Tue, 14 Jun 2005 08:40:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563784#M226989</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2005-06-14T08:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Millisecond time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563785#M226990</link>
      <description>timex&lt;BR /&gt;&lt;BR /&gt;man timex&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry d brown jr</description>
      <pubDate>Tue, 14 Jun 2005 08:41:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563785#M226990</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2005-06-14T08:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: Millisecond time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563786#M226991</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;have a look at the following threads:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=13885" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=13885&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=122073" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=122073&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=402167" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=402167&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 14 Jun 2005 08:57:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563786#M226991</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-06-14T08:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Millisecond time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563787#M226992</link>
      <description>The timex command (which will give you .01 second resolution) is about as good as you are going to get from the shell. It would be possible to write a small C program or Perl script to give better resolution but the overhead of doing a fork and exec to spawn the child timer process from the shell  would completely overwhelm any millisecond accuracy that you were trying to achieve.</description>
      <pubDate>Tue, 14 Jun 2005 08:57:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563787#M226992</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-14T08:57:37Z</dc:date>
    </item>
    <item>
      <title>Re: Millisecond time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563788#M226993</link>
      <description>Hi,&lt;BR /&gt;I try with time ( not good) and timex ( so and so ) I've to take the millisecond time in order to evaluate how many time the process takes !!!&lt;BR /&gt;So there is a command, perl or sh which I can call at the start and the end of the script ??&lt;BR /&gt;Fabrizio</description>
      <pubDate>Tue, 14 Jun 2005 09:18:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563788#M226993</guid>
      <dc:creator>Sirius Black</dc:creator>
      <dc:date>2005-06-14T09:18:33Z</dc:date>
    </item>
    <item>
      <title>Re: Millisecond time</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563789#M226994</link>
      <description>Perl's Time::HiRes module would do this easily BUT it would only make sense to use it within the same Perl script. As I tried to explain to you before, the overhead of spawning an additional process completely masks any millisecond accuracy that you hoped to achieve. From the shell, timex is your least evil choice although it would be quite trivial to write a Perl script that would return millisecond timestamps. The problem is that with the overhead of forking and execing the Perl script, you would really need to throw away at least 50 msec of accuracy.</description>
      <pubDate>Tue, 14 Jun 2005 09:38:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/millisecond-time/m-p/3563789#M226994</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-14T09:38:16Z</dc:date>
    </item>
  </channel>
</rss>

