ASM:Topology
From Wiki.cyring.fr
(Difference between revisions)
(→Prerequesites) |
(→Getting the Source Files) |
||
Line 8: | Line 8: | ||
==== Getting the Source Files ==== | ==== Getting the Source Files ==== | ||
In the repository, download the following files in a project directory, such as x2topology | In the repository, download the following files in a project directory, such as x2topology | ||
- | + | * [http://code.cyring.fr/FTS/Source/ASM/x2topology/x2topology.c|x2topology.c] | |
- | + | * [http://code.cyring.fr/FTS/Source/ASM/x2topology/x2topology.sh|x2topology.sh] | |
- | ''Optionaly'', the binary executable file : [http://code.cyring.fr/FTS/Source/ASM/x2topology/x2topology x2topology] | + | * ''Optionaly'', the binary executable file : [http://code.cyring.fr/FTS/Source/ASM/x2topology/x2topology x2topology] |
+ | |||
==== Build the Program ==== | ==== Build the Program ==== | ||
* Compile the C source file | * Compile the C source file |
Revision as of 09:44, 12 March 2014
Contents |
ACPI Extended Topology
Building the Program
Prerequesites
- The Linux Operating System.
- Any Linux package which provides the taskset command that allows the Processor affinity ; util-linux if running ArchLinux.
- The GNU gcc C compiler.
Getting the Source Files
In the repository, download the following files in a project directory, such as x2topology
- [1]
- [2]
- Optionaly, the binary executable file : x2topology
Build the Program
- Compile the C source file
gcc x2topology.c -o x2topology
- Give an executable permission to the downloaded Bash script
chmod +x x2topology.sh