mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-07 19:56:55 +02:00
util: Add method to get thread count from dispatch queue (#324)
I'm looking to try to have unified thread pool with OpenSTA and OpenROAD and having this method would make it easier to understand how much parallelism is available in the pool. Signed-off-by: Ethan Mahintorabi <[email protected]>
This commit is contained in:
@@ -24,6 +24,7 @@ public:
|
||||
DispatchQueue(size_t thread_cnt);
|
||||
~DispatchQueue();
|
||||
void setThreadCount(size_t thread_count);
|
||||
size_t getThreadCount() const;
|
||||
// Dispatch and copy.
|
||||
void dispatch(const fp_t& op);
|
||||
// Dispatch and move.
|
||||
|
||||
Reference in New Issue
Block a user