summaryrefslogtreecommitdiff
path: root/cpustats/Android.mk
diff options
context:
space:
mode:
authorEric Rowe <erowe@google.com>2012-03-26 16:55:30 -0700
committerEric Rowe <erowe@google.com>2012-04-03 17:28:23 -0700
commit987f27fbd27fc8a88018882f4071c46b6de4195c (patch)
tree4a2a0facd73e751e0a299e6ec625322000344f21 /cpustats/Android.mk
parent68e3dfd81ddb9367a0c3e0c72148c23a3227ed48 (diff)
downloadextras-987f27fbd27fc8a88018882f4071c46b6de4195c.tar.gz
First checkin of cpustats
This utility is similar to top but with two major differences. 1) It removes the overhead of gathering process/thread stats. 2) It measures the time spent in each frequency for each sample duration. Bug: 6147843 Change-Id: Ie9073470f8cd1778fe902ea6383bef2311e91cf1
Diffstat (limited to 'cpustats/Android.mk')
-rw-r--r--cpustats/Android.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpustats/Android.mk b/cpustats/Android.mk
new file mode 100644
index 00000000..27899894
--- /dev/null
+++ b/cpustats/Android.mk
@@ -0,0 +1,10 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := cpustats.c
+
+LOCAL_MODULE_PATH := $(TARGET_OUT_OPTIONAL_EXECUTABLES)
+LOCAL_MODULE_TAGS := debug
+LOCAL_MODULE := cpustats
+
+include $(BUILD_EXECUTABLE)