X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fhi_lib%2Flib%2Fapi%2Fxran_timer.h;h=bb4cecd7675e95d3d78c320ad73ba008f64b39c4;hp=d44b5e0b2b6509ed60128d5bc3090531bdff9835;hb=cef07f74965b1749dd909fc1322e211489fea2ea;hpb=bc60e3a69129edf1c21a01683f84a77483f6e3cc diff --git a/fhi_lib/lib/api/xran_timer.h b/fhi_lib/lib/api/xran_timer.h index d44b5e0..bb4cecd 100644 --- a/fhi_lib/lib/api/xran_timer.h +++ b/fhi_lib/lib/api/xran_timer.h @@ -16,7 +16,6 @@ * *******************************************************************************/ - /** * @brief This file provides interface to Timing for XRAN. * @@ -28,6 +27,11 @@ #ifndef _XRAN_TIMER_H #define _XRAN_TIMER_H + +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include @@ -40,8 +44,13 @@ long poll_next_tick(long interval_ns); long sleep_next_tick(long interval); -int timing_set_debug_stop(int value); +int timing_set_debug_stop(int value, int count); int timing_get_debug_stop(void); inline uint64_t timing_get_current_second(void); +int timing_set_numerology(uint8_t value); + +#ifdef __cplusplus +} +#endif #endif