I believe this was a bug. The 'elapsed' variable in tock() would always come to whatever the window size was when the wallclock was used with a periodic window.