mirror of
https://github.com/xmrig/xmrig.git
synced 2024-11-18 10:01:06 +00:00
Fixed singular form for threads.
This commit is contained in:
parent
23ebcfb2db
commit
3bdf7111ce
3 changed files with 6 additions and 3 deletions
|
@ -146,10 +146,11 @@ public:
|
||||||
|
|
||||||
inline void start()
|
inline void start()
|
||||||
{
|
{
|
||||||
LOG_INFO("%s use profile " BLUE_BG(WHITE_BOLD_S " %s ") WHITE_BOLD_S " (" CYAN_BOLD("%zu") WHITE_BOLD(" threads)") " scratchpad " CYAN_BOLD("%zu KB"),
|
LOG_INFO("%s use profile " BLUE_BG(WHITE_BOLD_S " %s ") WHITE_BOLD_S " (" CYAN_BOLD("%zu") WHITE_BOLD(" thread%s)") " scratchpad " CYAN_BOLD("%zu KB"),
|
||||||
tag,
|
tag,
|
||||||
profileName.data(),
|
profileName.data(),
|
||||||
threads.size(),
|
threads.size(),
|
||||||
|
threads.size() > 1 ? "s" : "",
|
||||||
algo.l3() / 1024
|
algo.l3() / 1024
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -171,10 +171,11 @@ public:
|
||||||
|
|
||||||
inline void start(const Job &)
|
inline void start(const Job &)
|
||||||
{
|
{
|
||||||
LOG_INFO("%s use profile " BLUE_BG(WHITE_BOLD_S " %s ") WHITE_BOLD_S " (" CYAN_BOLD("%zu") WHITE_BOLD(" threads)") " scratchpad " CYAN_BOLD("%zu KB"),
|
LOG_INFO("%s use profile " BLUE_BG(WHITE_BOLD_S " %s ") WHITE_BOLD_S " (" CYAN_BOLD("%zu") WHITE_BOLD(" thread%s)") " scratchpad " CYAN_BOLD("%zu KB"),
|
||||||
tag,
|
tag,
|
||||||
profileName.data(),
|
profileName.data(),
|
||||||
threads.size(),
|
threads.size(),
|
||||||
|
threads.size() > 1 ? "s" : "",
|
||||||
algo.l3() / 1024
|
algo.l3() / 1024
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -168,10 +168,11 @@ public:
|
||||||
|
|
||||||
inline void start(const Job &job)
|
inline void start(const Job &job)
|
||||||
{
|
{
|
||||||
LOG_INFO("%s use profile " BLUE_BG(WHITE_BOLD_S " %s ") WHITE_BOLD_S " (" CYAN_BOLD("%zu") WHITE_BOLD(" threads)") " scratchpad " CYAN_BOLD("%zu KB"),
|
LOG_INFO("%s use profile " BLUE_BG(WHITE_BOLD_S " %s ") WHITE_BOLD_S " (" CYAN_BOLD("%zu") WHITE_BOLD(" thread%s)") " scratchpad " CYAN_BOLD("%zu KB"),
|
||||||
tag,
|
tag,
|
||||||
profileName.data(),
|
profileName.data(),
|
||||||
threads.size(),
|
threads.size(),
|
||||||
|
threads.size() > 1 ? "s" : "",
|
||||||
algo.l3() / 1024
|
algo.l3() / 1024
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue