Francisco Paisana
28467d568d
eliminated old way to schedule tasks using the heap
5 years ago
Francisco Paisana
d40dcd28f3
removed uneeded swap method
5 years ago
Francisco Paisana
b5abba41a3
use normal polymorphism to create vtable
5 years ago
Francisco Paisana
e2b10307ea
changed inplace_task name to move_callback
5 years ago
Francisco Paisana
ee50ed08c2
allow inplace task to be called in const contexts
5 years ago
Francisco Paisana
8d1beb42bd
fix leak in inplace task destructor
5 years ago
Francisco Paisana
1061f2144b
add consts
5 years ago
Francisco Paisana
cd9c722aa0
avoid branching in inplace_task
5 years ago
Francisco Paisana
ef834b3c60
changed inplace_task file name
5 years ago
Francisco Paisana
a6b7c5d1d2
inplace task now uses small buffer optimization for bigger captures
5 years ago
Francisco Paisana
4b2b76cf01
created inplace task to avoid mallocs in task enqueuing
5 years ago
Francisco Paisana
c09f76ed6c
unified stack task defer method
5 years ago
Francisco Paisana
977a1acc5e
eliminated unhandled_event special function. Use react instead.
5 years ago
Francisco Paisana
6e34dadce2
reverted back to tuples to store fsm state_list
5 years ago
Francisco Paisana
dbbeb1ec3b
fix log order
5 years ago
Francisco Paisana
4036a6887a
clean up enter/exit state methods
5 years ago
Francisco Paisana
8d3427e88a
removed namespacing from state printing
5 years ago
Francisco Paisana
b699e0e490
enter/exit moved outside of the states, into the fsm. Now i just use the type_name function to get a state name
5 years ago
Francisco Paisana
4a4827a603
created a method to detect unhandled events
5 years ago
Francisco Paisana
ec3ef4474e
created a simple procedure fsm
5 years ago
Francisco Paisana
1aae510e9d
enter/exit are now being called in order
5 years ago
Francisco Paisana
dd377becaa
small fixes in state transitions
5 years ago
Francisco Paisana
dc0427804f
clean up comments and add some util functions
5 years ago
Francisco Paisana
7dc1489ea7
reintroduced optional enter/exit methods for each state
5 years ago
Francisco Paisana
7c76a64238
fix move/copy correctness
5 years ago
Francisco Paisana
be5a33f9b7
deleted unused fsm methods
5 years ago
Francisco Paisana
6675e92806
implement fsm based on choice type
5 years ago
Francisco Paisana
018f9e7db2
implement visit pattern
5 years ago
Francisco Paisana
278a1686fb
creation of choice/variant type
5 years ago
Francisco Paisana
7932a6bed7
allow the use of move_tasks in procedures
5 years ago
Andre Puschmann
057844d7d6
signal_handler: increase alarm timeout to 5s and use raise instead of exit()
...
it seems that exit() causes problems when threads couldn't be stopped
properly, which is the reason why we have to call alarm() in the first place.
therefore, send a SIGKILL to our process and make sure we don't leave any
zombie threads running.
5 years ago
Francisco Paisana
c661025cda
fix log tti, and print a warning when the ul_harq tti does not match existing ones
5 years ago
Francisco Paisana
30ae2226c1
common interface for stack multiqueue tasks, background tasks and timers
5 years ago
Andre Puschmann
62e4bd9469
log_ptr: fix issue if accessing log_ptr that was reset already
...
during deinit of the UE/eNB it could happen that the log_ptr
was already set to null but the stack thread was still accessing
it through log_h->info()
i've moved the old macro into a new header and used as as much
as possible. there are still places in the code where similar
macros are used but we would need to change the variable name
to replace them
5 years ago
Francisco Paisana
344eaf49ec
use logmap in the whole enb and ue
5 years ago
Francisco Paisana
8e837e173d
printf has already a way to pad spaces. If we use it, we can avoid accidentally adding extra logs because we did srslte::logmap::get("MAC") instead of srslte::logmap::get("MAC ")
5 years ago
Ismael Gomez
fd3d4a7874
Refactor thread_pool: use std::mutex and fix some hidden potential bugs
5 years ago
Francisco Paisana
82cb6baef0
now the whole ue and enb mac uses the logmap
5 years ago
Francisco Paisana
fb967d17a2
now we can disable tprofs individually
5 years ago
Francisco Paisana
e73cbb09b0
created tprof statistic for sliding windows
5 years ago
Francisco Paisana
2601d106f5
fix license string
5 years ago
Francisco Paisana
deb76d5dbd
improved design to avoid data structures, and allow guarded start/stop even in lambdas
5 years ago
Francisco Paisana
8a54aef89d
created a better/more composable design for time measures
5 years ago
Francisco Paisana
854211496b
redesign of tprof for thread safety
5 years ago
Francisco Paisana
269c852767
created a class for time profiling. An object of such class, if disabled, has almost zero overhead. Added a compile-time flag to turn on/off time profiling
5 years ago
Andre Puschmann
ac17ec6452
add common signal_handler for srsUE/srsENB/srsEPC
...
the signal handler is the same for all three apps. The "running" flag
as well as the file_logger object are in the common header in order
to allow the signal handler to flush the file if the alarm goes off.
5 years ago
Andre Puschmann
4e3e537982
fix doxygen file description
5 years ago
Xavier Arteaga
e832769ae6
Updated copyright
5 years ago
Francisco Paisana
5330249625
created tti_point type and unit test. Added also the tti_point to the scheduler harqs, and rrc procedure
5 years ago
Ismael Gomez
e8b8c9922e
Add RF per-channel frequency band constraints ( #1026 )
5 years ago