Scyld ClusterWare HPC: Reference Guide | ||
---|---|---|
<< Previous | Next >> |
The node to query
A pointer to a float, which will contain the speed of processor on the node in megahertz upon successful completion.
beostat_get_MHz will get the speed of CPU on a given node in units of megahertz. On multi-CPU (SMP) machines it is assumed that all the CPU are the same speed. This is currently a hardware requirement on all known SMP machines.
float speed; beostat_get_MHz (3, &speed); printf ("The node 3 has a %f MHz processor\n", speed); |
This function relies on the Beostat subsystem, which consists of the proc filesystem on the remote node, the sendstats daemon on the remote node, the recvstats daemon on the master node, and two shared memory files in the directory /var/shm. If any part of the system breaks down, this function could fail.
<< Previous | Home | Next >> |
beostat_get_meminfo | Up | beostat_get_name |