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.
4
#include "
barretenberg/common/wasm_export.hpp
"
5
#include <cstddef>
6
7
WASM_IMPORT
(
"logstr"
) void
logstr
(
char
const*);
8
9
// Returns the peak RSS in bytes for the current process, or 0 on failure / unsupported platform.
10
std
::
size_t
peak_rss_bytes
();
logstr
WASM_EXPORT void logstr(char const *msg)
Definition
logstr.cpp:67
peak_rss_bytes
std::size_t peak_rss_bytes()
Definition
logstr.cpp:32
std
STL namespace.
wasm_export.hpp
WASM_IMPORT
#define WASM_IMPORT(name)
Definition
wasm_export.hpp:16
src
barretenberg
env
logstr.hpp
Generated by
1.9.8