Open MPI logo

Portable Hardware Locality (hwloc) Documentation: v1.1.2

  |   Home   |   Support   |   FAQ   |  

linux.h

Go to the documentation of this file.
00001 /*
00002  * Copyright © 2009 CNRS
00003  * Copyright © 2009-2010 INRIA
00004  * Copyright © 2009-2010 Université Bordeaux 1
00005  * See COPYING in top-level directory.
00006  */
00007 
00015 #ifndef HWLOC_LINUX_H
00016 #define HWLOC_LINUX_H
00017 
00018 #include <hwloc.h>
00019 #include <stdio.h>
00020 
00021 
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025 
00026 
00040  int hwloc_linux_parse_cpumap_file(FILE *file, hwloc_cpuset_t set);
00041 
00047  int hwloc_linux_set_tid_cpubind(hwloc_topology_t topology, pid_t tid, hwloc_const_cpuset_t set);
00048 
00054  int hwloc_linux_get_tid_cpubind(hwloc_topology_t topology, pid_t tid, hwloc_cpuset_t set);
00055 
00059 #ifdef __cplusplus
00060 } /* extern "C" */
00061 #endif
00062 
00063 
00064 #endif /* HWLOC_GLIBC_SCHED_H */