|
PineForge unreleased
Deterministic PineScript v6 backtest runtime — C ABI reference
|
#include <series.hpp>
Public Member Functions | |
| WindowValues (WindowCacheCapacity capacity=window_cache_capacity()) | |
| WindowValues (std::size_t size, T initial, WindowCacheCapacity capacity=window_cache_capacity()) | |
| WindowValues (const WindowValues &other) | |
| WindowValues & | operator= (const WindowValues &other) |
| WindowValues (WindowValues &&other) noexcept(std::is_nothrow_move_constructible_v< T >) | |
| WindowValues & | operator= (WindowValues &&other) noexcept(std::is_nothrow_move_assignable_v< T >) |
| void | reset (std::size_t size, T initial) |
| T | read (std::size_t index) const |
| void | write (std::size_t index, T value) |
| void | retire_page (std::size_t page) |
| std::size_t | size () const |
| WindowCacheCapacity | cache_capacity () const |
| ReadThroughCachePolicy | read_cache_policy () const noexcept |
| ReadThroughCacheStats | read_cache_stats () const noexcept |
| WindowCacheStats | cache_stats () const |
Static Public Attributes | |
| static constexpr std::size_t | kChunk = 1024 |
Definition at line 65 of file series.hpp.
|
inlineexplicit |
Definition at line 69 of file series.hpp.
Referenced by operator=(), operator=(), WindowValues(), and WindowValues().
|
inline |
Definition at line 71 of file series.hpp.
|
inline |
Definition at line 74 of file series.hpp.
References WindowValues().
|
inlinenoexcept |
Definition at line 84 of file series.hpp.
References WindowValues().
|
inline |
Definition at line 77 of file series.hpp.
References WindowValues().
|
inlinenoexcept |
Definition at line 91 of file series.hpp.
References WindowValues().
|
inline |
Definition at line 111 of file series.hpp.
References pineforge::scratch_capacity_exceeded, and size().
Referenced by pineforge::DynamicRingBuffer< T >::resize(), and WindowValues().
|
inline |
Definition at line 127 of file series.hpp.
References kChunk, and pineforge::detail::status.
|
inline |
Definition at line 146 of file series.hpp.
References kChunk, and pineforge::detail::value.
Referenced by pineforge::DynamicRingBuffer< T >::resize().
|
inline |
Definition at line 167 of file series.hpp.
|
inline |
Definition at line 172 of file series.hpp.
Referenced by reset(), and WindowValues().
|
inline |
Definition at line 173 of file series.hpp.
|
inlinenoexcept |
Definition at line 174 of file series.hpp.
References pineforge::detail::direct_mapped, kChunk, pineforge::detail::ReadThroughCache::line_bytes(), pineforge::detail::requested, and pineforge::detail::write_through.
|
inlinenoexcept |
Definition at line 184 of file series.hpp.
Referenced by cache_stats().
|
inline |
Definition at line 187 of file series.hpp.
References kChunk, and read_cache_stats().
|
staticconstexpr |
Definition at line 67 of file series.hpp.
Referenced by cache_stats(), read(), read_cache_policy(), and write().