프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BenchmarkSignalHanged | bool | ||
BenchmarkSignalQuit | bool | ||
BenchmarkSignalTimedout | bool |
프로퍼티 | 타입 | 설명 | |
---|---|---|---|
BenchmarkComunicator | IBenchmarkComunicator | ||
BenchmarkException | |||
BenchmarkSignalFinnished | bool | ||
BenchmarkTimeInSeconds | int | ||
MINER_ID | long | ||
OnBenchmarkCompleteCalled | bool | ||
Path | string | ||
PreviousTotalMH | double | ||
ProcessHandle | NiceHashProcess | ||
WorkingDirectory | string | ||
_isEthMinerExit | bool |
메소드 | 설명 | |
---|---|---|
BenchmarkStart ( int time, IBenchmarkComunicator benchmarkComunicator ) : void | ||
BenchmarkTimeoutInSeconds ( int timeInSeconds ) : int | ||
End ( ) : void | ||
EndBenchmarkProcces ( ) : void | ||
GetSummary ( ) : |
||
InitBenchmarkSetup ( MiningPair benchmarkPair ) : void | ||
InitMiningSetup ( MiningSetup miningSetup ) : void | ||
KillAllUsedMinerProcesses ( ) : void | ||
Miner ( string minerDeviceName ) : System | ||
MinerTAG ( ) : string | ||
ProcessTag ( ) : string | ||
Start ( string url, string btcAdress, string worker ) : void | ||
Stop ( MinerStopType willswitch = MinerStopType.SWITCH ) : void |
메소드 | 설명 | |
---|---|---|
BenchmarkCreateCommandLine ( |
||
BenchmarkOutputErrorDataReceivedImpl ( string outdata ) : void | ||
BenchmarkParseLine ( string outdata ) : bool | ||
BenchmarkParseLine_cpu_ccminer_extra ( string outdata ) : double | ||
BenchmarkStartProcess ( string CommandLine ) : |
||
BenchmarkThreadRoutine ( object CommandLine ) : void | ||
BenchmarkThreadRoutineStartSettup ( ) : void | ||
ChangeToNextAvaliablePort ( ) : void | ||
CheckOutdata ( string outdata ) : void | ||
GET_MAX_CooldownTimeInMilliseconds ( ) : int | ||
GetAPIData ( int port, string cmd ) : string | ||
GetDevicesCommandString ( ) : string | ||
GetSummaryCPU_CCMINER ( ) : |
||
GetUsername ( string btcAdress, string worker ) : string | ||
Miner_Exited ( ) : void | ||
StartCoolDownTimerChecker ( ) : void | ||
Stop_cpu_ccminer_sgminer_nheqminer ( MinerStopType willswitch ) : void | ||
UpdateBindPortCommand ( int oldPort, int newPort ) : bool | ||
UpdateBindPortCommand_ccminer_cpuminer ( int oldPort, int newPort ) : bool | ||
_Start ( ) : NiceHashProcess | ||
_Stop ( MinerStopType willswitch ) : void |
메소드 | 설명 | |
---|---|---|
BenchmarkOutputErrorDataReceived ( object sender, |
||
CoolDown ( ) : void |
decrement time for half current half time, if less then min ammend
|
|
CoolUp ( ) : void |
increment time for half current half time, if more then max set restart
|
|
MinerCoolingCheck_Tick ( object sender, ElapsedEventArgs e ) : void | ||
ProcessTag ( |
||
Restart ( ) : void |
protected abstract BenchmarkCreateCommandLine ( |
||
algorithm | ||
time | int | |
리턴 | string |
protected abstract BenchmarkOutputErrorDataReceivedImpl ( string outdata ) : void | ||
outdata | string | |
리턴 | void |
protected abstract BenchmarkParseLine ( string outdata ) : bool | ||
outdata | string | |
리턴 | bool |
protected BenchmarkParseLine_cpu_ccminer_extra ( string outdata ) : double | ||
outdata | string | |
리턴 | double |
public BenchmarkStart ( int time, IBenchmarkComunicator benchmarkComunicator ) : void | ||
time | int | |
benchmarkComunicator | IBenchmarkComunicator | |
리턴 | void |
protected BenchmarkStartProcess ( string CommandLine ) : |
||
CommandLine | string | |
리턴 |
protected BenchmarkThreadRoutine ( object CommandLine ) : void | ||
CommandLine | object | |
리턴 | void |
protected BenchmarkThreadRoutineStartSettup ( ) : void | ||
리턴 | void |
public BenchmarkTimeoutInSeconds ( int timeInSeconds ) : int | ||
timeInSeconds | int | |
리턴 | int |
protected abstract GET_MAX_CooldownTimeInMilliseconds ( ) : int | ||
리턴 | int |
protected GetAPIData ( int port, string cmd ) : string | ||
port | int | |
cmd | string | |
리턴 | string |
protected GetUsername ( string btcAdress, string worker ) : string | ||
btcAdress | string | |
worker | string | |
리턴 | string |
public InitBenchmarkSetup ( MiningPair benchmarkPair ) : void | ||
benchmarkPair | MiningPair | |
리턴 | void |
public InitMiningSetup ( MiningSetup miningSetup ) : void | ||
miningSetup | MiningSetup | |
리턴 | void |
public abstract Start ( string url, string btcAdress, string worker ) : void | ||
url | string | |
btcAdress | string | |
worker | string | |
리턴 | void |
public Stop ( MinerStopType willswitch = MinerStopType.SWITCH ) : void | ||
willswitch | MinerStopType | |
리턴 | void |
protected Stop_cpu_ccminer_sgminer_nheqminer ( MinerStopType willswitch ) : void | ||
willswitch | MinerStopType | |
리턴 | void |
protected abstract UpdateBindPortCommand ( int oldPort, int newPort ) : bool | ||
oldPort | int | |
newPort | int | |
리턴 | bool |
protected UpdateBindPortCommand_ccminer_cpuminer ( int oldPort, int newPort ) : bool | ||
oldPort | int | |
newPort | int | |
리턴 | bool |
protected abstract _Stop ( MinerStopType willswitch ) : void | ||
willswitch | MinerStopType | |
리턴 | void |
protected IBenchmarkComunicator BenchmarkComunicator | ||
리턴 | IBenchmarkComunicator |