CPUClock

Version 1.01


Background | Installation | Basic operation | The iconbar menu | The status window | Contact | Licence


Important: CPUClock is only of use on hardware that is capable of switching the CPU between two speed settings. This means hardware such as the OMAP3 BeagleBoard and the OMAP4 PandaBoard ES.


Background

The following description uses extracts from a post by Jeffrey Lee in the ROOL forum (with permission).

RISC OS does several things to control the speed of the CPU:


Installation

For a new installation, simply drag and drop the CPUClock application into the directory of your choice.

If you have a previous copy of CPUClock you have two choices.


Basic operation

To run the application, double click on it's icon in a filer window. Clicking on the iconbar icon with Select will open the CPU status window.


The Iconbar Menu

ibarmenu.png - 4KbA screen shot of the iconbar menu is shown right.

Info  –  A standard application info box, including a button to go to the web site to check for later versions.

Help...  –  Runs the help file (this one).

Status...  –  Opens the CPU clock speed status window (see below). Clicking on the iconbar icon with Select will also open the CPU status window.

Quit  –  This terminates the application immediately.


The CPU clock speed status window

status.png - 9Kb

The CPU clock speed can be set to a 'fast' and a 'slow' speed. The OS can switch between the two speeds depending upon how hard the CPU is working. The three display fields show information on the CPU clock speed. The top field shows the current setting for the 'fast' speed. The middle field shows the setting for the 'slow' speed. The bottom field shows the current clock speed of the cpu. This will switch between the 'fast' and 'slow' setting as the work load of the cpu changes. By default the fast and slow settings will be the maximum and minimum speeds at which the cpu can be clocked.

Note that CPUClock updates the current speed value every 1 second using wimp NULL poll events. If the wimp is not multitasking at that instant, e.g. processing an image, then the display cannot be updated. However, in general use you should see the speed being switched between fast and slow as you do things in the desktop.

The harder the CPU works, the warmer it will get. It might be useful at certain times of high ambient temperature to limit the speed of the CPU to keep its temperature down.

Clicking on the popup menu button to the right of the 'Fast' or 'Slow' fields will raise a menu listing the allowable CPU clock speeds. Selecting one of these speeds will reset the 'Fast' or 'Slow' setting as appropriate to this new value.

status2.png - 12Kb

Reducing the 'Fast' speed may be beneficial in high ambient temperature conditions. It is unlikely there will be any benefit in raising the 'Slow' speed, since this is used when the processor is idling.

Hardware - CPUClock runs without problem on the BeagleBoard and on the PandaBoard ES using more recent ROM versions.

For anyone who is interested I have an alternative version of CPUClock available. This is a Boot-Configuration tool version. Once installed it will appear in Boot-Configuration (double click !Boot in the root directory). It allows the cpu speed to be set, and the setting will be retained over a reboot or reset. This version does not give a continuous display of cpu speed, but is intended only to set the cpu speed - useful in hot weather to keep the cpu temperature down. Contact the author direct to obtain this version.



Contact

All communication about CPUClock should be directed to Chris Johnson (Email:chris@chris-johnson.org.uk). Suggestions for new features are always welcome.

Web site

Chris Johnson's web site is at http://www.chris-johnson.org.uk/index.html, with his RISC OS software at http://www.chris-johnson.org.uk/software/index.html.


Screenshots

All the screen shots in these pages were obtained using Snapper, a versatile screen capture application.

Snapper is available from http://www.chris-johnson.org.uk/software/snap.html


Licence

Copyright (c) 2012, Chris Johnson
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.


This document last modified on 11th November 2013