True about cardiac 02 demand is