[lib] syntax
This commit is contained in:
parent
6c5988575c
commit
3ddaefc2a2
|
@ -636,7 +636,7 @@ bool ClockNetwork::validate_tree() const {
|
||||||
|
|
||||||
bool ClockNetwork::validate() const {
|
bool ClockNetwork::validate() const {
|
||||||
is_dirty_ = true;
|
is_dirty_ = true;
|
||||||
if (default_segment_id_ && default_switch_id_ && validate_tree()) {
|
if (default_segment_id_ && default_tap_switch_id_ && default_driver_switch_id_ && validate_tree()) {
|
||||||
is_dirty_ = false;
|
is_dirty_ = false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -73,8 +73,10 @@ class ClockNetwork {
|
||||||
* information from RRGraph */
|
* information from RRGraph */
|
||||||
RRSegmentId default_segment() const;
|
RRSegmentId default_segment() const;
|
||||||
std::string default_segment_name() const;
|
std::string default_segment_name() const;
|
||||||
RRSwitchId default_switch() const;
|
RRSwitchId default_tap_switch() const;
|
||||||
std::string default_switch_name() const;
|
std::string default_tap_switch_name() const;
|
||||||
|
RRSwitchId default_driver_switch() const;
|
||||||
|
std::string default_driver_switch_name() const;
|
||||||
std::string tree_name(const ClockTreeId& tree_id) const;
|
std::string tree_name(const ClockTreeId& tree_id) const;
|
||||||
size_t tree_width(const ClockTreeId& tree_id) const;
|
size_t tree_width(const ClockTreeId& tree_id) const;
|
||||||
size_t tree_depth(const ClockTreeId& tree_id) const;
|
size_t tree_depth(const ClockTreeId& tree_id) const;
|
||||||
|
|
Loading…
Reference in New Issue