Unix/Linux Go Back    

CentOS 7.0 - man page for hwloc_get_shared_cache_covering_obj (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

Cache-specific Finding Helpers(3)   Hardware Locality (hwloc)	Cache-specific Finding Helpers(3)

       Cache-specific Finding Helpers -

       static inline int hwloc_get_cache_type_depth (hwloc_topology_t topology, unsigned
	   cachelevel, hwloc_obj_cache_type_t cachetype)
       static inline hwloc_obj_t hwloc_get_cache_covering_cpuset (hwloc_topology_t topology,
	   hwloc_const_cpuset_t set)
       static inline hwloc_obj_t hwloc_get_shared_cache_covering_obj (hwloc_topology_t topology ,
	   hwloc_obj_t obj)

Detailed Description
Function Documentation
   static inline hwloc_obj_t hwloc_get_cache_covering_cpuset (hwloc_topology_ttopology,
       hwloc_const_cpuset_tset) [static]
       Get the first cache covering a cpuset set. Returns:
	   NULL if no cache matches.

	   This function cannot work if the root object does not have a CPU set, e.g. if the
	   topology is made of different machines.

   static inline int hwloc_get_cache_type_depth (hwloc_topology_ttopology, unsignedcachelevel,
       hwloc_obj_cache_type_tcachetype) [static]
       Find the depth of cache objects matching cache depth and type. Return the depth of the
       topology level that contains cache objects whose attributes match cachedepth and
       cachetype. This function intends to disambiguate the case where hwloc_get_type_depth()

       If no cache level matches, HWLOC_TYPE_DEPTH_UNKNOWN is returned.

       If cachetype is HWLOC_OBJ_CACHE_UNIFIED, the depth of the unique matching unified cache
       level is returned.

       If cachetype is HWLOC_OBJ_CACHE_DATA or HWLOC_OBJ_CACHE_INSTRUCTION, either a matching
       cache, or a unified cache is returned.

       If cachetype is -1, it is ignored and multiple levels may match. The function returns
       either the depth of a uniquely matching level or HWLOC_TYPE_DEPTH_MULTIPLE.

   static inline hwloc_obj_t hwloc_get_shared_cache_covering_obj (hwloc_topology_t topology,
       hwloc_obj_tobj) [static]
       Get the first cache shared between an object and somebody else. Returns:
	   NULL if no cache matches or if an invalid object is given.

       Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code.

Version 1.7				  Sun Apr 7 2013	Cache-specific Finding Helpers(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 10:06 PM.