Description
Subtract each clock offset from its recorded endpoint and derive correctedElapsed.
Manufacturing time budgets depend on clock origins, pause conventions, and boundary inclusion. Subtracting timestamps produces a duration; whether that duration is acceptable depends on an independently supplied procedure or limit.
Subtract each clock offset from its recorded endpoint and derive correctedElapsed.
When to use this tool
Use GMP Room Clock Offset Credit when you need a manufacturing interval or timing-budget calculation from supplied records.
How to use the tool and how it works
- Enter recordedStart, recordedEnd, startClockOffset, endClockOffset, creditedPause. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read correctedElapsed, countedElapsed. Use the output convention below.
Subtract each clock offset from its recorded endpoint and derive correctedElapsed. Require nonnegative creditedPause within that duration and subtract it for countedElapsed.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| recordedStart | Recorded Start | Required. Finite number. |
| recordedEnd | Recorded End | Required. Finite number. |
| startClockOffset | Start Clock Offset | Required. Finite number. |
| endClockOffset | End Clock Offset | Required. Finite number. |
| creditedPause | Credited Pause | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| correctedElapsed | Corrected Elapsed | Required. Finite number. |
| countedElapsed | Counted Elapsed | Required. Finite number. |
{
"input": {
"recordedStart": 10,
"recordedEnd": 50,
"startClockOffset": 2,
"endClockOffset": 4,
"creditedPause": 5
},
"output": {
"correctedElapsed": 38,
"countedElapsed": 33
}
} Limitations and assumptions
- Offsets use recorded-minus-reference convention and all times share units; no clock calibration, justified pause, acceptable process duration, or compliance is inferred.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use the applicable controlled procedure and complete timestamp history for timing decisions. Resolve clock units, pauses, and effective-date rules before comparing the result with an approved limit.
References
Similar or alternative tools
- GMP Process Hold Time Explicit Margin
Subtract paused only when includePause is false, then return margin and inclusive within comparison.
- Cleaning Log Reference Time Margin
Require nonnegative creditedDuration and return suppliedDueAt-recordedAt+creditedDuration.