aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/build/perftools.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/build/perftools.c')
-rw-r--r--test/build/perftools.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/build/perftools.c b/test/build/perftools.c
new file mode 100644
index 0000000000..03548b4c7e
--- /dev/null
+++ b/test/build/perftools.c
@@ -0,0 +1,7 @@
+#include <gperftools/profiler.h>
+
+int main() {
+ ProfilerStart("/dev/null");
+ ProfilerStop();
+ return 0;
+}