So an example could be. Your salary is 50k, your benefits are calcualted to be 10k, your options ammount to 20k and your bonus is 20k.
Your total comp is 100k, but because options vest slowly you only make 1/4 of that and the bonus did not work out, so your take home salary was 55k + benefits.
This can change depending on the company, role, country, contract etc. Its not really like total comp is a legal definition.