LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::mc::gate_detail Namespace Reference

Functions

std::string machine_signature ()
 The reference's ctmc_machine_signature: arch | cores | platform.
std::string cache_file ()
 The reference's cache file, fullfile(tempdir, 'line_ctmc_calib_<lang>.json').
void profile_point (int g, double bytes_per_nz, std::size_t &n, double &bytes, double &secs)
 The reference's ctmc_profile_point: sparse LU of the (g^2 - 1)-state lattice generator, returning n, the fill-in bytes and the elapsed seconds.
bool fit_power_law (double x1, double y1, double x2, double y2, double &alpha, double &beta)
 The reference's ctmc_fit_power_law; false on a degenerate pair.
double now_posix ()

Function Documentation

◆ cache_file()

std::string line::mc::gate_detail::cache_file ( )
inline

The reference's cache file, fullfile(tempdir, 'line_ctmc_calib_<lang>.json').

Definition at line 139 of file ctmc_memory_gate.h.

References cache_file().

Referenced by cache_file(), and line::mc::ctmc_get_calibration().

◆ fit_power_law()

bool line::mc::gate_detail::fit_power_law ( double x1,
double y1,
double x2,
double y2,
double & alpha,
double & beta )
inline

The reference's ctmc_fit_power_law; false on a degenerate pair.

Definition at line 204 of file ctmc_memory_gate.h.

References fit_power_law().

Referenced by line::mc::ctmc_get_calibration(), and fit_power_law().

◆ machine_signature()

std::string line::mc::gate_detail::machine_signature ( )
inline

The reference's ctmc_machine_signature: arch | cores | platform.

Definition at line 115 of file ctmc_memory_gate.h.

References machine_signature().

Referenced by line::mc::ctmc_get_calibration(), and machine_signature().

◆ now_posix()

double line::mc::gate_detail::now_posix ( )
inline

Definition at line 212 of file ctmc_memory_gate.h.

References now_posix().

Referenced by line::mc::ctmc_get_calibration(), and now_posix().

◆ profile_point()

void line::mc::gate_detail::profile_point ( int g,
double bytes_per_nz,
std::size_t & n,
double & bytes,
double & secs )
inline

The reference's ctmc_profile_point: sparse LU of the (g^2 - 1)-state lattice generator, returning n, the fill-in bytes and the elapsed seconds.

The lattice is the 4-neighbour grid in column-major numbering, so its bandwidth is g and the no-pivot banded LU keeps every fill-in within the band; nnz(L) counts the unit diagonal, as MATLAB's lu does.

Definition at line 154 of file ctmc_memory_gate.h.

References profile_point().

Referenced by line::mc::ctmc_get_calibration(), and profile_point().