FastMM documentation
FastMM C++ API 0.14.0
Public headers, tier 1 and tier 2
Loading...
Searching...
No Matches
fastmm::ShadowSection Struct Reference

Free-form section used by the sim / backtest libraries: dotted keys -> stringified value. More...

#include <fastmm/config/config.hpp>

Public Member Functions

bool configured () const noexcept
 

Public Attributes

bool enabled = false
 
int threads = 1
 
int window_s = 60
 
int settle_s = 10
 
int max_lag_s = 300
 
int nice = 10
 
int idle_exit_s = 3600
 
std::vector< int > cpus
 
std::string program
 empty: fastmm-shadow beside this program
 
std::string report
 empty: <journal_dir>/<name>.shadow.json
 
std::string status
 empty: /dev/shm/fastmm-<name>.shadow
 
std::vector< std::pair< std::string, std::vector< std::string > > > grid
 
std::vector< std::map< std::string, std::string > > points
 

Detailed Description

Free-form section used by the sim / backtest libraries: dotted keys -> stringified value.

[shadow]: fastmm-shadow's settings (backtest/shadow.hpp, docs/reference/configuration.md#shadow).

Member Function Documentation

◆ configured()

bool fastmm::ShadowSection::configured ( ) const
inlinenoexcept

Member Data Documentation

◆ enabled

bool fastmm::ShadowSection::enabled = false

◆ threads

int fastmm::ShadowSection::threads = 1

◆ window_s

int fastmm::ShadowSection::window_s = 60

◆ settle_s

int fastmm::ShadowSection::settle_s = 10

◆ max_lag_s

int fastmm::ShadowSection::max_lag_s = 300

◆ nice

int fastmm::ShadowSection::nice = 10

◆ idle_exit_s

int fastmm::ShadowSection::idle_exit_s = 3600

◆ cpus

std::vector<int> fastmm::ShadowSection::cpus

◆ program

std::string fastmm::ShadowSection::program

empty: fastmm-shadow beside this program

◆ report

std::string fastmm::ShadowSection::report

empty: <journal_dir>/<name>.shadow.json

◆ status

std::string fastmm::ShadowSection::status

empty: /dev/shm/fastmm-<name>.shadow

◆ grid

std::vector<std::pair<std::string, std::vector<std::string> > > fastmm::ShadowSection::grid

◆ points

std::vector<std::map<std::string, std::string> > fastmm::ShadowSection::points