Your Qualified Business, ordinary business income/loss

I'm not sure what numbers to put in these fields, and I don't know how I knew what to do last year, or remember what I did!  I'm a single member filing as S Corp. I pay myself a reasonable salary.  Is this the total revenue my company took in? Or is it profit after expenses? Or something else?