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
Kirill Smelkov
linux
Commits
48a0631c
Commit
48a0631c
authored
Feb 10, 2015
by
Len Brown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/power turbostat: support additional Broadwell model
Signed-off-by:
Len Brown
<
len.brown@intel.com
>
parent
d8af6f5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
tools/power/x86/turbostat/turbostat.c
tools/power/x86/turbostat/turbostat.c
+4
-1
No files found.
tools/power/x86/turbostat/turbostat.c
View file @
48a0631c
...
@@ -1570,6 +1570,7 @@ int probe_nhm_msrs(unsigned int family, unsigned int model)
...
@@ -1570,6 +1570,7 @@ int probe_nhm_msrs(unsigned int family, unsigned int model)
case
0x45
:
/* HSW */
case
0x45
:
/* HSW */
case
0x46
:
/* HSW */
case
0x46
:
/* HSW */
case
0x3D
:
/* BDW */
case
0x3D
:
/* BDW */
case
0x47
:
/* BDW */
case
0x4F
:
/* BDX */
case
0x4F
:
/* BDX */
case
0x56
:
/* BDX-DE */
case
0x56
:
/* BDX-DE */
pkg_cstate_limits
=
hsw_pkg_cstate_limits
;
pkg_cstate_limits
=
hsw_pkg_cstate_limits
;
...
@@ -1808,6 +1809,7 @@ void rapl_probe(unsigned int family, unsigned int model)
...
@@ -1808,6 +1809,7 @@ void rapl_probe(unsigned int family, unsigned int model)
case
0x45
:
/* HSW */
case
0x45
:
/* HSW */
case
0x46
:
/* HSW */
case
0x46
:
/* HSW */
case
0x3D
:
/* BDW */
case
0x3D
:
/* BDW */
case
0x47
:
/* BDW */
do_rapl
=
RAPL_PKG
|
RAPL_CORES
|
RAPL_CORE_POLICY
|
RAPL_GFX
|
RAPL_PKG_POWER_INFO
;
do_rapl
=
RAPL_PKG
|
RAPL_CORES
|
RAPL_CORE_POLICY
|
RAPL_GFX
|
RAPL_PKG_POWER_INFO
;
break
;
break
;
case
0x3F
:
/* HSX */
case
0x3F
:
/* HSX */
...
@@ -2085,6 +2087,7 @@ int has_snb_msrs(unsigned int family, unsigned int model)
...
@@ -2085,6 +2087,7 @@ int has_snb_msrs(unsigned int family, unsigned int model)
case
0x45
:
/* HSW */
case
0x45
:
/* HSW */
case
0x46
:
/* HSW */
case
0x46
:
/* HSW */
case
0x3D
:
/* BDW */
case
0x3D
:
/* BDW */
case
0x47
:
/* BDW */
case
0x4F
:
/* BDX */
case
0x4F
:
/* BDX */
case
0x56
:
/* BDX-DE */
case
0x56
:
/* BDX-DE */
return
1
;
return
1
;
...
@@ -2631,7 +2634,7 @@ int get_and_dump_counters(void)
...
@@ -2631,7 +2634,7 @@ int get_and_dump_counters(void)
}
}
void
print_version
()
{
void
print_version
()
{
fprintf
(
stderr
,
"turbostat version 4.
0
10-Feb, 2015"
fprintf
(
stderr
,
"turbostat version 4.
1
10-Feb, 2015"
" - Len Brown <lenb@kernel.org>
\n
"
);
" - Len Brown <lenb@kernel.org>
\n
"
);
}
}
...
...
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