mirror of
https://gitlab.eurecom.fr/oai/openairinterface5g.git
synced 2026-07-13 04:30:28 +00:00
- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
75 lines
3.9 KiB
C
75 lines
3.9 KiB
C
/*
|
|
* SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
|
*/
|
|
|
|
/*!
|
|
* \brief: definitions of macro used to initialize the telnet_ltemeasurdef_t
|
|
* \ strucures arrays which are then used by the display functions
|
|
* \ in telnetsrv_measurements.c.
|
|
*/
|
|
|
|
#ifndef __TELNETSRV_CPUMEASUR_DEF__H__
|
|
#define __TELNETSRV_CPUMEASUR_DEF__H__
|
|
|
|
#define CPU_PHYENB_MEASURE \
|
|
{ \
|
|
{"phy_proc_tx", &(phyvars->phy_proc_tx),0,1},\
|
|
{"phy_proc_rx", &(phyvars->phy_proc_rx),0,1},\
|
|
{"rx_prach", &(phyvars->rx_prach),0,1},\
|
|
{"ofdm_mod", &(phyvars->ofdm_mod_stats),0,1},\
|
|
{"dlsch_common_and_dci", &(phyvars->dlsch_common_and_dci),0,1},\
|
|
{"dlsch_ue_specific", &(phyvars->dlsch_ue_specific),0,1},\
|
|
{"dlsch_encoding", &(phyvars->dlsch_encoding_stats),0,1},\
|
|
{"dlsch_modulation", &(phyvars->dlsch_modulation_stats),0,1},\
|
|
{"dlsch_scrambling", &(phyvars->dlsch_scrambling_stats),0,1},\
|
|
{"dlsch_rate_matching", &(phyvars->dlsch_rate_matching_stats),0,1},\
|
|
{"dlsch_turbo_encod_prep", &(phyvars->dlsch_turbo_encoding_preperation_stats),0,1},\
|
|
{"dlsch_turbo_encod_segm", &(phyvars->dlsch_turbo_encoding_segmentation_stats),0,1},\
|
|
{"dlsch_turbo_encod", &(phyvars->dlsch_turbo_encoding_stats),0,1},\
|
|
{"dlsch_interleaving", &(phyvars->dlsch_interleaving_stats),0,1},\
|
|
{"rx_dft", &(phyvars->rx_dft_stats),0,1},\
|
|
{"ulsch_channel_estimation", &(phyvars->ulsch_channel_estimation_stats),0,1},\
|
|
{"ulsch_freq_offset_estimation", &(phyvars->ulsch_freq_offset_estimation_stats),0,1},\
|
|
{"ulsch_decoding", &(phyvars->ulsch_decoding_stats),0,1},\
|
|
{"ulsch_demodulation", &(phyvars->ulsch_demodulation_stats),0,1},\
|
|
{"ulsch_rate_unmatching", &(phyvars->ulsch_rate_unmatching_stats),0,1},\
|
|
{"ulsch_turbo_decoding", &(phyvars->ulsch_turbo_decoding_stats),0,1},\
|
|
{"ulsch_deinterleaving", &(phyvars->ulsch_deinterleaving_stats),0,1},\
|
|
{"ulsch_demultiplexing", &(phyvars->ulsch_demultiplexing_stats),0,1},\
|
|
{"ulsch_llr", &(phyvars->ulsch_llr_stats),0,1},\
|
|
{"ulsch_tc_init", &(phyvars->ulsch_tc_init_stats),0,1},\
|
|
{"ulsch_tc_alpha", &(phyvars->ulsch_tc_alpha_stats),0,1},\
|
|
{"ulsch_tc_beta", &(phyvars->ulsch_tc_beta_stats),0,1},\
|
|
{"ulsch_tc_gamma", &(phyvars->ulsch_tc_gamma_stats),0,1},\
|
|
{"ulsch_tc_ext", &(phyvars->ulsch_tc_ext_stats),0,1},\
|
|
{"ulsch_tc_intl1", &(phyvars->ulsch_tc_intl1_stats),0,1},\
|
|
{"ulsch_tc_intl2", &(phyvars->ulsch_tc_intl2_stats),0,1},\
|
|
}
|
|
|
|
#define CPU_MACENB_MEASURE \
|
|
{ \
|
|
{"eNB_scheduler", &(macvars->eNB_scheduler),0,1},\
|
|
{"schedule_si", &(macvars->schedule_si),0,1},\
|
|
{"schedule_ra", &(macvars->schedule_ra),0,1},\
|
|
{"schedule_ulsch", &(macvars->schedule_ulsch),0,1},\
|
|
{"fill_DLSCH_dci", &(macvars->fill_DLSCH_dci),0,1},\
|
|
{"schedule_dlsch_pre", &(macvars->schedule_dlsch_preprocessor),0,1},\
|
|
{"schedule_dlsch", &(macvars->schedule_dlsch),0,1},\
|
|
{"schedule_mch", &(macvars->schedule_mch),0,1},\
|
|
{"rx_ulsch_sdu", &(macvars->rx_ulsch_sdu),0,1},\
|
|
{"schedule_pch", &(macvars->schedule_pch),0,1},\
|
|
}
|
|
|
|
#define CPU_PDCPENB_MEASURE \
|
|
{ \
|
|
{"pdcp_run", &(pdcpvars->pdcp_run),0,1},\
|
|
{"data_req", &(pdcpvars->data_req),0,1},\
|
|
{"data_ind", &(pdcpvars->data_ind),0,1},\
|
|
{"apply_security", &(pdcpvars->apply_security),0,1},\
|
|
{"validate_security", &(pdcpvars->validate_security),0,1},\
|
|
{"pdcp_ip", &(pdcpvars->pdcp_ip),0,1},\
|
|
{"ip_pdcp", &(pdcpvars->ip_pdcp),0,1},\
|
|
}
|
|
|
|
#endif
|