diff options
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/common/helpers/etTimeHelpers.h')
-rw-r--r-- | runtime/org.eclipse.etrice.runtime.c/src/common/helpers/etTimeHelpers.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/helpers/etTimeHelpers.h b/runtime/org.eclipse.etrice.runtime.c/src/common/helpers/etTimeHelpers.h index b08839d86..183de8938 100644 --- a/runtime/org.eclipse.etrice.runtime.c/src/common/helpers/etTimeHelpers.h +++ b/runtime/org.eclipse.etrice.runtime.c/src/common/helpers/etTimeHelpers.h @@ -39,6 +39,15 @@ void etTimeHelpers_normalize(etTime* self); void etTimeHelpers_subtract(etTime *self, const etTime* subtractValue); /** + * computes the difference of two times + * + * \param first the first operand + * \param second the second operand + * \return the result as a time diff + */ +etTimeDiff etTimeHelpers_delta(const etTime* first, const etTime* second); + +/** * computes the sum of two times * * \param self the this pointer |