mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-30 15:41:12 +00:00
print the number of performed optimizations after compiling
This commit is contained in:
parent
17029ba695
commit
0983125d2d
1 changed files with 8 additions and 0 deletions
8
main.c
8
main.c
|
@ -686,6 +686,14 @@ srcdone:
|
|||
|
||||
/* stuff */
|
||||
|
||||
if (!opts_pp_only) {
|
||||
for (itr = 0; itr < COUNT_OPTIMIZATIONS; ++itr) {
|
||||
if (optimization_count[itr]) {
|
||||
con_out("%s: %u\n", opts_opt_list[itr].name, (unsigned int)optimization_count[itr]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
cleanup:
|
||||
util_debug("COM", "cleaning ...\n");
|
||||
ftepp_finish();
|
||||
|
|
Loading…
Reference in a new issue