- Timestamp:
- 04/16/14 13:10:10 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 4a93980
- Parents:
- 0e98970
- git-author:
- Sebastian Huber <sebastian.huber@…> (04/16/14 13:10:10)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (04/17/14 06:06:38)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/user/smp.t
r0e98970 r6809383d 15 15 16 16 @itemize @bullet 17 @item @code{rtems_ smp_get_processor_count} - Obtain Number of CPUs17 @item @code{rtems_get_processor_count} - Get processor count 18 18 @item @code{rtems_task_get_affinity} - Obtain Task Affinity 19 19 @item @code{rtems_task_set_affinity} - Set Task Affinity … … 224 224 225 225 @c 226 @c rtems_ smp_get_processor_count226 @c rtems_get_processor_count 227 227 @c 228 228 @page 229 @subsection rtems_smp_get_processor_count - Obtain Number of CPUs229 @subsection GET_PROCESSOR_COUNT - Get processor count 230 230 231 231 @subheading CALLING SEQUENCE: … … 233 233 @ifset is-C 234 234 @example 235 #include <rtems.h> 236 237 int rtems_smp_get_processor_count(void); 235 uint32_t rtems_get_processor_count(void); 238 236 @end example 239 237 @end ifset … … 242 240 @end ifset 243 241 244 @subheading STATUS CODES:245 246 Returns the number of processors being utilized.242 @subheading DIRECTIVE STATUS CODES: 243 244 The count of processors in the system. 247 245 248 246 @subheading DESCRIPTION: 249 247 250 The @code{rtems_smp_get_processor_count} routine is used to obtain the 251 number of processor cores being utilized. 248 On uni-processor configurations a value of one will be returned. 249 250 On SMP configurations this returns the value of a global variable set during 251 system initialization to indicate the count of utilized processors. The 252 processor count depends on the physically or virtually available processors and 253 application configuration. The value will always be less than or equal to the 254 maximum count of application configured processors. 252 255 253 256 @subheading NOTES: 254 257 255 N ONE258 None. 256 259 257 260 @c
Note: See TracChangeset
for help on using the changeset viewer.