35#ifndef ScopeDeskewWizard_h
36#define ScopeDeskewWizard_h
49 int64_t trigPhaseDelta;
51 int32_t startingDelta;
62 std::shared_ptr<TriggerGroup> group,
63 std::shared_ptr<Oscilloscope> secondary,
71 void DoMainProcessingFlow();
72 void StartCorrelation();
77 void PostprocessVulkanCorrelation();
79 void ChannelSelector(
const char* name, std::shared_ptr<Oscilloscope> scope,
StreamDescriptor& stream);
94 std::shared_ptr<TriggerGroup> m_group;
95 std::shared_ptr<Oscilloscope> m_secondary;
100 bool m_useExtRefPrimary;
101 bool m_useExtRefSecondary;
105 time_t m_lastTriggerTimestamp;
106 int64_t m_lastTriggerFs;
112 std::vector<float> m_correlations;
113 std::vector<int64_t> m_skews;
116 float m_bestCorrelation;
117 int64_t m_bestCorrelationOffset;
119 bool m_gpuCorrelationAvailable;
122 int64_t m_maxSkewSamples;
128 std::shared_ptr<QueueHandle> m_queue;
129 vk::raii::CommandPool m_pool;
130 vk::raii::CommandBuffer m_cmdBuf;
133 std::shared_ptr<ComputePipeline> m_uniform4xRatePipeline;
134 std::shared_ptr<ComputePipeline> m_uniformUnequalRatePipeline;
135 std::shared_ptr<ComputePipeline> m_uniformEqualRatePipeline;
Generic dialog box or other popup window.
Definition: Dialog.h:44
Top level application window.
Definition: MainWindow.h:115
Definition: ScopeDeskewWizard.h:59
int64_t m_medianSkew
Calculated total skew.
Definition: ScopeDeskewWizard.h:125
virtual bool DoRender()
Renders the dialog and handles UI events.
Definition: ScopeDeskewWizard.cpp:141
A Session stores all of the instrument configuration and other state the user has open.
Definition: Session.h:95
Descriptor for a single stream coming off a channel.
Definition: StreamDescriptor.h:46