Popular recipes tagged "cpu_usage" but not "win32"http://code.activestate.com/recipes/tags/cpu_usage-win32/2012-06-05T03:12:55-07:00ActiveState Code Recipesaffinity.py (Python)
2012-06-05T03:12:55-07:00Stephen Chappellhttp://code.activestate.com/recipes/users/2608421/http://code.activestate.com/recipes/578151-affinitypy/
<p style="color: grey">
Python
recipe 578151
by <a href="/recipes/users/2608421/">Stephen Chappell</a>
(<a href="/recipes/tags/cpu_usage/">cpu_usage</a>, <a href="/recipes/tags/threadsafe/">threadsafe</a>).
</p>
<p>Allow a simple way to ensure execution is confined to one thread.</p>
<p>This module defines the Affinity data type that runs code on a single thread.
An instance of the class will execute functions only on the thread that made
the object in the first place. The class is useful in a GUI's main loop.</p>
CPU Usage Graph Applet (Java)
2010-03-26T01:12:44-07:00FB36http://code.activestate.com/recipes/users/4172570/http://code.activestate.com/recipes/577145-cpu-usage-graph-applet/
<p style="color: grey">
Java
recipe 577145
by <a href="/recipes/users/4172570/">FB36</a>
(<a href="/recipes/tags/applet/">applet</a>, <a href="/recipes/tags/cpu_usage/">cpu_usage</a>, <a href="/recipes/tags/graphics/">graphics</a>).
</p>
<p>It calculates CPU speed w/o using any system calls etc.
Instead it simply uses a timed counter.</p>