summaryrefslogtreecommitdiff
path: root/src/buildtool/common/statistics.hpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-08-22 14:29:14 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-08-22 14:50:00 +0200
commit1e8066caaa711b9ab9f76b25873327779924fda6 (patch)
tree79aa761506424ca8f3debbe920a9af08422a5ef2 /src/buildtool/common/statistics.hpp
parent25e689a0b230169fd56b14596fbb9560015eb93a (diff)
downloadjustbuild-1e8066caaa711b9ab9f76b25873327779924fda6.tar.gz
Progress percentage: only count actual work
When reporting the percentage already completed, only report actions that were actually run. Cache hits are considered by reducing the overall work to be considered, i.e., by making the completed actions count more. In practice, however, most cache hits are discovered ayway till the first progress status is reported.
Diffstat (limited to 'src/buildtool/common/statistics.hpp')
0 files changed, 0 insertions, 0 deletions