Change in entropy is (Delta Q)/T. The heat flow is equal to the energy that is generated through heating of the resistor in Joules, which is the power flowing through the resistor in watts (power = i^2R) times the time in seconds. T is the ambient temp in kelvins.
