An Analytical Approach for Network-on-Chip Performance Analysis