Esempio n. 1
0
 public GDIPreviewForm(VixenPreviewData data)
 {
     Icon = Resources.Icon_Vixen3;
     InitializeComponent();
     Data = data;
     _previewSetPixelsTime = new MillisecondsValue("Preview pixel set time");
     VixenSystem.Instrumentation.AddValue(_previewSetPixelsTime);
 }
Esempio n. 2
0
 public static void initInstrumentation()
 {
     _stopwatch = Stopwatch.StartNew();
     _systemAllowedUpdateTime = new MillisecondsValue("System allowed update");
     VixenSystem.Instrumentation.AddValue(_systemAllowedUpdateTime);
     _systemAllowedBlockTime = new MillisecondsValue("System allowed block");
     VixenSystem.Instrumentation.AddValue(_systemAllowedBlockTime);
     _systemDeniedUpdateTime = new MillisecondsValue("System denied update");
     VixenSystem.Instrumentation.AddValue(_systemDeniedUpdateTime);
     _systemDeniedBlockTime = new MillisecondsValue("System denied block");
     VixenSystem.Instrumentation.AddValue(_systemDeniedBlockTime);
 }
Esempio n. 3
0
 private void _CreatePerformanceValues()
 {
     _intervalDeltaValue = new MillisecondsValue(string.Format("{0} delta", OutputDevice.Name));
     VixenSystem.Instrumentation.AddValue(_intervalDeltaValue);
     _executionTimeValue = new MillisecondsValue(string.Format("{0} system", OutputDevice.Name));
     VixenSystem.Instrumentation.AddValue(_executionTimeValue);
     _updateTimeValue = new MillisecondsValue(string.Format("{0} output", OutputDevice.Name));
     VixenSystem.Instrumentation.AddValue(_updateTimeValue);
     _generateTimeValue = new MillisecondsValue(string.Format("{0}   generate", OutputDevice.Name));
     VixenSystem.Instrumentation.AddValue(_generateTimeValue);
     _extractTimeValue = new MillisecondsValue(string.Format("{0}   extract", OutputDevice.Name));
     VixenSystem.Instrumentation.AddValue(_extractTimeValue);
     _deviceTimeValue = new MillisecondsValue(string.Format("{0}   device", OutputDevice.Name));
     VixenSystem.Instrumentation.AddValue(_deviceTimeValue);
     _refreshRateValue = new OutputDeviceRefreshRateValue(OutputDevice);
     VixenSystem.Instrumentation.AddValue(_refreshRateValue);
     _sleepTimeActualValue = new MillisecondsValue(string.Format("{0} sleep time", OutputDevice.Name));
     VixenSystem.Instrumentation.AddValue(_sleepTimeActualValue);
 }