]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.nativemem/src/org/simantics/nativemem/ProcessMemoryInfo.java
Allow tab-separated columnized logging of memory use
[simantics/platform.git] / bundles / org.simantics.nativemem / src / org / simantics / nativemem / ProcessMemoryInfo.java
index fb7a17a6126d8f3717bddac84559b95b4d729619..29eabb07f1c7b6710ab63d595114cc631bce8a48 100644 (file)
@@ -19,6 +19,21 @@ package org.simantics.nativemem;
  */
 public interface ProcessMemoryInfo {
 
-    public String toHumanReadableString();
+    /**
+     * @return a non-structured human readable string representation of this instances contents
+     */
+    String toHumanReadableString();
+
+    /**
+     * @return tab-separated row of text containing N columns of explanatory
+     *         header text for writing a tab-separated "CSV" file
+     */
+    String headerRow();
+
+    /**
+     * @return tab-separated row of text containing N columns of data values
+     *         that match the explanations provided by {@link #headerRow()}
+     */
+    String dataRow();
 
 }
\ No newline at end of file