Code metrics for individual .c files

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Code metrics for individual .c files

跳至解决方案
2,878 次查看
harsha_jakkamkr
Contributor II

Hi,

I was seeking if it is possible to extract code metrics for individual files for the MPC5777C C code. I have come across the utility "NXP\S32DS_Power_v2017.R1\Cross_Tools\powerpc-eabivle-4_9\bin\ powerpc-eabivle-size.exe" which provides the details as below:

text  

 data  

  bss

    dec 

   hex

filename

6036  

   40 

  1120 

  7196 

  1c1c

my_exe.elf

Is there a utility that can provide code metrics for individual source files?

Regards,

Harsha

1 解答
2,697 次查看
BlackNight
NXP Employee
NXP Employee
3 回复数
2,698 次查看
BlackNight
NXP Employee
NXP Employee
2,697 次查看
harsha_jakkamkr
Contributor II

Thanks BlackNight, I would go through the link more thoroughly. Just wanted to know if the information available in the link also works for the S32 design studio IDE for PowerPC architecture.

Thanks,

Harsha

0 项奖励
回复
2,697 次查看
BlackNight
NXP Employee
NXP Employee

Yes, this is for the GNU tools, so applicable to anything using GNU tools, including the S32 DS.