Sponsored Content
Full Discussion: RDTSC use in C:
Top Forums Programming RDTSC use in C: Post 302323492 by Sivaraman on Monday 8th of June 2009 04:51:14 AM
Old 06-08-2009
CPU & Memory Finding CPU speed while CPU is in Throttling

Hi ,

I am trying to find out the Speed of the CPU while it is in 87.5 % Throttling. I am using RDTSC to get the Frequency of the Processor. Its reporting as 15 GHz while it is running in the lowest Speed. I need to validate whether CPU is running in the specified speed while it is in Throttling. As Calv notified i cannot use RDTSC, what could be the better way of doing. could you please any one help me.

Thanks
Siva
 
LAMNODES(1)							     LAM TOOLS							       LAMNODES(1)

NAME
lamnodes - Resolve LAM node/CPU notation to Unix hostnames. SYNOPSIS
lamnodes [-chin] [where] OPTIONS
-c Suppress printing the CPU count for each node. -h Print the command help menu. -i Print IP addresses (instead of IP names) -n Suppress printing CPU count for each node DESCRIPTION
The lamnodes command is used to resolve LAM node/CPU nomenclature to Unix hostnames. It can be used to determine the current running con- figuration of the LAM/MPI run-time environment, and generate a boot schema that can be used to launch LAM in the future. By default, lamnodes will print out the node number, default IP name, CPU count, and per-node flags for each node in the running LAM. gethostbyaddr(3) is used to obtain default hostnames. If gethostbyaddr(3) fails, the IP number is displayed instead. This command can be used by setup shell scripts (and the like) to determine information from a currently-running LAM universe. For exam- ple, use lamnodes to resolve particular CPUs and/or nodes to specific unix hostnames. In a batch environment, lamnodes can be used to determine which CPUs share a common node (note that MPI_GET_PROCESSOR_NAME can be used for a similar effect in an MPI program). lamnodes also shows per-node flags. Currently defined flags are: origin The node where lamboot was executed. this_node The node where lamnodes is running. no_schedule The node will not be used to run MPI and serial processes when N and C are used to mpirun and lamexec. EXAMPLES
lamnodes N -n Display IP names and CPU counts for all nodes. This output can be saved and later used with lamboot(1). lamnodes C -n -c Display the IP name of the nodes containing each CPU, and suppress the LAM node number and CPU count. This output can be saved and later used with lamboot(1). SEE ALSO
bhost(5), gethostbyaddr(3), lamboot(1) LAM 7.1.4 July, 2007 LAMNODES(1)
All times are GMT -4. The time now is 08:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy