I have a long running calc that I can't complete in one pass of onUpdate. Currently I'm just doing a few iterations and hoping I don't hit the watchdog limit. It occurred to me that if I actually knew that limit then I could be smarter and do something like:
function onUpdate()
var beginTime = System.getTimer();
...do draw watch face here...
...then...
do {
...iteration of long running calc...
} while (System.getTimer() - beginTime < wdTimeLimit * someSafetyFactor) // such as 0.9
Assuming wdTimeLimit in ms, is this value knowable, and if so, does it vary by device or is the limit the same across the board?