Definition at line 670 of file Options.h.
◆ BenchmarkConfiguration()
Definition at line 689 of file Options.h.
690 : ConfigurationBase(qty, args)
691 {
692 if (!this->show())
693 {
694 if (Utils::BuildInfo::library().debug() || Utils::consumerBuildInfo().debug())
695 {
696 std::cerr << "Please use the RELEASE build for benchmarking." << std::endl;
697
698#if !defined(ONIXS_DEBUGGING)
699 exit(1);
700#endif
701 }
702 }
703 }
◆ intervalBetweenSending()
| size_t intervalBetweenSending |
( |
| ) |
const |
|
inline |
Definition at line 683 of file Options.h.
684 {
685 return argOrDefault(options(),
"intervalBetweenSending", Default::IntervalBetweenSending);
686 }
Value argOrDefault(const Options &options, const Char *option, const Value &defaultValue=Value())
◆ numberOfMessages()
| size_t numberOfMessages |
( |
| ) |
const |
|
inline |
Definition at line 673 of file Options.h.
674 {
675 return argOrDefault(options(),
"numberOfMessages", Default::NumberOfMessages);
676 }
◆ showOptions()
| void showOptions |
( |
std::ostream & | out | ) |
const |
|
inlineoverrideprotectedvirtual |
Implements ConfigurationBase.
Definition at line 705 of file Options.h.
706 {
707 out
708 << " --numberOfMessages [number]" << std::endl
709 <<
"\tDefault value is [" <<
toStr(Default::NumberOfMessages) <<
"]" << std::endl
710 << " --warmupInterval [number]" << std::endl
711 <<
"\tMicroseconds, Default value is [" <<
toStr(Default::WarmupInterval) <<
"]" << std::endl
712 << " --warmupInterval [number]" << std::endl
713 <<
"\tMicroseconds, Default value is [" <<
toStr(Default::IntervalBetweenSending) <<
"]" << std::endl;
714 }
std::string toStr(Order::PriceOptional value)
◆ warmupInterval()
| size_t warmupInterval |
( |
| ) |
const |
|
inline |
Definition at line 678 of file Options.h.
679 {
680 return argOrDefault(options(),
"warmupInterval", Default::WarmupInterval);
681 }