When you will complete your Masters upon getting your degree, Immediately apply for PGWP after getting Degree, I believe you will get better info on this when you will be visiting your university. Don't stress yourself now. If you stay for 3yrs in Canada (2yrs study+1yrs pgwp) you are eligible...