flog the log vs rub one out

flog the log

verb
  • To masturbate. 

rub one out

verb
  • To masturbate to the point of ejaculation. 

How often have the words flog the log and rub one out occurred in a corpus of books? (source: Google Ngram Viewer )