コード例 #1
0
ファイル: MTM.cs プロジェクト: GarageGames/Bitcoin
        public MTM(int threadCount, bool useSSE, float gpuPercentage)
        {
            mThreadCount = threadCount;
            mThreads = new WorkThread[mThreadCount];
            for (int i = 0; i < mThreadCount; i++)
                mThreads[i] = new WorkThread();

            mHashRate = 0;
            mCurrentWork = null;
            mTimer = new Timer();
        }
コード例 #2
0
        public MTM(int threadCount, bool useSSE, float gpuPercentage)
        {
            mThreadCount = threadCount;
            mThreads     = new WorkThread[mThreadCount];
            for (int i = 0; i < mThreadCount; i++)
            {
                mThreads[i] = new WorkThread();
            }

            mHashRate    = 0;
            mCurrentWork = null;
            mTimer       = new Timer();
        }