Processor Counter Monitor
C++ C Makefile Objective-C Python Shell
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 206 commits behind opcm:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
MacMSRDriver
PCM-Core_Win
PCM-Lib_Win
PCM-MSR_Win
PCM-Memory_Win
PCM-NUMA_Win
PCM-PCIE_Win
PCM-Power_Win
PCM-Service_Win
PCM-TSX_Win
PCM_Win
WinMSRDriver
daemon
freegetopt
pcm.so
winpmem
winring0
.bdsignore.all
.gitattributes
.gitignore
.travis.yml
Doxyfile
FREEBSD_HOWTO.txt
KSysGuard HOWTO.docx
KSysGuard HOWTO.pdf
LICENSE
LINUX_HOWTO.txt
MAC_HOWTO.txt
Makefile
README.md
TODO
WINDOWS_HOWTO.rtf
build_solution.bat
client_bw.cpp
client_bw.h
cpuasynchcounter.h
cpucounters.cpp
cpucounters.h
license.txt
memoptest.cpp
msr.cpp
msr.h
msrtest.cpp
mutex.h
pci.cpp
pci.h
pcm-all.sln
pcm-core.cpp
pcm-memory.cpp
pcm-msr.cpp
pcm-numa.cpp
pcm-pcie.cpp
pcm-power.cpp
pcm-sensor.cpp
pcm-tsx.cpp
pcm.cpp
pmu-query.py
readmem.cpp
readmem.sh
realtime.cpp
types.h
utils.cpp
utils.h
width_extender.h

README.md


Processor Counter Monitor (PCM)

Processor Counter Monitor (PCM) is an application programming interface (API) and a set of tools based on the API to monitor performance and energy metrics of Intel® Core™, Xeon®, Atom™ and Xeon Phi™ processors. PCM works on Linux, Windows, Mac OS X and FreeBSD operating systems.


Current Build Status

  • Linux and OSX: Build Status
  • Windows: Build status

PCM Tools

PCM provides a number of command-line utilities for real-time monitoring:

  • pcm : basic processor monitoring utility (instructions per cycle, core frequency (including Intel(r) Turbo Boost Technology), memory and Intel(r) Quick Path Interconnect bandwidth, local and remote memory bandwidth, cache misses, core and CPU package sleep C-state residency, core and CPU package thermal headroom, cache utilization, CPU and memory energy consumption)
  • pcm-memory : monitor memory bandwidth (per-channel and per-DRAM DIMM rank)
  • pcm-pcie : monitor PCIe bandwidth
  • pcm-numa : monitor local and remote memory accesses
  • pcm-power : monitor sleep and energy states of processor, Intel(r) Quick Path Interconnect, DRAM memory, reasons of CPU frequency throttling and other energy-related metrics
  • pcm-tsx: monitor performance metrics for Intel(r) Transactional Synchronization Extensions
  • pcm-core and pmu-query: query and monitor arbitrary processor core events

Graphical front ends:

  • pcm-sensor : front-end for KDE KSysGuard
  • pcm-service : front-end for Windows perfmon

There is also a utility for reading/writing Intel model specific registers (pcm-msr) supported on Linux, Windows, Mac OS X and FreeBDS.


PCM API documentation

PCM API documentation is embedded in the source code and can be generated into html format from source using Doxygen (www.doxygen.org).


Building the PCM Tools