Statistical approach to networks-on-chip