#define PR_VALUE(descr, format, ...) \
XBT_INFO("| %.*s: " format, DATA_DESCR_WIDTH, \
- descr ".................................................", \
+ descr " ................................................", \
__VA_ARGS__)
#define PR_STATS(descr, st) \
XBT_INFO("| %.*s: %g / %g / %g", DATA_DESCR_WIDTH, \
- descr " (sum/avg/dev)...................................", \
+ descr " (sum/avg/dev) ..................................", \
st.get_sum(), st.get_mean(), st.get_stddev())
int main(int argc, char* argv[])
const char* opt_helper::descr(const char* str)
{
descr_str = str;
+ descr_str.push_back(' ');
descr_str.resize(DATA_DESCR_WIDTH, '.');
return descr_str.c_str();
}