diff options
Diffstat (limited to 'pjlib/include')
-rw-r--r-- | pjlib/include/pj/os.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pjlib/include/pj/os.h b/pjlib/include/pj/os.h index 8d50476a..1cdbc476 100644 --- a/pjlib/include/pj/os.h +++ b/pjlib/include/pj/os.h @@ -1169,6 +1169,15 @@ PJ_DECL(pj_color_t) pj_term_get_color(void); #if defined(PJ_HAS_HIGH_RES_TIMER) && PJ_HAS_HIGH_RES_TIMER != 0 /** + * Get monotonic time since some unspecified starting point. + * + * @param tv Variable to store the result. + * + * @return PJ_SUCCESS if successful. + */ +PJ_DECL(pj_status_t) pj_gettickcount(pj_time_val *tv); + +/** * Acquire high resolution timer value. The time value are stored * in cycles. * |