MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / refresh

Method refresh

DSView/pv/sigsession.cpp:1089–1113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1087 }
1088
1089 void SigSession::refresh(int holdtime)
1090 {
1091 ds_lock_guard lock(_data_mutex);
1092
1093 data_lock();
1094 _view_data->get_logic()->init();
1095
1096 clear_all_decode_task2();
1097 clear_decode_result();
1098
1099 _view_data->get_dso()->init();
1100
1101 for (auto m : _spectrum_traces)
1102 {
1103 m->get_spectrum_stack()->init();
1104 }
1105
1106 if (_math_trace)
1107 _math_trace->get_math_stack()->init();
1108
1109 _view_data->get_analog()->init();
1110
1111 _out_timer.TimeOut(holdtime, std::bind(&SigSession::feed_timeout, this));
1112 _data_updated = true;
1113 }
1114
1115 void SigSession::data_auto_lock(int lock)
1116 {

Callers 6

on_session_errorMethod · 0.80
go_vDialPreMethod · 0.80
go_vDialNextMethod · 0.80
go_vDialPreMethod · 0.80
go_vDialNextMethod · 0.80
signals_changedMethod · 0.80

Calls 7

get_logicMethod · 0.80
get_dsoMethod · 0.80
get_spectrum_stackMethod · 0.80
get_math_stackMethod · 0.80
get_analogMethod · 0.80
TimeOutMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected