Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
logstr.hpp
Go to the documentation of this file.
1// To be provided by the environment.
2// For a WASM build, this is provided by the JavaScript environment.
3// For a native build, this is provided in this module.
5#include <cstddef>
6
7WASM_IMPORT("logstr") void logstr(char const*);
8
9// Returns the peak RSS in bytes for the current process, or 0 on failure / unsupported platform.
10std::size_t peak_rss_bytes();
WASM_EXPORT void logstr(char const *msg)
Definition logstr.cpp:67
std::size_t peak_rss_bytes()
Definition logstr.cpp:32
STL namespace.
#define WASM_IMPORT(name)