Yasser Nezzari
Yasser Nezzari

Reputation: 83

Measure the size of data and instruction caches of an executable file

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

Answers (1)

msc
msc

Reputation: 34598

Use following command to get the size of executable.

size <executable file name>
size a.out

enter image description here

Upvotes: 2

Related Questions