No, average purchase cost which reflects under the Portfolio section does not include the brokerage. Hence the total as well as individual smallcase returns will be exclusive of the brokerage and other statutory charges borne by you.
For exact profit and loss details, you can refer to the Profit and Loss statement and Capital gain/loss statement under HDFC Portfolio tab.