, depending on the type technique employed, can demand considerable energy and expend calories.
I would be concerned if you are masturbating "all night". One may wish to think through why you are masturbating, why you are at the frequency you are and why you are spending the amount of time and effort you are. Are there issues at hand that need to be dealt with? May want some advice.