Statistical Comparison Between Musharraf and Preceding Governments

In all these “GDP”/per capita/income number crunching, where is trade deficit actually used? What does trade deficit do for a country’s economy (in long/short run)?