Changeset 2151


Ignore:
Timestamp:
Dec 1, 2010, 9:26:50 PM (11 years ago)
Author:
Sven Rech
Message:

keysearcher...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CrypPlugins/KeySearcher/KeySearcher.cs

    r2150 r2151  
    840840
    841841                //show OpenCL keys/sec:
     842                var ratio = (double) openCLdoneKeys/(double) doneKeys;
    842843                ((QuickWatch)QuickWatchPresentation).Dispatcher.BeginInvoke(DispatcherPriority.Normal, (SendOrPostCallback)delegate
    843844                {
    844845                    ((QuickWatch)QuickWatchPresentation).OpenCLPresentation.keysPerSecond.Content = String.Format("{0:N}", openCLKeysPerSecond);
    845                     ((QuickWatch)QuickWatchPresentation).OpenCLPresentation.ratio.Content = String.Format("{0:P}", (double)openCLdoneKeys / (double)doneKeys);
     846                    ((QuickWatch)QuickWatchPresentation).OpenCLPresentation.ratio.Content = String.Format("{0:P}", ratio);
    846847                }, null);
    847848               
Note: See TracChangeset for help on using the changeset viewer.