- 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:
Introduced in 2020