equal
deleted
inserted
replaced
27 // The purpose of this code is to dynamically load the libperfstat library |
27 // The purpose of this code is to dynamically load the libperfstat library |
28 // instead of statically linking against it. The libperfstat library is an |
28 // instead of statically linking against it. The libperfstat library is an |
29 // AIX-specific library which only exists on AIX, not on PASE. If I want to |
29 // AIX-specific library which only exists on AIX, not on PASE. If I want to |
30 // share binaries between AIX and PASE, I cannot directly link against libperfstat.so. |
30 // share binaries between AIX and PASE, I cannot directly link against libperfstat.so. |
31 |
31 |
32 #ifndef OS_AIX_VM_LIBPERFSTAT_AIX_HPP |
32 #ifndef OS_AIX_LIBPERFSTAT_AIX_HPP |
33 #define OS_AIX_VM_LIBPERFSTAT_AIX_HPP |
33 #define OS_AIX_LIBPERFSTAT_AIX_HPP |
34 |
34 |
35 #include <sys/types.h> |
35 #include <sys/types.h> |
36 #include <stdlib.h> |
36 #include <stdlib.h> |
37 |
37 |
38 /////////////////////////////////////////////////////////////////////////////////////////////// |
38 /////////////////////////////////////////////////////////////////////////////////////////////// |
964 static bool get_partitioninfo(partitioninfo_t* ppi); |
964 static bool get_partitioninfo(partitioninfo_t* ppi); |
965 static bool get_cpuinfo(cpuinfo_t* pci); |
965 static bool get_cpuinfo(cpuinfo_t* pci); |
966 static bool get_wparinfo(wparinfo_t* pwi); |
966 static bool get_wparinfo(wparinfo_t* pwi); |
967 }; |
967 }; |
968 |
968 |
969 #endif // OS_AIX_VM_LIBPERFSTAT_AIX_HPP |
969 #endif // OS_AIX_LIBPERFSTAT_AIX_HPP |