qcacmn: HIF schedule latency measurement

Add support to measure interrupt latencies, store them
in different "bins" and display the constructed histogram
through user command.

Change-Id: I268be6b39745d550ac7db5d321c2d1fdb2d17d41
CRs-Fixed: 2365812
此提交包含在:
Pamidipati, Vijay
2018-12-31 14:46:14 +05:30
提交者 nshrivas
父節點 6d22eeb468
當前提交 37d107d2d1
共有 8 個檔案被更改,包括 247 行新增18 行删除

查看文件

@@ -929,6 +929,15 @@ void hif_update_pipe_callback(struct hif_opaque_softc *osc,
struct hif_msg_callbacks *callbacks);
void hif_print_napi_stats(struct hif_opaque_softc *hif_ctx);
/* hif_clear_napi_stats() - function clears the stats of the
* latency when called.
* @hif_ctx - the HIF context to assign the callback to
*
* Return: None
*/
void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx);
#ifdef __cplusplus
}
#endif