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
 
cpufreqd-get(1) 														   cpufreqd-get(1)

NAME
cpufreqd-get - Issues "get" commands to cpufreqd. SYNTAX
cpufreqd-get [-l] PARAMETERS
-l list applied Profiles for all cpus. DESCRIPTION
cpufreqd-get issues a command to cpufreqd and reads the returned output. When run without arguments it will issue a "LIST_PROFILES" com- mand, useful for usage with cpufreqd-set. See the PARAMETERS above for more. COMMANDS
LIST_PROFILES cpufreqd-get Name (#1): On Demand High Active on CPU#: 0, 1 Governor: ondemand Min freq: 1000000 Max freq: 1833000 Name (#2): On Demand Low Governor: ondemand Min freq: 1000000 Max freq: 1333000 LIST_APPLIED_PROFILES cpufreqd-get -l CPU#0: "High Speed 1" ondemand 731500-997500 Near the name (between the parenthesis) you can find the index number to use when setting a specific profile with cpufreqd-set. AUTHORS
Mattia Dongili <malattia@linux.it> SEE ALSO
cpufreqd-set(1), cpufreqd(8), cpufreqd.conf(5) Mattia Dongili 2.2.0 cpufreqd-get(1)
All times are GMT -4. The time now is 01:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy