Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 8e87fca2f49595adc16d9aa519a6edad > files > 258

systemtap-1.6-1.fc14.x86_64.rpm

<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>function::get_cycles</title><meta name="generator" content="DocBook XSL Stylesheets V1.76.1"><link rel="home" href="index.html" title="SystemTap Tapset Reference Manual"><link rel="up" href="timestamp_stp.html" title="Chapter&#160;3.&#160;Timestamp Functions"><link rel="prev" href="timestamp_stp.html" title="Chapter&#160;3.&#160;Timestamp Functions"><link rel="next" href="API-jiffies.html" title="function::jiffies"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span>function::get_cycles</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="timestamp_stp.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;3.&#160;Timestamp Functions</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-jiffies.html">Next</a></td></tr></table><hr></div><div class="refentry" title="function::get_cycles"><a name="API-get-cycles"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>function::get_cycles &#8212; 
  Processor cycle count
 </p></div><div class="refsynopsisdiv" title="Synopsis"><h2>Synopsis</h2><pre class="programlisting">
    get_cycles:long()
</pre></div><div class="refsect1" title="Arguments"><a name="id555670"></a><h2>Arguments</h2><p>
  None
 </p></div><div class="refsect1" title="Description"><a name="id555680"></a><h2>Description</h2><p>
   This function returns the processor cycle counter value
   if available, else it returns zero. The cycle counter is free running
   and unsynchronized on each processor. Thus, the order of events cannot
   determined by comparing the results of the get_cycles function on 
   different processors.
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="timestamp_stp.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="timestamp_stp.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-jiffies.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;3.&#160;Timestamp Functions&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span>function::jiffies</span></td></tr></table></div></body></html>