Bufius / vertminer-gpu

GPU miner for vertcoin
GNU General Public License v3.0
40 stars 36 forks source link

Adaptive API hashrate reporting #5

Open johanbrandhorst opened 10 years ago

johanbrandhorst commented 10 years ago

The API will now report the hashrate in KH/s if it is below 1 MH/s. Also consolidated some code into a function.

johanbrandhorst commented 10 years ago

Tested this yesterday and didnt actually seem to work so dont merge this just yet :D.

johanbrandhorst commented 10 years ago

It should now be working as intended, I hope it seems useful enough to include.

lazynooblet commented 10 years ago

This is a bad thing. The API should output in a consistent format. The output is in machine readable format for a reason. If you want an adaptive rate, look at the ncurses GUI or textlog.