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

Method mode_changed

DSView/pv/view/view.cpp:669–674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

667}
668
669void View::mode_changed()
670{
671 if (_device_agent->is_virtual())
672 _scale = WellSamplesPerPixel * 1.0 / _session->cur_snap_samplerate();
673 _scale = max(min(_scale, _maxscale), _minscale);
674}
675
676void View::signals_changed(const Trace* eventTrace)
677{

Callers 1

OnMessageMethod · 0.80

Calls 2

is_virtualMethod · 0.80
cur_snap_samplerateMethod · 0.80

Tested by

no test coverage detected