summaryrefslogtreecommitdiff
path: root/src/reg_dumper/Makefile.am
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-01-11 15:51:00 -0800
committerKeith Packard <keithp@keithp.com>2008-01-30 01:02:16 +1100
commitb9c3fa79d9fd48c34536f92e6c1c70fe3a619410 (patch)
tree723ee00ff17f643e667963ef0e8577786a40a8ec /src/reg_dumper/Makefile.am
parent5d9e67aec3ce458d22b7febd3819542abb360534 (diff)
Add intel_idle to measure GPU load ratio.
Samples GPU idle register to detect when the GPU is busy; prints out the number of busy samples per 100 total samples once per second.
Diffstat (limited to 'src/reg_dumper/Makefile.am')
-rw-r--r--src/reg_dumper/Makefile.am13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/reg_dumper/Makefile.am b/src/reg_dumper/Makefile.am
index aee26d0e..bba388f5 100644
--- a/src/reg_dumper/Makefile.am
+++ b/src/reg_dumper/Makefile.am
@@ -1,4 +1,4 @@
-noinst_PROGRAMS = intel_reg_dumper
+noinst_PROGRAMS = intel_reg_dumper intel_idle
intel_reg_dumper_SOURCES = \
main.c \
@@ -6,7 +6,16 @@ intel_reg_dumper_SOURCES = \
xprintf.c \
../i830_debug.c
+intel_idle_SOURCES = \
+ idle.c \
+ reg_dumper.h \
+ xprintf.c \
+ ../i830_debug.c
+
intel_reg_dumper_LDADD = $(PCIACCESS_LIBS)
-intel_reg_dumper_CFLAGS = $(PCIACCESS_CFLAGS) $(WARN_CFLAGS) \
+intel_idle_LDADD = $(PCIACCESS_LIBS)
+
+AM_CFLAGS = $(PCIACCESS_CFLAGS) $(WARN_CFLAGS) \
-I$(srcdir)/.. -DREG_DUMPER
+