/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to pcilib/cpu.h

  • Committer: Suren A. Chilingaryan
  • Date: 2016-03-02 04:47:04 UTC
  • Revision ID: csa@suren.me-20160302044704-wncsxtf6sx0r0tps
Documentation update

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
extern "C" {
6
6
#endif
7
7
 
 
8
/**
 
9
 * Return the mask of system memory page
 
10
 * @return      - page mask, the bits which will correspond to offset within the page are set to 1
 
11
 */
8
12
int pcilib_get_page_mask();
 
13
 
 
14
/**
 
15
 * Number of CPU cores in the system (including HyperThreading cores)
 
16
 * @return      - number of available CPU cores
 
17
 */
9
18
int pcilib_get_cpu_count();
 
19
 
 
20
/**
 
21
 * Returns the generation of Intel Core architecture 
 
22
 * Processors up to Intel Core gen4 are recognized. 
 
23
 * @return      - Generation of Intel Core architecture (1 to 4) or 0 for non-Intel and Intel pre-Core architectures
 
24
 */
10
25
int pcilib_get_cpu_gen();
11
26
 
12
27
#ifdef __cplusplus