/tags/Sphinx4-1.0beta6/scripts/gc_sum.awk
AWK | 11 lines | 9 code | 2 blank | 0 comment | 0 complexity | afd868fdcf7da8f9fe0a59a37e2fd667 MD5 | raw file
Possible License(s): Apache-2.0, CC-BY-SA-3.0, BSD-3-Clause, LGPL-2.0, BSD-3-Clause-No-Nuclear-License-2014
- {
- gsub(/:/, " ");
- gctime += $(NF-1);
- totalTime = $1;
- }
- END {
- print "GC time: ", gctime, " Total Time ", totalTime, \
- " Percent ", gctime/totalTime * 100;
- }