title: Is there a tool or compiler option for gcc that counts “lines of code compiled”?
body: <p>For comparing Linux kernel compile times it would be very helpful if there would be a number for (actually) compiled lines of code afterwards.
  Doing a 'cloc' to kernel source previously to compiling is only part of a solution, because this value would be equal for every kernel configuration, no matter if configured, for example, as 'tinyconfig' or 'allyesconfig' or 'localmodconfig'.</p>
  
  <p>Added request to gcc mailing list that might support this question<br>
  ( <a href="https://gcc.gnu.org/ml/gcc-help/2019-03/msg00057.html" rel="nofollow noreferrer">https://gcc.gnu.org/ml/gcc-help/2019-03/msg00057.html</a> )</p>
  
  <p>Edit (from comment below answer from Mike Kinghan 03/09/2019):<br>
  "This number should be a normalizing factor for comparing compile time for different versions of linux kernels for previous versions and coming years."</p>