Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7956 Discussions

Code Coverage for FlexRAN SDK modules

Purnachandra
Beginner
1,528 Views

Dear All ,

How to Calculate code coverage for SDK modules in FlexRAN code base  by using Intel C++ compiler .

 

Some steps are followed from the below link.

 

https://software.intel.com/content/www/us/en/develop/documentation/cpp-compiler-developer-guide-and-reference/top/optimization-and-programming-guide/tools/pgo-tools/code-coverage-tool.html

 

Regards

 

0 Kudos
7 Replies
ShivaniK_Intel
Moderator
1,495 Views

Hi,

 

Thanks for reaching out to us.

 

>>Some steps are followed from the below link.

 

Do you face any issues in following the steps from the link you have mentioned? If yes, could you please elaborate on the issue you have been facing so that we can investigate more on it?

 

Could you please provide the version of OS & Intel oneAPI you have been using?

 

Thanks & Regards

Shivani

 

0 Kudos
Purnachandra
Beginner
1,490 Views

Hi Shivani,
We made changes in flexran code 21.03
vi build/nr5g/gnb/l1app/makefile_phy
+LD_FLAGS += -prof-gen:srcpos
+CC_FLAGS := -prof-gen:srcpos 
and recompile the l1 code and executed intel test cases with l1 & testmac but it is not penetarting to SDK folder. 
So problem statement is what is a way to check the code coverage .c files ?

Regards,
Purna

0 Kudos
ShivaniK_Intel
Moderator
1,405 Views

Hi,

 

Thanks for your patience. We are looking into your issue.

 

Meanwhile, could you please provide the version of OS & Intel oneAPI you have been using?

 

Could you please let us know from where you have downloaded flexran code 21.03?

 

Could you also provide the complete steps to reproduce the issue at our end?

 

Thanks & Regards

Shivani

 

0 Kudos
Purnachandra
Beginner
1,328 Views

Meanwhile, could you please provide the version of OS & Intel one API you have been using?

-- initializing oneAPI environment ...
-bash: BASH_VERSION = 4.2.46(2)-release
--centos-release-7-9.2009.1.el7.centos.x86_64

Could you please let us know from where you have downloaded flexran code 21.03?

- It is provided by Intel team

Could you also provide the complete steps to reproduce the issue at our end?
--Need to know the steps to get the codecov for SDK module. Please let me know if any steps are availble.

0 Kudos
ShivaniK_Intel
Moderator
1,253 Views

 Hi,

 

 Sorry for the delay in response.

 

 We have seen that this is a Duplicate of the @Viet_H_Intel thread. Has your issue been resolved with the solution provided by Viet?

 

Viet thread link:https://community.intel.com/t5/Intel-C-Compiler/Codecoverage-for-FlexRAN-V21-03-for-SDK/td-p/1322718?profile.language=pt


Thanks & Regards

Shivani



0 Kudos
ShivaniK_Intel
Moderator
1,203 Views

 Hi,

 

As we didn't hear back from you, could you please let us know whether your issue is resolved?

 

 Thanks & Regards

 Shivani


0 Kudos
ShivaniK_Intel
Moderator
1,128 Views

Hi,


I have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.


Thanks & Regards

Shivani


0 Kudos
Reply