Skip to content

Commit f5012b8

Browse files
committed
update docs
Change-Id: Id6245138048a0557b22bdcf75eecb14575ef40a0
1 parent ec6d83b commit f5012b8

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

doc/PCM_RAW_README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@ Sample csv output (date,time,event_name,milliseconds_between_samples,TSC_cycles_
214214
```
215215
The unit can be logical core, memory channel, CHA, etc, depending on the event type.
216216

217+
218+
Show events available for the processor on the system:
219+
```
220+
pcm-raw -?
221+
```
222+
217223
--------------------------------------------------------------------------------
218224
Low-level access to Intel PMT telemetry data
219225
--------------------------------------------------------------------------------

doc/WINDOWS_HOWTO.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ _For support of systems with more than _**_64_**_ logical cores you need to comp
44

55
## Command-line utility
66

7-
1. Follow [Compile the windows MSR driver](#compile-the-windows-msr-driver) to compile the windows MSR driver (msr.sys). For Windows 7 and later versions you have to sign the msr.sys driver additionally ([http://msdn.microsoft.com/en-us/library/ms537361(VS.85).aspx](http://msdn.microsoft.com/en-us/library/ms537361(VS.85).aspx)). To enable loading test signed drivers on the system: in administrator cmd console run `bcdedit /set testsigning on` and reboot.
7+
1. Follow [Compile the Windows MSR driver](#compile-the-windows-msr-driver) to compile the Windows MSR driver (msr.sys). For Windows 7 and later versions you have to sign the msr.sys driver additionally ([http://msdn.microsoft.com/en-us/library/ms537361(VS.85).aspx](http://msdn.microsoft.com/en-us/library/ms537361(VS.85).aspx)). To enable loading test-signed drivers on the system: in administrator cmd console run `bcdedit /set testsigning on` and reboot.
88

99
2. Build the *pcm.exe* utility:
1010
```
@@ -17,7 +17,7 @@ _For support of systems with more than _**_64_**_ logical cores you need to comp
1717
4. As Administrator copy the msr.sys driver and pcm.exe into the PCM directory
1818
5. Run pcm.exe utility from the PCM directory as Administrator
1919

20-
For Windows 7+ and Windows Server 2008+ R2 the PCM utilities need to be run as administrator:
20+
For Windows 7+ and Windows Server 2008+ R2 the PCM utilities need to be run as Administrator:
2121

2222
Alternatively you can achieve the same using the “Properties” Windows menu of the executable (“Privilege level” setting in the “Compatibility” tab): Right mouse click -> Properties -> Compatibility -> Privilege level -> Set “Run this program as an administrator”.
2323

@@ -47,13 +47,14 @@ Unhandled Exception: System.NotSupportedException: This method implicitly uses C
4747

4848
8. Start perfmon and find new PCM\* counters
4949

50-
If you do not want or cannot compile the msr.sys driver you might use a third-party open source WinRing0 driver instead. Instructions:
50+
If you do not want or cannot compile the msr.sys driver you might use a third-party open source WinRing0 driver instead (experimental only, for testing environments only).
51+
Instructions:
5152

5253
1. Download the free RealTemp utility package from [http://www.techpowerup.com/realtemp/](http://www.techpowerup.com/realtemp/) or any other free utility that uses the open-source WinRing0 driver (like OpenHardwareMonitor [http://code.google.com/p/open-hardware-monitor/downloads/list](http://code.google.com/p/open-hardware-monitor/downloads/list)).
5354
2. Copy WinRing0.dll, WinRing0.sys, WinRing0x64.dll, WinRing0x64.sys files from there into the PCM.exe binary location, into the PCM-Service.exe location and into c:\windows\system32
5455
3. Run the PCM.exe tool and/or go to step 6 (perfmon utility).
5556

56-
## Compile the windows MSR driver
57+
## Compile the Windows MSR driver
5758

5859
1. Download Visual Studio ([Visual Studio download](https://visualstudio.microsoft.com/downloads/)).
5960
When you install Visual Studio, also install related packages:

0 commit comments

Comments
 (0)