record: Add rtems_record_client_set_handler()

This commit is contained in:
Sebastian Huber
2019-08-17 19:01:14 +02:00
parent c91f6f5f4e
commit 4a9a58ea8a
+8
View File
@@ -195,6 +195,14 @@ void rtems_record_client_destroy(
rtems_record_client_context *ctx
);
static inline void rtems_record_client_set_handler(
rtems_record_client_context *ctx,
rtems_record_client_handler handler
)
{
ctx->handler = handler;
}
static inline uint64_t rtems_record_client_bintime_to_nanoseconds(
uint64_t bt
)