Programowanie w systemie UNIX/gprof: Różnice pomiędzy wersjami

Usunięta treść Dodana treść
m alternatywy
przykłąd
Linia 1:
Przykład <ref>[http://www.unix.com/programming/22316-gettting-statistics-profile-c-program-linux.html profile-c-program-linux]</ref>
<pre>
gcc -pg -Wall myfile.c -o ./myfile
# run myfile
./myfile
# generate the profile
gprof ./myfile
</pre>
 
 
* Opis <ref>[http://www.mateuszmidor.com/2011/03/profilowanie-pod-linuxem-wstep/ Profilowanie pod Linuxem. gcc + gprof by mateusz midor]</ref>