Added classes IThread, CpuThread and API endpoint "GET /1/threads".
This commit is contained in:
parent
44d56393db
commit
a042cbf885
19 changed files with 320 additions and 78 deletions
|
@ -101,7 +101,7 @@ static void print_threads(xmrig::Config *config)
|
|||
}
|
||||
|
||||
Log::i()->text(config->isColors() ? "\x1B[01;32m * \x1B[01;37mTHREADS: \x1B[01;36m%d\x1B[01;37m, %s, av=%d, %sdonate=%d%%%s" : " * THREADS: %d, %s, av=%d, %sdonate=%d%%%s",
|
||||
config->threads(),
|
||||
config->threadsCount(),
|
||||
config->algoName(),
|
||||
config->algoVariant(),
|
||||
config->isColors() && config->donateLevel() == 0 ? "\x1B[01;31m" : "",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue