How to determine watchdog trigger time

Please post your entire sketch in code tags.
https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum/679966#post-all-your-code