aboutsummaryrefslogtreecommitdiffstats
path: root/common/timing.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/timing.h')
-rw-r--r--common/timing.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/common/timing.h b/common/timing.h
index 6928b11f..b7880667 100644
--- a/common/timing.h
+++ b/common/timing.h
@@ -127,6 +127,10 @@ struct TimingAnalyser
public:
TimingAnalyser(Context *ctx) : ctx(ctx){};
void setup();
+ void run();
+ void print_report();
+
+ float get_criticality(CellPortKey port) const { return ports.at(port).worst_crit; }
bool setup_only = false;
@@ -146,8 +150,6 @@ struct TimingAnalyser
void compute_criticality();
void print_fmax();
- void print_report();
-
// get the N most failing endpoints for a given domain pair
std::vector<CellPortKey> get_failing_eps(domain_id_t domain_pair, int count);
// print the critical path for an endpoint and domain pair