2

Is there a way to measure the following aspects when running an executable file (after compiling a c, c++ .... code) -Size of the used data and instruction caches in (KB), or as a percentage -Percentage of CPUs use

1 Answers1

2

Use following command to get the size of executable.

size <executable file name>
size a.out

enter image description here

msc
  • 33,420
  • 29
  • 119
  • 214