mirror of
https://git.freebsd.org/ports.git
synced 2025-06-11 07:40:40 -04:00
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(r) Core(tm), Xeon(r) and Atom(tm) processors. This requires the 'cpuctl' module to be loaded. WWW: https://github.com/opcm/pcm PR: 227317 Submitted by: Vinícius Zavam <egypcio@googlemail.com> Differential Revision: https://reviews.freebsd.org/D14986
10 lines
270 B
C++
10 lines
270 B
C++
--- pci.cpp.orig 2017-05-15 10:43:22 UTC
|
|
+++ pci.cpp
|
|
@@ -17,6 +17,7 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
|
|
|
#include <iostream>
|
|
#include <stdio.h>
|
|
+#include <strings.h> //for bzero
|
|
#include <sys/types.h>
|
|
#include <sys/stat.h>
|
|
#include <fcntl.h>
|