- Jan 23, 2025
-
-
Cédric Roux authored
-
Cédric Roux authored
Useful to debug realtime issues, for example when calling a periodical routine, if it's not programmed carefully enough, it may be that the first call takes way longer than the next ones (for example it uses some memory that is not mapped in the process, leading to many page faults the first time it's executed). Having a periodic log for the timing of this routine with min/avg/max/count will reveal that a call is way longer than average and will help in finding where exactly in the code the time is spent, thanks to the ease of use of the T tracer; you put T(T_XX, T_INT(1)) just before the code you want to measure, you put T(T_XX, T_INT(0)) just after and time_meas will show the delta time between those events. Then you cut the routine in smaller pieces, measure with T(1)/T(0), and you finally reach the small guilty part that takes too long.
-
Cédric Roux authored
In time_meas.c, when getting 0 for the event, we log delta time with previous 1 for the event. "start_valid" was not cleared, so receiving a second 0 without 1 in between may lead to wrong logging. Should not happen in practice, but still, little bug. (Note: we don't protect against streams of 1, but this case should also not happen.)
-
Cédric Roux authored
-
- Jan 14, 2025
-
-
Bartosz Podrygajlo authored
The idea to use atomic aligned to cache line for counting finished jobs is reused, but instead of polling a semaphore was added
-
Cédric Roux authored
-
Thomas Laurent authored
-
Thomas Laurent authored
-
- Jan 09, 2025
-
-
Robert Schmidt authored
The parent commit cleans up and groups oai_exit in one place, nr-softmodem-common.h. Therefore, this 5G file is included in the 4G defs_common.h (at least it's mostly 4G), which is not nice. Instead, define oai_exit also in 4G softmodem-common.h, and include this in defs_common.h. Remove the cyclic inclusion of defs_common.h in softmodem-common.h, and resolve all subsequent errors around unknown types and extern definition mismatches.
-
-
- Jan 03, 2025
-
-
Bartosz Podrygajlo authored
This assert checks if the structure is correctly initialized. The structure is one-time use so the assert is valid, but the value of the atomic was added to the output to improve debugging.
-
- Dec 16, 2024
-
-
Robert Schmidt authored
-
-
Robert Schmidt authored
This adds a basic telnet module to support the O1 interface at the DU, to be used together with the oai/o1-adapter>. Concretely, this first version supports to - read/modify cell parameters - stop/start the L1
-
- Dec 10, 2024
-
-
Sakthivel Velumani authored
Added a flush mechanism to actor thread. This is used to wait for all waiting jobs in the queue to be completed.
-
- Dec 05, 2024
-
-
- Dec 04, 2024
-
-
Bartosz Podrygajlo authored
- removed some whitespace noise. - cleaned up CMakeLists.txt - reintegrated task_manager.c into thread-pool.c - cleaned up some unnecessary code Co-authored-by:
Cedric Roux <cedric.roux@eurecom.fr> Co-authored-by:
Mikel Irazabal <mikel.irazabal@openairinterface.com>
-
Thomas Laurent authored
-
- Dec 03, 2024
-
-
Cédric Roux authored
MIB, SIB1, random access and regular scheduling are traced. At the beginning of a connection (rrc setup request and rrc setup), the RNTI is reported as 0. Might be fixed, somehow, if absolutely needed (not sure).
-
- Nov 29, 2024
-
-
Cédric Roux authored
-
- Nov 27, 2024
-
-
Bartosz Podrygajlo authored
Add actor library which implements the Actor model (see https://en.wikipedia.org/wiki/Actor_model).
-
Bartosz Podrygajlo authored
Implement run-to-completion for processSlotTX. This is achieved by using a new dynamic_barrier_t which allows to specify callback after the first join has been made.
-
Bartosz Podrygajlo authored
This commit introduces dynamic_barrier_t. Its a thread barrier that counts joins but allows callback to be specified later. See std::barrier for a basic barrier description.
-
- Nov 21, 2024
-
-
Thomas Laurent authored
-
- Nov 17, 2024
-
-
- Nov 15, 2024
-
-
Raghavendra Dinavahi authored
Added support for NTN FDD FR1 bands 254, 255, 256 as specified in 3GPP TS 38.101-5 Conf files added for 15Khz, 5Mhz and 30Khz, 10Mhz configurations added for these bands
-
Cédric Roux authored
-
- Nov 12, 2024
-
-
- Nov 07, 2024
-
-
Robert Schmidt authored
telnetsrv uses the Intel/AMD-specific "cpuid" instruction, which is not available on ARM machines. Remove the call. The previous code was checking for the number of cores, which is retained by a call to get_nprocs(). I did not find an equivalent for the number of threads in C. In C++, there would be https://en.cppreference.com/w/cpp/thread/thread/hardware_concurrency, in case it's relevant for anybody.
-
- Oct 29, 2024
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- Oct 25, 2024
-
-
Robert Schmidt authored
-
- Oct 24, 2024
-
-
Bartosz Podrygajlo authored
-
- Oct 23, 2024
-
-
Cédric Roux authored
-
Thomas Laurent authored
-
- Oct 17, 2024
-
-
Robert Schmidt authored
-