lisa.analysis.latency: Remove code duplication
lisa.analysis.latency: Remove code duplication

credp/lisa,credp/lisa,ARM-software/lisa,ARM-software/lisa,ARM-software/lisa,credp/lisa,credp/lisa,ARM-software/lisa