- If constrained by several nested TimeConstrained wrappers, TimeRemaining returns the time to the earliest time constraint.
- Without an enclosing TimeConstrained, TimeRemaining returns Infinity.
- TimeRemaining is accurate only down to a granularity of at least $TimeUnit seconds.
- TimeRemaining is based on absolute real time, not just CPU time.
Examplesopen allclose all
Basic Examples (2)
Properties & Relations (4)
TimeRemaining returns the time to the earliest time constraint:
The CPU time taken by the operation can be measured using Timing, and it is smaller:
Wolfram Research (2020), TimeRemaining, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeRemaining.html.
Wolfram Language. 2020. "TimeRemaining." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TimeRemaining.html.
Wolfram Language. (2020). TimeRemaining. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimeRemaining.html