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

Method get_pre_edge

DSView/pv/data/logicsnapshot.cpp:841–854  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

839}
840
841bool LogicSnapshot::get_pre_edge(uint64_t &index, bool last_sample,
842 double min_length, int sig_index)
843{
844 std::lock_guard<std::mutex> lock(_mutex);
845
846 index += _loop_offset;
847 _ring_sample_count += _loop_offset;
848
849 bool flag = get_pre_edge_self(index, last_sample, min_length, sig_index);
850
851 index = (index < _loop_offset) ? 0 : index - _loop_offset;
852 _ring_sample_count -= _loop_offset;
853 return flag;
854}
855
856bool LogicSnapshot::get_pre_edge_self(uint64_t &index, bool last_sample,
857 double min_length, int sig_index)

Callers 3

measureMethod · 0.80
is_by_edgeMethod · 0.80
edgeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected