summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2020-05-16 18:00:35 -0700
committernshrivas <nshrivas@codeaurora.org>2020-05-22 07:06:27 -0700
commit8df81880c4af36758286a88e5d05c693d0377012 (patch)
treee37919dd6bc979ada45ff98e5c765480d8d3feed
parentc67b6e87bef9aff7698b7aed75de734bad4816e4 (diff)
downloadwlan-fw-api-8df81880c4af36758286a88e5d05c693d0377012.tar.gz
fw-api: CL 10479358 - update fw common interface files
HTT stats: provide number of page faults Change-Id: I17dee832273ebc3ee818990c5606f5332a739d68 CRs-Fixed: 2262693
-rw-r--r--fw/htt_stats.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/fw/htt_stats.h b/fw/htt_stats.h
index 99a1e8c..9a10f1f 100644
--- a/fw/htt_stats.h
+++ b/fw/htt_stats.h
@@ -4746,6 +4746,7 @@ typedef struct {
#define HTT_LATENCY_PROFILE_MAX_HIST 3
#define HTT_STATS_MAX_PROF_STATS_NAME_LEN 32
+#define HTT_INTERRUPTS_LATENCY_PROFILE_MAX_HIST 3
typedef struct {
htt_tlv_hdr_t tlv_hdr;
/* print_header:
@@ -4771,6 +4772,20 @@ typedef struct {
*/
A_UINT32 hist_intvl;
A_UINT32 hist[HTT_LATENCY_PROFILE_MAX_HIST];
+ A_UINT32 page_fault_max; /* max page faults in any 1 sampling window */
+ A_UINT32 page_fault_total; /* summed over all sampling windows */
+ /* ignored_latency_count:
+ * ignore some of profile latency to avoid avg skewing
+ */
+ A_UINT32 ignored_latency_count;
+ /* interrupts_max: max interrupts within any single sampling window */
+ A_UINT32 interrupts_max;
+ /* interrupts_hist: histogram of interrupt rate
+ * bin0 contains the number of sampling windows that had 0 interrupts,
+ * bin1 contains the number of sampling windows that had 1-4 interrupts,
+ * bin2 contains the number of sampling windows that had > 4 interrupts
+ */
+ A_UINT32 interrupts_hist[HTT_INTERRUPTS_LATENCY_PROFILE_MAX_HIST];
} htt_latency_prof_stats_tlv;
typedef struct {