diff options
| author | Doug Gilbert <dgilbert@us.ibm.com> | 2011-11-04 12:12:01 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-01-05 11:06:04 -0600 |
| commit | 7de0708eac63bb81786c2a5e794c5d6fbef069c4 (patch) | |
| tree | b47aeb4c9827851d61b44d5cb922704f73257693 /src/include/sys/misc.h | |
| parent | 048789fdce6b406de3b7149f8171afd63eea1829 (diff) | |
| download | talos-hostboot-7de0708eac63bb81786c2a5e794c5d6fbef069c4.tar.gz talos-hostboot-7de0708eac63bb81786c2a5e794c5d6fbef069c4.zip | |
Interrupt presenter implementation
Change-Id: If6b499d819b71298b8a64e096e1eb83c639ad645
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/517
Tested-by: Jenkins Server
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/sys/misc.h')
| -rw-r--r-- | src/include/sys/misc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/sys/misc.h b/src/include/sys/misc.h index f30a408ca..59b6c10bd 100644 --- a/src/include/sys/misc.h +++ b/src/include/sys/misc.h @@ -86,6 +86,12 @@ ProcessorCoreType cpu_core_type(); */ uint8_t cpu_dd_level(); +/** @fn cpu_thread_count() + * @breif Get the number of threads per cpu for this proctype + * @return # of threads per cpu + */ +size_t cpu_thread_count(); + #ifdef __cplusplus } #endif |

