summaryrefslogtreecommitdiff
path: root/memory_replay/NativeInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'memory_replay/NativeInfo.h')
-rw-r--r--memory_replay/NativeInfo.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/memory_replay/NativeInfo.h b/memory_replay/NativeInfo.h
index c91eec29..59536954 100644
--- a/memory_replay/NativeInfo.h
+++ b/memory_replay/NativeInfo.h
@@ -14,14 +14,13 @@
* limitations under the License.
*/
-#pragma once
+#ifndef _MEMORY_REPLAY_NATIVE_INFO_H
+#define _MEMORY_REPLAY_NATIVE_INFO_H
-void NativeGetInfo(int smaps_fd, size_t* rss_bytes, size_t* va_bytes);
+// This function is not re-entrant.
+void GetNativeInfo(int smaps_fd, size_t* pss_bytes, size_t* va_bytes);
-void NativePrintInfo(const char* preamble);
+// This function is not re-entrant.
+void PrintNativeInfo(const char* preamble);
-// Does not support any floating point specifiers.
-void NativePrintf(const char* fmt, ...) __printflike(1, 2);
-
-// Fill buffer as if %0.2f was chosen for value / divisor.
-void NativeFormatFloat(char* buffer, size_t buffer_len, uint64_t value, uint64_t divisor);
+#endif // _MEMORY_REPLAY_NATIVE_INFO_H