gallivm: print out time for jitting functions with GALLIVM_DEBUG=perf
authorRoland Scheidegger <sroland@vmware.com>
Fri, 14 Oct 2016 03:37:34 +0000 (05:37 +0200)
committerRoland Scheidegger <sroland@vmware.com>
Tue, 18 Oct 2016 23:44:59 +0000 (01:44 +0200)
commitd1b4a3451e03e09966fa9700584e38baece8d3cd
tree9c086250d1cc2cda0384fd9b335de78ae906d6e0
parent6f2f0daeb49e132f44ca9bf930049470a39c970f
gallivm: print out time for jitting functions with GALLIVM_DEBUG=perf

Compilation to actual machine code can easily take as much time as the
optimization passes on the IR if not more, so print this out too.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/gallivm/lp_bld_init.c