Reputation: 83
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
Upvotes: 2
Views: 181
Reputation: 34598
Use following command to get the size of executable.
size <executable file name>
size a.out
Upvotes: 2