eis/eqpalg/algs
Huamonarch f80a917ab7 Async-ify ExpTimes DB persistence with global singleton worker thread
Add AsyncDbWorker: a persistent background thread with dedup queue that
executes DB2 writes asynchronously, keeping the mon 20ms cycle free of
blocking I/O.

Changes:
- async_db_worker.h/.cc: singleton worker, submit() with rule_id dedup,
  drain_and_stop() for clean shutdown
- eqp_stat.h/.cc: new update_static(ruleid, shear_times, running_time)
  overload that skips redundant DB reads for known values (reduces
  5 SELECTs to 3 per persist cycle)
- exp_times.cc: extract persist_exp_times() as a standalone function,
  update_history_times() snapshots values and submits to worker
  (returns immediately), reset_dev_data() uses direct SHM update
- eqpalg_icei.cpp: alg_mgr_.reset() → drain_and_stop() in destructor
  ensures all algorithm threads are stopped before draining the worker

Risk: re-run cmake .. to pick up the new async_db_worker.cc file.
2026-05-13 13:32:50 +08:00
..
exp_base.cpp Fix: access TaskRecord::data_record vector after TaskData refactor 2026-05-13 09:15:20 +08:00
exp_base.h Replace fixed 518MB array in TaskData with dynamic shared-memory vector 2026-05-12 17:19:44 +08:00
exp_bound.cpp Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
exp_bound.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
exp_sample2D.cc Final comment cleanup batch 2026-05-09 13:35:17 +08:00
exp_sample2D.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
exp_times.cc Async-ify ExpTimes DB persistence with global singleton worker thread 2026-05-13 13:32:50 +08:00
exp_times.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
fault_code.cc Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
fault_code.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
glitch_detection.cpp Remove last remaining comments from eqpalg 2026-05-09 13:32:10 +08:00
glitch_detection.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
null.h Initial commit: EIS C++ project with multi-process code 2026-05-09 11:23:45 +08:00
roller2.cpp Remove final remaining comment from distribution.h 2026-05-09 13:32:24 +08:00
roller2.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
roller3.cpp Remove comment from roller3.cpp 2026-05-09 13:33:07 +08:00
roller3.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
roller.cpp Remove remaining irrelevant comments from eqpalg (glitch_detection, roller, STA) 2026-05-09 13:30:42 +08:00
roller.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
trend_slope2.cpp Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
trend_slope2.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
trend_slope3.cpp Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
trend_slope3.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
trend_slope.cpp Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00
trend_slope.h Remove irrelevant comments from eqpalg source files 2026-05-09 13:30:09 +08:00