Commit 1d232952 authored by Robert Schmidt's avatar Robert Schmidt

Move time_meas.{c,h} to common/utils/

parent ccab3421
...@@ -1276,6 +1276,7 @@ add_library(UTIL ...@@ -1276,6 +1276,7 @@ add_library(UTIL
${OPENAIR_DIR}/common/utils/utils.c ${OPENAIR_DIR}/common/utils/utils.c
${OPENAIR_DIR}/common/utils/system.c ${OPENAIR_DIR}/common/utils/system.c
${OPENAIR_DIR}/common/utils/backtrace.c ${OPENAIR_DIR}/common/utils/backtrace.c
${OPENAIR_DIR}/common/utils/time_meas.c
) )
set(SECU_OSA_SRC set(SECU_OSA_SRC
...@@ -1539,7 +1540,6 @@ set(PHY_SRC_COMMON ...@@ -1539,7 +1540,6 @@ set(PHY_SRC_COMMON
${OPENAIR1_DIR}/PHY/TOOLS/signal_energy.c ${OPENAIR1_DIR}/PHY/TOOLS/signal_energy.c
${OPENAIR1_DIR}/PHY/TOOLS/dB_routines.c ${OPENAIR1_DIR}/PHY/TOOLS/dB_routines.c
${OPENAIR1_DIR}/PHY/TOOLS/sqrt.c ${OPENAIR1_DIR}/PHY/TOOLS/sqrt.c
${OPENAIR1_DIR}/PHY/TOOLS/time_meas.c
${OPENAIR1_DIR}/PHY/TOOLS/lut.c ${OPENAIR1_DIR}/PHY/TOOLS/lut.c
) )
...@@ -1676,7 +1676,6 @@ set(PHY_SRC_UE ...@@ -1676,7 +1676,6 @@ set(PHY_SRC_UE
${OPENAIR1_DIR}/PHY/TOOLS/signal_energy.c ${OPENAIR1_DIR}/PHY/TOOLS/signal_energy.c
${OPENAIR1_DIR}/PHY/TOOLS/dB_routines.c ${OPENAIR1_DIR}/PHY/TOOLS/dB_routines.c
${OPENAIR1_DIR}/PHY/TOOLS/sqrt.c ${OPENAIR1_DIR}/PHY/TOOLS/sqrt.c
${OPENAIR1_DIR}/PHY/TOOLS/time_meas.c
${OPENAIR1_DIR}/PHY/TOOLS/lut.c ${OPENAIR1_DIR}/PHY/TOOLS/lut.c
${PHY_POLARSRC} ${PHY_POLARSRC}
${PHY_SMALLBLOCKSRC} ${PHY_SMALLBLOCKSRC}
...@@ -1730,7 +1729,6 @@ set(PHY_SRC_UE ...@@ -1730,7 +1729,6 @@ set(PHY_SRC_UE
${OPENAIR1_DIR}/PHY/TOOLS/signal_energy.c ${OPENAIR1_DIR}/PHY/TOOLS/signal_energy.c
${OPENAIR1_DIR}/PHY/TOOLS/dB_routines.c ${OPENAIR1_DIR}/PHY/TOOLS/dB_routines.c
${OPENAIR1_DIR}/PHY/TOOLS/sqrt.c ${OPENAIR1_DIR}/PHY/TOOLS/sqrt.c
${OPENAIR1_DIR}/PHY/TOOLS/time_meas.c
${OPENAIR1_DIR}/PHY/TOOLS/lut.c ${OPENAIR1_DIR}/PHY/TOOLS/lut.c
${OPENAIR1_DIR}/PHY/INIT/nr_init_ue.c ${OPENAIR1_DIR}/PHY/INIT/nr_init_ue.c
# ${OPENAIR1_DIR}/SIMULATION/NR_UE_PHY/unit_tests/src/pucch_uci_test.c # ${OPENAIR1_DIR}/SIMULATION/NR_UE_PHY/unit_tests/src/pucch_uci_test.c
......
...@@ -62,8 +62,6 @@ unsigned short config_frames[4] = {2,9,11,13}; ...@@ -62,8 +62,6 @@ unsigned short config_frames[4] = {2,9,11,13};
#include "common/utils/LOG/vcd_signal_dumper.h" #include "common/utils/LOG/vcd_signal_dumper.h"
#include "UTIL/OPT/opt.h" #include "UTIL/OPT/opt.h"
//#include "PHY/TOOLS/time_meas.h"
#include "intertask_interface.h" #include "intertask_interface.h"
#include "PHY/INIT/phy_init.h" #include "PHY/INIT/phy_init.h"
......
...@@ -61,7 +61,6 @@ unsigned short config_frames[4] = {2,9,11,13}; ...@@ -61,7 +61,6 @@ unsigned short config_frames[4] = {2,9,11,13};
#include "UTIL/OPT/opt.h" #include "UTIL/OPT/opt.h"
#include "enb_config.h" #include "enb_config.h"
//#include "PHY/TOOLS/time_meas.h"
#include "intertask_interface.h" #include "intertask_interface.h"
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
#ifndef __NR_LDPC_TYPES__H__ #ifndef __NR_LDPC_TYPES__H__
#define __NR_LDPC_TYPES__H__ #define __NR_LDPC_TYPES__H__
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "nrLDPCdecoder_defs.h" #include "nrLDPCdecoder_defs.h"
// ============================================================================== // ==============================================================================
// TYPES // TYPES
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include <types.h> #include <types.h>
#include "assertions.h" #include "assertions.h"
#include "common/utils/LOG/log.h" #include "common/utils/LOG/log.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "defs.h" #include "defs.h"
#include "ldpc384_byte.c" #include "ldpc384_byte.c"
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <string.h> #include <string.h>
#include "assertions.h" #include "assertions.h"
#include "common/utils/LOG/log.h" #include "common/utils/LOG/log.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "openair1/PHY/CODING/nrLDPC_defs.h" #include "openair1/PHY/CODING/nrLDPC_defs.h"
#include "ldpc_encode_parity_check.c" #include "ldpc_encode_parity_check.c"
#include "ldpc_generate_coefficient.c" #include "ldpc_generate_coefficient.c"
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <string.h> #include <string.h>
#include "assertions.h" #include "assertions.h"
#include "common/utils/LOG/log.h" #include "common/utils/LOG/log.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "openair1/PHY/CODING/nrLDPC_defs.h" #include "openair1/PHY/CODING/nrLDPC_defs.h"
#include "ldpc_encode_parity_check.c" #include "ldpc_encode_parity_check.c"
#include "ldpc_generate_coefficient.c" #include "ldpc_generate_coefficient.c"
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
#include <string.h> #include <string.h>
#include "assertions.h" #include "assertions.h"
#include "common/utils/LOG/log.h" #include "common/utils/LOG/log.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "openair1/PHY/CODING/nrLDPC_defs.h" #include "openair1/PHY/CODING/nrLDPC_defs.h"
#include "ldpc_encode_parity_check.c" #include "ldpc_encode_parity_check.c"
......
...@@ -122,7 +122,7 @@ static inline void* malloc16_clear( size_t size ) ...@@ -122,7 +122,7 @@ static inline void* malloc16_clear( size_t size )
#include "PHY/impl_defs_top_NB_IoT.h" #include "PHY/impl_defs_top_NB_IoT.h"
#include "PHY/impl_defs_lte_NB_IoT.h" #include "PHY/impl_defs_lte_NB_IoT.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
//#include "PHY/CODING/defs.h" //#include "PHY/CODING/defs.h"
#include "PHY/CODING/defs_NB_IoT.h" #include "PHY/CODING/defs_NB_IoT.h"
#include "openair2/PHY_INTERFACE/IF_Module_NB_IoT.h" #include "openair2/PHY_INTERFACE/IF_Module_NB_IoT.h"
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#include "common_lib.h" #include "common_lib.h"
#include "openairinterface5g_limits.h" #include "openairinterface5g_limits.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "defs_common.h" #include "defs_common.h"
#include "nfapi_nr_interface_scf.h" #include "nfapi_nr_interface_scf.h"
......
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
#include "defs_common.h" #include "defs_common.h"
#include "impl_defs_top.h" #include "impl_defs_top.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "PHY/CODING/coding_defs.h" #include "PHY/CODING/coding_defs.h"
#include "PHY/TOOLS/tools_defs.h" #include "PHY/TOOLS/tools_defs.h"
#include "platform_types.h" #include "platform_types.h"
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
#include "assertions.h" #include "assertions.h"
//#include <complex.h> //#include <complex.h>
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "platform_types.h" #include "platform_types.h"
#define MAX_NUM_RU_PER_eNB 64 #define MAX_NUM_RU_PER_eNB 64
......
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
#include "defs_common.h" #include "defs_common.h"
#include "defs_RU.h" #include "defs_RU.h"
#include "impl_defs_top.h" #include "impl_defs_top.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
//#include "PHY/CODING/coding_defs.h" //#include "PHY/CODING/coding_defs.h"
#include "PHY/TOOLS/tools_defs.h" #include "PHY/TOOLS/tools_defs.h"
#include "platform_types.h" #include "platform_types.h"
...@@ -202,7 +202,7 @@ typedef struct { ...@@ -202,7 +202,7 @@ typedef struct {
int repetition_number[4]; int repetition_number[4];
} LTE_eNB_PRACH; } LTE_eNB_PRACH;
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "PHY/CODING/coding_defs.h" #include "PHY/CODING/coding_defs.h"
#include "PHY/TOOLS/tools_defs.h" #include "PHY/TOOLS/tools_defs.h"
#include "PHY/LTE_TRANSPORT/transport_eNB.h" #include "PHY/LTE_TRANSPORT/transport_eNB.h"
......
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
#include "impl_defs_top.h" #include "impl_defs_top.h"
#include "impl_defs_nr.h" #include "impl_defs_nr.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "PHY/CODING/coding_defs.h" #include "PHY/CODING/coding_defs.h"
#include "PHY/TOOLS/tools_defs.h" #include "PHY/TOOLS/tools_defs.h"
#include "platform_types.h" #include "platform_types.h"
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
#include "nfapi_interface.h" #include "nfapi_interface.h"
#include "PHY_INTERFACE/IF_Module.h" #include "PHY_INTERFACE/IF_Module.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
#include "PHY/defs_common.h" // for PRACH_RESOURCES_t #include "PHY/defs_common.h" // for PRACH_RESOURCES_t
#include "PHY/LTE_TRANSPORT/transport_common.h" #include "PHY/LTE_TRANSPORT/transport_common.h"
......
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
/* PHY */ /* PHY */
#include "PHY/defs_gNB.h" #include "PHY/defs_gNB.h"
#include "PHY/TOOLS/time_meas.h" #include "time_meas.h"
/* Interface */ /* Interface */
#include "nfapi_nr_interface_scf.h" #include "nfapi_nr_interface_scf.h"
......
...@@ -61,7 +61,6 @@ ...@@ -61,7 +61,6 @@
#include "common/utils/LOG/vcd_signal_dumper.h" #include "common/utils/LOG/vcd_signal_dumper.h"
#include "targets/ARCH/COMMON/common_lib.h" #include "targets/ARCH/COMMON/common_lib.h"
#include "targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.h" #include "targets/ARCH/ETHERNET/USERSPACE/LIB/ethernet_lib.h"
//#include "PHY/TOOLS/time_meas.h"
/* these variables have to be defined before including ENB_APP/enb_paramdef.h */ /* these variables have to be defined before including ENB_APP/enb_paramdef.h */
static int DEFBANDS[] = {7}; static int DEFBANDS[] = {7};
......
...@@ -75,7 +75,6 @@ unsigned short config_frames[4] = {2,9,11,13}; ...@@ -75,7 +75,6 @@ unsigned short config_frames[4] = {2,9,11,13};
#include "common/utils/LOG/vcd_signal_dumper.h" #include "common/utils/LOG/vcd_signal_dumper.h"
#include "UTIL/OPT/opt.h" #include "UTIL/OPT/opt.h"
#include "enb_config.h" #include "enb_config.h"
//#include "PHY/TOOLS/time_meas.h"
#include "create_tasks.h" #include "create_tasks.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment