kms-throughput benchmark
This benchmark aims to maximize memory bandwidth used by the display
processor. It reports a histogram of frame-to-frame time.
Test: [on coral] /data/local/tmp/kms_throughput
Bug: 143118270
Change-Id: Iaf3bb20848886b9596e0e1d67167861a301c6c91
diff --git a/Android.bp b/Android.bp
index 477efe2..0a32ca3 100644
--- a/Android.bp
+++ b/Android.bp
@@ -83,3 +83,9 @@
defaults: ["igt-gpu-tools-test-defaults"],
srcs: ["tests/kms_vblank.c"],
}
+
+cc_test {
+ name: "kms_throughput",
+ defaults: ["igt-gpu-tools-test-defaults"],
+ srcs: ["benchmarks/kms_throughput.c"],
+}