Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
58cc30a4
Commit
58cc30a4
authored
Feb 24, 2016
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/power turbostat: fix compiler warnings
Signed-off-by:
Len Brown
<
len.brown@intel.com
>
parent
b7d8c148
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
tools/power/x86/turbostat/turbostat.c
tools/power/x86/turbostat/turbostat.c
+4
-4
No files found.
tools/power/x86/turbostat/turbostat.c
View file @
58cc30a4
...
...
@@ -1987,7 +1987,7 @@ int has_config_tdp(unsigned int family, unsigned int model)
}
static
void
dump_cstate_pstate_config_info
(
family
,
model
)
dump_cstate_pstate_config_info
(
int
family
,
int
model
)
{
if
(
!
do_nhm_platform_info
)
return
;
...
...
@@ -2250,7 +2250,7 @@ int print_perf_limit(struct thread_data *t, struct core_data *c, struct pkg_data
#define RAPL_POWER_GRANULARITY 0x7FFF
/* 15 bit power granularity */
#define RAPL_TIME_GRANULARITY 0x3F
/* 6 bit time granularity */
double
get_tdp
(
model
)
double
get_tdp
(
int
model
)
{
unsigned
long
long
msr
;
...
...
@@ -2364,7 +2364,7 @@ void rapl_probe(unsigned int family, unsigned int model)
return
;
}
void
perf_limit_reasons_probe
(
family
,
model
)
void
perf_limit_reasons_probe
(
int
family
,
int
model
)
{
if
(
!
genuine_intel
)
return
;
...
...
@@ -2974,7 +2974,7 @@ void process_cpuid()
perf_limit_reasons_probe
(
family
,
model
);
if
(
debug
)
dump_cstate_pstate_config_info
();
dump_cstate_pstate_config_info
(
family
,
model
);
if
(
has_skl_msrs
(
family
,
model
))
calculate_tsc_tweak
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment