Statistics for An extension of LaSalle’s invariance principle for switched systems