A new survey shows that more chief executives received pay raises than pay cuts in 2008.

The study was carried out by the AFL-CIO union on Tuesday. The survey measured compensation including stock options which had not yet been vested.

The study, which used data from 946 companies in the Russell 3000 index with data from 2008, found that 480 executives got raises and 463 had pay cuts.

The median salary was up 7 percent in 2008, the survey found. Perks at the firm grew by nearly 13 percent to an average of $336, 246.

The average compensation of CEOs whose compensation grew was $5.4 million, including salary, bonuses, and stock options.

The average compensation of CEOs which received pay cuts were $3.9 million.

The survey used publicly reported data with help from the Corporate Library.