|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
#include <emmc_log.h>
Public Attributes | |
| emmc_port_t | port |
| void * | context |
| emmc_log_config_t | config |
| emmc_log_chunk_t * | chunks |
| uint8_t | chunk_count |
| uint8_t * | scratch |
| bool | recording |
| uint32_t | arm_index |
| bool | has_fill |
| uint8_t | fill_chunk |
| uint8_t | fill_block |
| uint16_t | fill_offset |
| bool | fill_aged |
| uint32_t | fill_started_ms |
| uint32_t | unreported_drops |
| emmc_chunk_state_t | chunk_state [EMMC_LOG_MAX_CHUNKS] |
| uint32_t | chunk_arm [EMMC_LOG_MAX_CHUNKS] |
| uint8_t | write_chunk |
| uint8_t | write_tries |
| emmc_disk_state_t | disk |
| uint32_t | capacity |
| uint32_t | epoch |
| uint32_t | head |
| uint32_t | base_session |
| emmc_log_stats_t | stats |
Definition at line 114 of file emmc_log.h.
| uint32_t emmc_log_t::arm_index |
Definition at line 125 of file emmc_log.h.
Referenced by acquire(), and emmc_log_on_state().
| uint32_t emmc_log_t::base_session |
Definition at line 143 of file emmc_log.h.
Referenced by emmc_log_service(), and mount().
| uint32_t emmc_log_t::capacity |
Definition at line 140 of file emmc_log.h.
Referenced by emmc_log_service(), format(), mount(), feedtwin.engine.card.InjectorCard::pressure_drop(), and feedtwin.engine.card.InjectorCard::to_dict().
| uint32_t emmc_log_t::chunk_arm[EMMC_LOG_MAX_CHUNKS] |
Definition at line 134 of file emmc_log.h.
Referenced by acquire(), and emmc_log_service().
| uint8_t emmc_log_t::chunk_count |
Definition at line 120 of file emmc_log.h.
Referenced by chunk_complete(), emmc_log_backlog(), emmc_log_init(), and release_write_chunk().
| emmc_chunk_state_t emmc_log_t::chunk_state[EMMC_LOG_MAX_CHUNKS] |
Definition at line 133 of file emmc_log.h.
Referenced by acquire(), chunk_complete(), emmc_log_backlog(), emmc_log_service(), and release_write_chunk().
| emmc_log_chunk_t* emmc_log_t::chunks |
Definition at line 119 of file emmc_log.h.
Referenced by acquire(), block_at(), emmc_log_init(), and emmc_log_service().
| emmc_log_config_t emmc_log_t::config |
Definition at line 118 of file emmc_log.h.
Referenced by engine.layerx.card.EngineSampler::__call__(), engine.core.chamber_solver.ChamberSolver::_accel_chamber_pc(), engine.pipeline.time_varying_solver.TimeVaryingCoupledSolver::_advance_walls(), combined_gui.ConfigManager::_backfill_role_names(), solenoid_characterization_gui.ConfigManager::_backfill_role_names(), engine.pipeline.cea_cache.CEACache::_build_cache(), engine.pipeline.cea_cache.CEACache::_build_cache_parallel(), engine.pipeline.cea_cache.CEACache::_build_cache_sequential(), engine.pipeline.time_varying_solver.TimeVaryingCoupledSolver::_build_walls(), calibration_robustness.BackupManager::_cleanup_old_backups(), engine.core.chamber_solver.ChamberSolver::_compute_cooling_efficiency(), engine.core.chamber_solver.ChamberSolver::_evaluate_cooling_models(), engine.core.runner.PintleEngineRunner::_evaluate_internal(), engine.core.chamber_solver.ChamberSolver::_fluid_props(), engine.pipeline.time_varying_solver.TimeVaryingCoupledSolver::_geometry(), engine.core.runner.PintleEngineRunner::_get_ambient_pressure(), engine.core.chamber_solver.ChamberSolver::_get_chamber_geometry(), engine.core.runner.PintleEngineRunner::_get_elevation(), engine.core.chamber_solver.ChamberSolver::_get_fuel_props(), engine.pipeline.time_varying_solver.TimeVaryingCoupledSolver::_graphite_layers(), engine.core.chamber_solver.ChamberSolver::_infer_injector_diameter(), engine.pipeline.time_varying_solver.TimeVaryingCoupledSolver::_insert_backing(), engine.core.chamber_solver.ChamberSolver::_liner_end(), engine.pipeline.time_varying_solver.TimeVaryingCoupledSolver::_liner_layers(), engine.pipeline.cea_cache.CEACache::_load_cache(), engine.core.chamber_solver.ChamberSolver::_raise_supply_exceeds_demand(), engine.core.chamber_solver.ChamberSolver::_rupe_R_opt(), engine.pipeline.cea_cache.CEACache::_save_cache(), engine.pipeline.time_varying_solver.TimeVaryingCoupledSolver::_station_loads(), engine.core.chamber_solver.ChamberSolver::_wall_contour(), engine.pipeline.time_varying_solver.TimeVaryingCoupledSolver::_wall_report(), engine.pipeline.cea_cache.CEACache::aux(), calibration_robustness.BackupManager::backup_calibration_state(), engine.pipeline.system_diagnostics.SystemDiagnostics::diagnose_all(), emmc_log_init(), emmc_log_service(), engine.pipeline.cea_cache.CEACache::eval(), engine.pipeline.cea_cache.CEACache::eval_cf_vac(), format(), combined_gui.ConfigManager::get_actuator_abbrev_to_role(), combined_fsw_gui.ConfigManager::get_actuator_label(), combined_gui.ConfigManager::get_actuator_label(), solenoid_characterization_gui.ConfigManager::get_actuator_label(), combined_gui.ConfigManager::get_actuator_role(), solenoid_characterization_gui.ConfigManager::get_actuator_role(), combined_gui.ConfigManager::get_actuator_role_names(), solenoid_characterization_gui.ConfigManager::get_actuator_role_names(), combined_gui.ConfigManager::get_actuator_type(), combined_gui.ConfigManager::get_actuator_type_by_id(), solenoid_characterization_gui.ConfigManager::get_actuator_type_by_id(), combined_gui.ConfigManager::get_num_actuators(), solenoid_characterization_gui.ConfigManager::get_num_actuators(), combined_gui.ConfigManager::get_num_connectors(), solenoid_characterization_gui.ConfigManager::get_num_connectors(), combined_gui.ConfigManager::get_pt_calibration_csv_paths(), solenoid_characterization_gui.ConfigManager::get_pt_calibration_csv_paths(), combined_fsw_gui.ConfigManager::get_sensor_label(), combined_gui.ConfigManager::get_sensor_label(), solenoid_characterization_gui.ConfigManager::get_sensor_label(), combined_gui.ConfigManager::get_sensor_role(), combined_gui.ConfigManager::get_sensor_role_names(), solenoid_characterization_gui.ConfigManager::get_sensor_role_names(), combined_gui.ConfigManager::get_state_machine_csv_path(), combined_gui.ConfigManager::get_state_transitions_csv_path(), backend.state.AppState::has_config(), calibration_robustness.HealthMonitor::is_healthy(), engine.pipeline.time_varying_solver.TimeVaryingCoupledSolver::liner_end(), combined_fsw_gui.ConfigManager::load(), combined_gui.ConfigManager::load(), solenoid_characterization_gui.ConfigManager::load(), mount(), probe(), engine.core.chamber_solver.ChamberSolver::residual(), combined_fsw_gui.ConfigManager::save(), combined_gui.ConfigManager::save(), solenoid_characterization_gui.ConfigManager::save(), combined_fsw_gui.ConfigManager::set_actuator_label(), combined_gui.ConfigManager::set_actuator_role(), backend.state.AppState::set_config(), combined_fsw_gui.ConfigManager::set_sensor_label(), combined_gui.ConfigManager::set_sensor_role(), calibration_robustness.BackupManager::should_backup(), backend.state.AppState::snapshot(), engine.core.chamber_solver.ChamberSolver::solve(), engine.pipeline.time_varying_solver.TimeVaryingCoupledSolver::solve_time_step(), board_simulator.SimulatedBoard::start(), test_robust_ddp_constraints.TestConstraints::test_all_constraints_safe(), test_robust_ddp_engine_wrapper.TestEngineWrapper::test_cache_stats(), test_robust_ddp_engine_wrapper.TestEngineWrapper::test_caching(), test_robust_ddp_engine_wrapper.TestEngineWrapper::test_clear_cache(), test_robust_ddp_constraints.TestConstraints::test_constraint_summary(), test_robust_ddp_engine_wrapper.TestEngineWrapper::test_convenience_function(), test_robust_ddp_constraints.TestConstraints::test_copv_minimum_constraint(), test_robust_ddp_constraints.TestConstraints::test_edge_cases(), test_robust_ddp_engine_wrapper.TestEngineWrapper::test_estimate_error_handling(), test_robust_ddp_engine_wrapper.TestEngineWrapper::test_estimate_from_pressures_mock(), test_robust_ddp_engine_wrapper.TestEngineWrapper::test_estimate_without_stability(), test_robust_ddp_constraints.TestConstraints::test_headroom_constraints(), test_robust_ddp_constraints.TestConstraints::test_injector_stiffness_constraints(), test_robust_ddp_constraints.TestConstraints::test_mixture_ratio_constraints(), test_robust_ddp_robustness.TestRobustness::test_multiple_updates_convergence(), test_robust_ddp_constraints.TestConstraints::test_multiple_violations(), test_robust_ddp_constraints.TestConstraints::test_nan_handling(), test_robust_ddp_dynamics.TestDynamics::test_regulator_behavior(), test_robust_ddp_robustness.TestRobustness::test_tube_propagate_basic(), test_robust_ddp_robustness.TestRobustness::test_tube_propagate_validation(), test_robust_ddp_robustness.TestRobustness::test_tube_propagate_widens(), test_robust_ddp_robustness.TestRobustness::test_tube_propagate_with_large_w_bar(), test_robust_ddp_constraints.TestConstraints::test_ullage_maximum_constraints(), test_robust_ddp_robustness.TestRobustness::test_update_bounds_basic(), test_robust_ddp_robustness.TestRobustness::test_update_bounds_beta(), test_robust_ddp_robustness.TestRobustness::test_update_bounds_ema_behavior(), test_robust_ddp_robustness.TestRobustness::test_update_bounds_inflation(), test_robust_ddp_robustness.TestRobustness::test_update_bounds_requires_mass_flow(), test_robust_ddp_robustness.TestRobustness::test_update_bounds_residual_spike(), test_robust_ddp_robustness.TestRobustness::test_update_bounds_with_engine_wrapper(), test_robust_ddp_engine_wrapper.TestEngineWrapper::test_wrapper_initialization(), calibration_robustness.CalibrationValidator::validate_calibration_coefficients(), calibration_robustness.CalibrationValidator::validate_consensus_state(), calibration_robustness.CalibrationValidator::validate_covariance_matrix(), calibration_robustness.CalibrationValidator::validate_pressure(), calibration_robustness.CalibrationValidator::validate_uncertainty(), and calibration_robustness.CalibrationValidator::validate_voltage().
| void* emmc_log_t::context |
Definition at line 117 of file emmc_log.h.
Referenced by emmc_log_init(), emmc_log_service(), format(), lock(), mount(), probe(), and unlock().
| emmc_disk_state_t emmc_log_t::disk |
Definition at line 139 of file emmc_log.h.
Referenced by check_emmc_stall(), emmc_log_init(), emmc_log_on_state(), emmc_log_service(), mount(), stop(), test_full(), test_no_io_before_arm(), test_start_failure(), and test_write_retry().
| uint32_t emmc_log_t::epoch |
Definition at line 141 of file emmc_log.h.
Referenced by emmc_log_service(), format(), mount(), probe(), and test_stale_epoch().
| bool emmc_log_t::fill_aged |
Definition at line 130 of file emmc_log.h.
Referenced by acquire(), and emmc_log_service().
| uint8_t emmc_log_t::fill_block |
Definition at line 128 of file emmc_log.h.
Referenced by acquire(), close_block(), put_record(), seal(), and sink().
| uint8_t emmc_log_t::fill_chunk |
Definition at line 127 of file emmc_log.h.
Referenced by acquire(), chunk_complete(), close_block(), put_record(), seal(), and sink().
| uint16_t emmc_log_t::fill_offset |
Definition at line 129 of file emmc_log.h.
Referenced by acquire(), close_block(), put_record(), seal(), and sink().
| uint32_t emmc_log_t::fill_started_ms |
Definition at line 131 of file emmc_log.h.
Referenced by acquire(), and emmc_log_service().
| bool emmc_log_t::has_fill |
Definition at line 126 of file emmc_log.h.
Referenced by acquire(), chunk_complete(), emmc_log_service(), put_record(), seal(), and sink().
| uint32_t emmc_log_t::head |
Definition at line 142 of file emmc_log.h.
Referenced by emmc_log_service(), mount(), test_sessions_and_remount(), test_stale_epoch(), test_torn_write(), and test_torn_write_hole().
| emmc_port_t emmc_log_t::port |
Definition at line 116 of file emmc_log.h.
Referenced by calibration_server.ElodinWriter::connect(), feedtwin.comps.manifold.ManifoldBranch::diagnostics(), emmc_log_init(), emmc_log_service(), format(), lock(), mount(), feedtwin.comps.manifold.ManifoldBranch::pressure_drop(), probe(), actuator_testing_gui.SensorReceiver::run(), calibration_orchestrator.UDPSensorReceiver::run(), combined_fsw_gui.UDPReceiver::run(), combined_gui.UDPReceiver::run(), imu_calibration_gui.UDPReceiver::run(), lc_calibration_gui.UDPReceiver::run(), pt_multi_gui.UDPReceiver::run(), sense_testing_gui.UDPReceiver::run(), solenoid_characterization_gui.UDPReceiver::run(), lc_calibration_gui.LCPlotWindow::start_receiver(), pt_multi_gui.PTPlotWindow::start_receiver(), feedtwin.comps.manifold.ManifoldBranch::static_head(), and unlock().
| bool emmc_log_t::recording |
Definition at line 124 of file emmc_log.h.
Referenced by anonymous_namespace{idle_e2e.cpp}::check_idle_arm_wake(), emmc_log_append(), emmc_log_on_state(), stop(), test_full(), and test_start_failure().
| uint8_t* emmc_log_t::scratch |
Definition at line 121 of file emmc_log.h.
Referenced by emmc_log_init(), format(), mount(), and probe().
| emmc_log_stats_t emmc_log_t::stats |
Definition at line 145 of file emmc_log.h.
Referenced by autonomous_lc_calibration.AutonomousLCCalibrator::_add_point(), autonomous_rtd_calibration.AutonomousRTDCalibrator::_add_point(), autonomous_tc_calibration.AutonomousTCCalibrator::_add_point(), calibration_orchestrator.CalibrationOrchestrator::_collect(), autonomous_pt_calibration.AutonomousPTCalibrator::_data_collection_loop(), autonomous_lc_calibration.AutonomousLCCalibrator::_listen(), autonomous_rtd_calibration.AutonomousRTDCalibrator::_listen(), autonomous_tc_calibration.AutonomousTCCalibrator::_listen(), calibration_orchestrator.CalibrationOrchestrator::_online_update(), calibration_orchestrator.CalibrationOrchestrator::_print_status(), calibration_orchestrator.CalibrationOrchestrator::_run_consensus_and_self_cal(), calibration_orchestrator.CalibrationOrchestrator::_save_all(), calibration_orchestrator.CalibrationOrchestrator::_tls_bayesian_fit_all(), autonomous_lc_calibration.AutonomousLCCalibrator::auto_fit(), autonomous_rtd_calibration.AutonomousRTDCalibrator::auto_fit(), autonomous_tc_calibration.AutonomousTCCalibrator::auto_fit(), check_emmc_stall(), emmc_log_service(), keep(), release_write_chunk(), calibration_orchestrator.UDPSensorReceiver::run(), seal(), test_backpressure(), test_flush_interval(), test_full(), test_session_roundtrip(), test_start_failure(), and test_write_retry().
| uint32_t emmc_log_t::unreported_drops |
Definition at line 132 of file emmc_log.h.
Referenced by emmc_log_on_state(), and keep().
| uint8_t emmc_log_t::write_chunk |
Definition at line 137 of file emmc_log.h.
Referenced by emmc_log_service(), and release_write_chunk().
| uint8_t emmc_log_t::write_tries |
Definition at line 138 of file emmc_log.h.
Referenced by emmc_log_service(), and release_write_chunk().