HomePhabricator

[DebugCounters] Keep track of total counts

Description

[DebugCounters] Keep track of total counts

This patch makes debug counters keep track of the total number of times
we've called shouldExecute for each counter, so it's easier to build
automated tooling on top of these.

A patch to print these counts is coming soon.

Patch by Zhizhou Yang!

Differential Revision: https://reviews.llvm.org/D49560

Details

Committed
gbivJul 23 2018, 2:49 PM
Differential Revision
D49560: Add support to track total counts for DebugCounter
Parents
rL337747: [gdb] Fix SmallVector pretty printer after r337514
Branches
Unknown
Tags
Unknown