File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 2525#include " srsran/support/event_tracing.h"
2626#include " srsran/support/io/io_broker.h"
2727#include " srsran/support/io/io_broker_factory.h"
28+ #include " srsran/support/io/io_timer_source.h"
2829#include " srsran/support/signal_handler.h"
2930#include " srsran/support/sysinfo.h"
3031#include " srsran/support/timers.h"
@@ -284,6 +285,9 @@ int main(int argc, char** argv)
284285 timer_manager app_timers{256 };
285286 timer_manager* cu_timers = &app_timers;
286287
288+ // Create time source that ticks the timers
289+ io_timer_source time_source{app_timers, *epoll_broker, std::chrono::milliseconds{1 }};
290+
287291 // Set up the JSON log channel used by metrics.
288292 // TODO metrics. Do we have any CU-CP or CU-UP JSON metrics?
289293
You can’t perform that action at this time.
0 commit comments