Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add get_num_localities and get_num_threads to AGAS API #587

hkaiser opened this issue Oct 26, 2012 · 2 comments


None yet
2 participants
Copy link

commented Oct 26, 2012

We need a way to efficiently find out about the number of connected localities and the number of threads running on each of those. The AGAS service seems to be the best spot to add this functionality.


This comment has been minimized.

Copy link
Member Author

commented Oct 27, 2012

I will add 4 new APIs:

boost::uint32_t get_num_localities();
boost::uint32_t get_num_localities(component_type);

boost::uint32_t get_num_overall_threads();
std::vector<boost::uint32_t> get_num_threads();

Further, I will change the register_locality() API to take the number of OS-threads for the locality which should be registered.

@ghost ghost assigned hkaiser Oct 27, 2012

@hkaiser hkaiser closed this in f001132 Oct 27, 2012


This comment has been minimized.

Copy link

commented Oct 31, 2012

I can't find the get_num_threads function, can you please point me to it?

@sithhell sithhell reopened this Oct 31, 2012

@hkaiser hkaiser closed this in d9bf4c5 Nov 3, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.