Basically it would be something like this:

(damage dealt to heroes + damage dealt to buildings) / match duration in seconds

I would like to compare my dps on different heroes but I am too lazy to math. Thanks