示例#1
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();
        }
示例#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();
        }