Rudimentary Linux and MacOSX support for org.simantics.nativemem 52/452/3
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 21 Apr 2017 10:22:58 +0000 (13:22 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 21 Apr 2017 10:41:28 +0000 (13:41 +0300)
commit99f23679ed1b7c4a47cd841fa75be142225eb7aa
tree21d92a00d9433f674b5c888efb4a7443b9c7a137
parentdec69b85e6e2a6d89e7ff0ef9561178924ae4b5b
Rudimentary Linux and MacOSX support for org.simantics.nativemem

Linux now supports current and peak RSS and OSX only supports peak RSS
information.

Moved org.simantics.nativemem + JNA into a separate feature
org.simantics.nativemem.feature from org.simantics.utils.feature to not
force the dependency onto all products.

refs #7166

Change-Id: Id114659065097ecd45f8b40ff9d07e2df0b33db2
27 files changed:
bundles/org.simantics.nativemem/.classpath
bundles/org.simantics.nativemem/.settings/org.eclipse.jdt.core.prefs
bundles/org.simantics.nativemem/META-INF/MANIFEST.MF
bundles/org.simantics.nativemem/build.properties
bundles/org.simantics.nativemem/jna-4.2.1.jar [deleted file]
bundles/org.simantics.nativemem/jna-platform-4.2.1.jar [deleted file]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/NativeMem.java
bundles/org.simantics.nativemem/src/org/simantics/nativemem/ProcessMemoryInfo.java [new file with mode: 0644]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/Arch.java
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/CMemoryInfo.java [new file with mode: 0644]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/DummyProcessMemoryInfo.java [new file with mode: 0644]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/OS.java
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/Resource.java [new file with mode: 0644]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/Resource32.java [new file with mode: 0644]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/Resource64.java [new file with mode: 0644]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/Test.java
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/Util.java [new file with mode: 0644]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/linux/Stat.java [new file with mode: 0644]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/win/ProcessMemoryCounters.java [moved from bundles/org.simantics.nativemem/src/org/simantics/nativemem/ProcessMemoryCounters.java with 63% similarity]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/win/Psapi32.java [moved from bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/Psapi32.java with 76% similarity]
bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/win/Psapi64.java [moved from bundles/org.simantics.nativemem/src/org/simantics/nativemem/internal/Psapi64.java with 76% similarity]
features/org.simantics.nativemem.feature/.project [new file with mode: 0644]
features/org.simantics.nativemem.feature/build.properties [new file with mode: 0644]
features/org.simantics.nativemem.feature/feature.xml [new file with mode: 0644]
features/org.simantics.sdk.feature/feature.xml
features/org.simantics.utils.feature/feature.xml
features/pom.xml