• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

daisytuner / docc / 31164152690

07 Aug 2026 09:01AM UTC coverage: 65.116% (+0.1%) from 65.021%
31164152690

push

github

web-flow
Better compile stats that supported nested timings (#938)

* Switched out the per-pass/analysis type stats with a logger that measures itself and can summarize into a similar view as before, but also detail the nested runtimes of analysos etc.
* LoopFusionPass reports its fused counts to CompileStatistics

61 of 277 new or added lines in 9 files covered. (22.02%)

17 existing lines in 5 files now uncovered.

46354 of 71187 relevant lines covered (65.12%)

717.13 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

53.57
/sdfg/src/passes/pass.cpp
1
#include "sdfg/passes/pass.h"
2

3
#include <chrono>
4

5
#include "sdfg/helpers/helpers.h"
6
#include "sdfg/passes/statistics.h"
7

8
namespace sdfg {
9
namespace passes {
10

11
bool Pass::run(builder::SDFGBuilder& builder, bool create_report) {
×
NEW
12
    CompileStatistics::enter_pass_if_enabled(this->name());
×
13

14
    bool applied = this->run_pass(builder);
×
15

NEW
16
    CompileStatistics::exit_pass_if_enabled();
×
17

18
#ifndef NDEBUG
×
19
    builder.subject().validate();
×
20
#endif
×
21

22
    return applied;
×
23
};
×
24

25
bool Pass::run(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager, bool create_report) {
898✔
26
    CompileStatistics::enter_pass_if_enabled(this->name());
898✔
27

28
    bool applied = this->run_pass(builder, analysis_manager);
898✔
29
    this->invalidates(analysis_manager, applied);
898✔
30

31
    CompileStatistics::exit_pass_if_enabled();
898✔
32
#ifndef NDEBUG
898✔
33
    builder.subject().validate();
898✔
34
#endif
898✔
35

36
    return applied;
898✔
37
};
898✔
38

39
bool Pass::run_pass(builder::SDFGBuilder& builder) { throw std::logic_error("Not implemented"); };
×
40

41
bool Pass::run_pass(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager) {
×
42
    throw std::logic_error("Not implemented");
×
43
};
×
44

45
void Pass::invalidates(analysis::AnalysisManager& analysis_manager, bool applied) {
898✔
46
    if (applied) {
898✔
47
        analysis_manager.invalidate_all();
363✔
48
    }
363✔
49
};
898✔
50

51
} // namespace passes
52
} // namespace sdfg
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc