Changeset a1099278 for src/Common


Ignore:
Timestamp:
Feb 28, 2019, 3:24:03 PM (6 years ago)
Author:
tdelisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
be30a90
Parents:
c9e640e
Message:

Fix printing of empty counters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/Stats/Counter.cc

    rc9e640e ra1099278  
    3535
    3636                void print() {
     37                        if(!BaseCounter::top.head) return;
    3738                        size_t nc = 0;
    3839                        ForAllCounters(BaseCounter::top, 0, [&](BaseCounter * node, size_t level) {
Note: See TracChangeset for help on using the changeset viewer.