ports/sysutils/intel-pcm-devel/files/patch-pci.cpp
Danilo G. Baio 48d9e5ceb9 Add sysutils/intel-pcm-devel: Process Count Monitor (PCM) for Intel processors
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
2018-04-07 14:35:13 +00:00

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>