leaudio: Improve dumpsys log for stream creation speed
This patch addts more detailed information about stream craetion time. Stream creation speed: [🌧️ 15:37:53 G_id: 1(#2), LIVE, t:2082ms (r:637/s:1031/hal:414)], [🌟 15:37:49 G_id: 1(#2), SOUNDEFFECTS, t:787ms (hal:10)] When there is not reconfiguration logs will look like this: [🌟 15:37:49 G_id: 1(#2), SOUNDEFFECTS, t:787ms (hal:10)]🌟 -> nice indicator 15:37:49 -> when stream got established G_id: 1 -> group id (#2) -> number of connected devices during stream setup SOUNDEFFECT -> context type t:787ms -> total time for stream creation (hal:10) -> time spent in Audio HAL in ms When there reconfiguration happend there are additional logs like here: [🌧️ 15:37:53 G_id: 1(#2), LIVE, t:2082ms (r:637/s:1031/hal:414)] r:637 -> reconfiguration time in ms (stream release and put into Configured state) s:1031 -> stream create time in ms (QoS Configured -> Streaming state) hal: 414 -> time spent in Audio HAL Bug: 331775328 Flag: Exempt, logging only code Test: mmm packages/modules/Bluetooth Change-Id: I4740824a01b7269dbf74b76d2bd8935e506e4134
Loading
Please register or sign in to comment