PageRenderTime 50ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/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
  1. {
  2. gsub(/:/, " ");
  3. gctime += $(NF-1);
  4. totalTime = $1;
  5. }
  6. END {
  7. print "GC time: ", gctime, " Total Time ", totalTime, \
  8. " Percent ", gctime/totalTime * 100;
  9. }