summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbhishek Singh <absingh@qti.qualcomm.com>2016-03-07 13:45:41 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-03-10 13:00:41 +0530
commitbc8b6e7448f277a9e29d142a938d771a8f2a98f0 (patch)
tree0c939f93d4c37ad0eeb76c34d321353c165f2af1
parent94edded59250573f2a7f2733024ae17e7385b7ef (diff)
qcacld-2.0: Reduce the VOS_GET_MEMORY_TIME_THRESHOLD to 300ms
prima to qcacld-2.0 propagation Issues are seen where memory allocation takes 300-1000ms. So to detect this reduce the VOS_GET_MEMORY_TIME_THRESHOLD value to print the time taken by kmalloc, to 300ms from 3 sec. Change-Id: I0f7e1587b2ddd2839d70a19b047aa46bb6a2cea1 CRs-Fixed: 970017
-rw-r--r--CORE/VOSS/src/vos_memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/CORE/VOSS/src/vos_memory.c b/CORE/VOSS/src/vos_memory.c
index 071382b242eb..901240109a04 100644
--- a/CORE/VOSS/src/vos_memory.c
+++ b/CORE/VOSS/src/vos_memory.c
@@ -105,7 +105,7 @@ static struct s_vos_mem_usage_struct g_usage_mem_buf[MAX_USAGE_TRACE_BUF_NUM];
* Preprocessor Definitions and Constants
* ------------------------------------------------------------------------*/
-#define VOS_GET_MEMORY_TIME_THRESHOLD 3000
+#define VOS_GET_MEMORY_TIME_THRESHOLD 300
/*---------------------------------------------------------------------------
* Type Declarations