These are the procedures to time main, to move the clock second hand one "second", and to generate a record for a computer each minute. A spreadsheet program can calculate the total watt-seconds from the current.