The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.05 - 2010-12-21

  • added Sys::Hwloc::Obj->sprintf() as additional alias for hwloc_obj_sprintf() and Sys::Hwloc::Topology->sprintf_obj()
  • added Sys::Hwloc::hwloc_compare_objects with aliases Sys::Hwloc::Topology->compare_objects and Sys::Hwloc::Obj->is_same_obj to compare the raw C pointer values
  • added constant HWLOC_XSAPI_VERSION (returns 0 where HWLOC_API_VERSION returns undef)
  • implemented Cpuset and Bitmap API with some basic helpers and handy functions that are not part of the hwloc C API
  • destructors $topology->destroy, $cpuset->free, $bitmap->free set the unlerlying C pointer to NULL after freeing the C struct. This helps to circumvent double-free and SIGSEGV. We should implement a DESTROY some day. This needs the perl objects to be proxies that store the C pointer in some hidden property, instead of being simple T_PTROBJ.
  • added PODs for Sys::Hwloc::Topology, Sys::Hwloc::Obj, Sys::Hwloc::Cpuset, Sys::Hwloc::Bitmap
  • added the "Artistic License 2.0" to LICENSE

Documentation

Class representing a hwloc bitmap object
Class representing a hwloc cpuset object
Class representing a hwloc topology object
Class representing a hwloc topology context

Modules

Perl Access to Portable Hardware Locality (hwloc)