Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
utilities.hpp File Reference

Common utilities for IPC shared memory implementation. More...

#include <cstdint>
#include <time.h>

Go to the source code of this file.

Namespaces

namespace  bb
 Entry point for Barretenberg command-line interface.
 
namespace  bb::ipc
 

Macros

#define IPC_PAUSE()
 

Functions

uint64_t bb::ipc::mono_ns_now ()
 Get current monotonic time in nanoseconds.
 

Detailed Description

Common utilities for IPC shared memory implementation.

Provides timing and CPU pause utilities for spin-wait loops.

Definition in file utilities.hpp.

Macro Definition Documentation

◆ IPC_PAUSE

#define IPC_PAUSE ( )
Value:
do { \
} while (0)

Definition at line 16 of file utilities.hpp.