Skip to content

Commit e931555

Browse files
committed
remove obsolete members from ServerContext
1 parent 8d639fc commit e931555

File tree

2 files changed

+0
-23
lines changed

2 files changed

+0
-23
lines changed

vpr/src/base/vpr_context.h

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -578,12 +578,6 @@ class ServerContext : public Context {
578578
void set_crit_paths(const std::vector<tatum::TimingPath>& crit_paths) { crit_paths_ = crit_paths; }
579579
const std::vector<tatum::TimingPath>& crit_paths() const { return crit_paths_; }
580580

581-
void set_critical_path_num(int critical_path_num) { critical_path_num_ = critical_path_num; }
582-
int critical_path_num() const { return critical_path_num_; }
583-
584-
void set_path_type(const std::string& path_type) { path_type_ = path_type; }
585-
const std::string& path_type() const { return path_type_; }
586-
587581
void clear_crit_path_elements() { crit_path_element_indexes_.clear(); }
588582
void set_crit_path_elements(const std::map<std::size_t, std::set<std::size_t>>& crit_path_element_indexes) { crit_path_element_indexes_ = crit_path_element_indexes; }
589583
std::map<std::size_t, std::set<std::size_t>> crit_path_element_indexes() const { return crit_path_element_indexes_; }
@@ -610,22 +604,6 @@ class ServerContext : public Context {
610604
*/
611605
std::vector<tatum::TimingPath> crit_paths_;
612606

613-
/**
614-
* @brief Stores the number of critical paths items.
615-
*
616-
* This value is used to generate a critical path report with a certain number of items,
617-
* which will be sent back to the client upon request.
618-
*/
619-
int critical_path_num_ = 1;
620-
621-
/**
622-
* @brief Stores the critical path type.
623-
*
624-
* This value is used to generate a specific type of critical path report and send
625-
* it back to the client upon request.
626-
*/
627-
std::string path_type_ = "setup";
628-
629607
/**
630608
* @brief Stores the selected critical path elements.
631609
*

vpr/src/server/taskresolver.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ void TaskResolver::process_get_path_list_task(ezgl::application*, const TaskPtr&
103103

104104
// setup context
105105
server_ctx.set_path_type(path_type);
106-
server_ctx.set_critical_path_num(n_critical_path_num);
107106
server_ctx.set_crit_paths(crit_paths_result.paths);
108107

109108
if (crit_paths_result.is_valid()) {

0 commit comments

Comments
 (0)