OSDN Git Service

Subzero: Enhance the timer dump format.
authorJim Stichnoth <stichnot@chromium.org>
Tue, 14 Oct 2014 18:09:27 +0000 (11:09 -0700)
committerJim Stichnoth <stichnot@chromium.org>
Tue, 14 Oct 2014 18:09:27 +0000 (11:09 -0700)
commitabce6e568a7d72e9b82f767e866cc19dd851d476
treefc270fcaa5aa87af25a51f7e4c2a82d5d9c70606
parent4775255d4244c3425da0a7afd5f2c1ccb3a7dca9
Subzero: Enhance the timer dump format.

This adds update counts to the output, e.g.:

Total across all functions - Flat times:
    0.262297 (13.0%): [ 1287] linearScan
    0.243965 (12.1%): [ 1287] emit
...

This is useful to know when some passes are called once per function and others are called several times per function.

BUG= none
R=jvoung@chromium.org

Review URL: https://codereview.chromium.org/655563005
src/IceTimerTree.cpp
src/IceTimerTree.h