tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] First kcachegrind output


From: Christian Jullien
Subject: [Tinycc-devel] First kcachegrind output
Date: Mon, 18 Apr 2016 08:42:02 +0200

Hi,

 

I just had time to see how tcc behaves with callgrind (a valgrind tool) on Fedora.

 

1) Install required tools

$ sudo dnf install graphviz valgrind kcachegrind

 

2) run tcc on top of callgrind and collect results.

$ valgrind --tool=callgrind ./tcc -c -I include tccgen.c

 

3) See results using collected results.

kcachegrind callgrind.out.4055 &

 

This is the tool one should consider before trying to optimize tcc.

 

Enclosed is a PS export but you can get much more from kcachegrind!

 

Christian

Attachment: foo.ps
Description: PostScript document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]