The OnUpdate handler has two returns - the frame and the time in seconds.
Lua Code:
local timelastrun = 0
myFrame:SetHandler("OnUpdate", function(self, timerun)
if (timerun - timelastrun) >= 1 then --this will run the below code once every second
--do stuff
timelastrun = timerun
end
end)