summaryrefslogtreecommitdiffstats
path: root/src/metrics.h
Commit message (Collapse)AuthorAgeFilesLines
* fix all "class" -> "struct"Evan Martin2012-12-291-3/+5
|
* Add missing 'virtual' annotation to ReadFile() override.Thiago Farina2012-10-171-5/+2
| | | | Signed-off-by: Thiago Farina <tfarina@chromium.org>
* Change rate measurement code.Nico Weber2012-09-141-5/+4
| | | | | | | | | | | For %o, remove a superfluous + 0.5: snprintf("%f") rounds already. Remove some unnecessary code. For %c, fix a TODO to add a sliding window and update after every completed edge. Else, with -j50 and several files that take 3s to compile each, this number would only update every 150s. Also give the number one decimal place so that this can measure steps slower than 1s.
* fix error and prevent warning in GetTimeMillis()Claus Klein2012-07-271-1/+1
|
* print edges per secondPeter Kuemmel2012-07-151-0/+25
| | | | | | | | | | | prints the rate of finished edges per second to the console, for instance with NINJA_STATUS="[%s/%t %o(%c)/s] ": [132/1922 16.1(14)/s] 16.1 is the average for all processed files (here 132 since start) 14 is the average of the last n files while n is the number specifies by -j (or its default)
* Header guards were missing from some header files.Jonathan Sternberg2012-05-301-0/+5
|
* add a '-d stats' flag for detailed timingsEvan Martin2012-01-051-0/+64
1) Add a system for recording detailed timing info of functions. 2) Add a -d flag for requesting debug info at runtime, with the above as the first user.