예제 #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();
        }