PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
Loading...
Searching...
No Matches
pineforge::detail::o1 Namespace Reference

Data Structures

class  RollbackOnly
 
struct  Shape
 
struct  Stats
 
class  Store
 
class  Tx
 
class  TxPoolExhausted
 
class  TxScope
 
class  UdtGraph
 
struct  UdtType
 

Typedefs

using Id = std::uint64_t
 

Enumerations

enum class  CleanupSkip {
  rollback_only ,
  failed
}
 

Variables

constexpr Id kNullId = UINT64_C(0)
 
constexpr std::uint32_t kMaxChunkBytes = 64u * 1024u
 
constexpr std::uint32_t kMaxResidentPages = 1024u
 
constexpr std::uint64_t kMaxLiveObjectsCap = UINT64_C(1024) * 1024
 
constexpr std::size_t kMaxTxHandles = 4
 
constexpr std::size_t kStoreReadCacheSlots = 8
 
constexpr std::size_t kStoreReadCacheBytes
 

Typedef Documentation

◆ Id

using pineforge::detail::o1::Id = std::uint64_t

Definition at line 49 of file o1_store.hpp.

Enumeration Type Documentation

◆ CleanupSkip

Enumerator
rollback_only 
failed 

Definition at line 92 of file o1_store.hpp.

Variable Documentation

◆ kNullId

◆ kMaxChunkBytes

std::uint32_t pineforge::detail::o1::kMaxChunkBytes = 64u * 1024u
inlineconstexpr

Definition at line 57 of file o1_store.hpp.

◆ kMaxResidentPages

std::uint32_t pineforge::detail::o1::kMaxResidentPages = 1024u
inlineconstexpr

Definition at line 58 of file o1_store.hpp.

◆ kMaxLiveObjectsCap

std::uint64_t pineforge::detail::o1::kMaxLiveObjectsCap = UINT64_C(1024) * 1024
inlineconstexpr

Definition at line 61 of file o1_store.hpp.

◆ kMaxTxHandles

std::size_t pineforge::detail::o1::kMaxTxHandles = 4
inlineconstexpr

Definition at line 68 of file o1_store.hpp.

Referenced by pineforge::detail::o1::Store::max_caller_handles().

◆ kStoreReadCacheSlots

std::size_t pineforge::detail::o1::kStoreReadCacheSlots = 8
inlineconstexpr

Definition at line 73 of file o1_store.hpp.

◆ kStoreReadCacheBytes

std::size_t pineforge::detail::o1::kStoreReadCacheBytes
inlineconstexpr
Initial value:
=
kStoreReadCacheSlots * (3 * sizeof(std::uint64_t) + 3 * sizeof(std::uint64_t))
constexpr std::size_t kStoreReadCacheSlots
Definition o1_store.hpp:73

Definition at line 74 of file o1_store.hpp.