Property | Type | Description | |
---|---|---|---|
BenchmarkSignalHanged | bool | ||
BenchmarkSignalQuit | bool | ||
BenchmarkSignalTimedout | bool |
Property | Type | Description | |
---|---|---|---|
BenchmarkComunicator | IBenchmarkComunicator | ||
BenchmarkException | |||
BenchmarkSignalFinnished | bool | ||
BenchmarkTimeInSeconds | int | ||
MINER_ID | long | ||
OnBenchmarkCompleteCalled | bool | ||
Path | string | ||
PreviousTotalMH | double | ||
ProcessHandle | NiceHashProcess | ||
WorkingDirectory | string | ||
_isEthMinerExit | bool |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | |
return | string |
protected abstract BenchmarkOutputErrorDataReceivedImpl ( string outdata ) : void | ||
outdata | string | |
return | void |
protected abstract BenchmarkParseLine ( string outdata ) : bool | ||
outdata | string | |
return | bool |
protected BenchmarkParseLine_cpu_ccminer_extra ( string outdata ) : double | ||
outdata | string | |
return | double |
public BenchmarkStart ( int time, IBenchmarkComunicator benchmarkComunicator ) : void | ||
time | int | |
benchmarkComunicator | IBenchmarkComunicator | |
return | void |
protected BenchmarkStartProcess ( string CommandLine ) : |
||
CommandLine | string | |
return |
protected BenchmarkThreadRoutine ( object CommandLine ) : void | ||
CommandLine | object | |
return | void |
protected BenchmarkThreadRoutineStartSettup ( ) : void | ||
return | void |
public BenchmarkTimeoutInSeconds ( int timeInSeconds ) : int | ||
timeInSeconds | int | |
return | int |
protected ChangeToNextAvaliablePort ( ) : void | ||
return | void |
protected CheckOutdata ( string outdata ) : void | ||
outdata | string | |
return | void |
protected abstract GET_MAX_CooldownTimeInMilliseconds ( ) : int | ||
return | int |
protected GetAPIData ( int port, string cmd ) : string | ||
port | int | |
cmd | string | |
return | string |
protected GetDevicesCommandString ( ) : string | ||
return | string |
protected GetSummaryCPU_CCMINER ( ) : |
||
return |
protected GetUsername ( string btcAdress, string worker ) : string | ||
btcAdress | string | |
worker | string | |
return | string |
public InitBenchmarkSetup ( MiningPair benchmarkPair ) : void | ||
benchmarkPair | MiningPair | |
return | void |
public InitMiningSetup ( MiningSetup miningSetup ) : void | ||
miningSetup | MiningSetup | |
return | void |
public Miner ( string minerDeviceName ) : System | ||
minerDeviceName | string | |
return | System |
public abstract Start ( string url, string btcAdress, string worker ) : void | ||
url | string | |
btcAdress | string | |
worker | string | |
return | void |
protected StartCoolDownTimerChecker ( ) : void | ||
return | void |
public Stop ( MinerStopType willswitch = MinerStopType.SWITCH ) : void | ||
willswitch | MinerStopType | |
return | void |
protected Stop_cpu_ccminer_sgminer_nheqminer ( MinerStopType willswitch ) : void | ||
willswitch | MinerStopType | |
return | void |
protected abstract UpdateBindPortCommand ( int oldPort, int newPort ) : bool | ||
oldPort | int | |
newPort | int | |
return | bool |
protected UpdateBindPortCommand_ccminer_cpuminer ( int oldPort, int newPort ) : bool | ||
oldPort | int | |
newPort | int | |
return | bool |
protected abstract _Stop ( MinerStopType willswitch ) : void | ||
willswitch | MinerStopType | |
return | void |
protected IBenchmarkComunicator BenchmarkComunicator | ||
return | IBenchmarkComunicator |
protected Exception,System BenchmarkException | ||
return |
protected bool OnBenchmarkCompleteCalled | ||
return | bool |