LLVMFuzzerTestOneInput:
   41|    527|extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
   42|    527|  if (size == 0) {
  ------------------
  |  Branch (42:7): [True: 0, False: 527]
  ------------------
   43|      0|    return 0;
   44|      0|  }
   45|       |
   46|    527|  static std::shared_ptr<spdlog::logger> my_logger;
   47|    527|  if (!my_logger.get()) {
  ------------------
  |  Branch (47:7): [True: 1, False: 526]
  ------------------
   48|      1|    my_logger = spdlog::basic_logger_mt("basic_logger", "/dev/null");
   49|      1|    spdlog::set_default_logger(my_logger);
   50|      1|  }
   51|       |
   52|    527|  FuzzedDataProvider stream(data, size);
   53|       |
   54|    527|  const unsigned long size_arg = stream.ConsumeIntegral<unsigned long>();
   55|    527|  const unsigned long  int_arg = stream.ConsumeIntegral<unsigned long>();
   56|    527|  const char flag = (char)(stream.ConsumeIntegral<char>());
   57|    527|  const std::string pattern = stream.ConsumeRandomLengthString();
   58|    527|  my_formatter_txt = stream.ConsumeRandomLengthString();
   59|    527|  const std::string string_arg = stream.ConsumeRandomLengthString();
   60|    527|  const std::string format_string = stream.ConsumeRemainingBytesAsString();
   61|       |
   62|    527|  using spdlog::details::make_unique;
   63|    527|  auto formatter = make_unique<spdlog::pattern_formatter>();
   64|    527|  formatter->add_flag<my_formatter_flag>(flag).set_pattern(pattern);
   65|    527|  spdlog::set_formatter(std::move(formatter));
   66|       |  
   67|    527|  spdlog::info(format_string.c_str(), size_arg, int_arg, string_arg);
   68|       |
   69|    527|  return 0;
   70|    527|}
_ZN17my_formatter_flag6formatERKN6spdlog7details7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
   31|  5.35k|    {
   32|  5.35k|        dest.append(my_formatter_txt.data(), my_formatter_txt.data() + my_formatter_txt.size());
   33|  5.35k|    }
_ZNK17my_formatter_flag5cloneEv:
   36|  17.1k|    {
   37|  17.1k|        return spdlog::details::make_unique<my_formatter_flag>();
   38|  17.1k|    }

_ZN6spdlog5level14to_string_viewENS0_10level_enumE:
   24|   151k|SPDLOG_INLINE const string_view_t &to_string_view(level::level_enum l) SPDLOG_NOEXCEPT {
   25|   151k|    return level_string_views[l];
   26|   151k|}
_ZN6spdlog5level14to_short_c_strENS0_10level_enumE:
   28|  45.1k|SPDLOG_INLINE const char *to_short_c_str(level::level_enum l) SPDLOG_NOEXCEPT {
   29|  45.1k|    return short_level_names[l];
   30|  45.1k|}

_ZN6spdlog19file_event_handlersC2Ev:
  332|      1|        : before_open(nullptr),
  333|      1|          after_open(nullptr),
  334|      1|          before_close(nullptr),
  335|      1|          after_close(nullptr) {}
_ZNK6spdlog10source_loc5emptyEv:
  324|   142k|    SPDLOG_CONSTEXPR bool empty() const SPDLOG_NOEXCEPT { return line <= 0; }
_ZN6spdlog7details23conditional_static_castIiiTnNSt3__19enable_ifIXsr3std7is_sameIT_T0_EE5valueEiE4typeELi0EEES4_S5_:
  367|  25.4k|constexpr T conditional_static_cast(U value) {
  368|  25.4k|    return value;
  369|  25.4k|}
_ZN6spdlog10source_locC2Ev:
  318|    527|    SPDLOG_CONSTEXPR source_loc() = default;

_ZNK6spdlog7details10backtracer7enabledEv:
   41|    527|SPDLOG_INLINE bool backtracer::enabled() const { return enabled_.load(std::memory_order_relaxed); }

_ZN6spdlog7details10backtracerC2Ev:
   24|      2|    backtracer() = default;

_ZN6spdlog7details10circular_qINS0_14log_msg_bufferEEC2Ev:
   26|      2|    circular_q() = default;

_ZN6spdlog7details13console_mutex5mutexEv:
   14|      1|    static mutex_t &mutex() {
   15|      1|        static mutex_t s_mutex;
   16|      1|        return s_mutex;
   17|      1|    }

_ZN6spdlog7details11file_helperC2ERKNS_19file_event_handlersE:
   22|      1|    : event_handlers_(event_handlers) {}
_ZN6spdlog7details11file_helper15set_buffer_sizeEm:
  106|      1|SPDLOG_INLINE void file_helper::set_buffer_size(size_t buffer_size) {
  107|       |    // Reopen to configure setvbuf before I/O while preserving pending output.
  108|      1|    if (custom_buffer_size_ == buffer_size) {
  ------------------
  |  Branch (108:9): [True: 1, False: 0]
  ------------------
  109|      1|        return;
  110|      1|    }
  111|      0|    if (fd_ != nullptr) {
  ------------------
  |  Branch (111:9): [True: 0, False: 0]
  ------------------
  112|      0|        flush();
  113|      0|    }
  114|      0|    custom_buffer_size_ = buffer_size;
  115|      0|    if (fd_ != nullptr) {
  ------------------
  |  Branch (115:9): [True: 0, False: 0]
  ------------------
  116|      0|        reopen(false);
  117|      0|    }
  118|      0|}
_ZN6spdlog7details11file_helper4openERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEb:
   26|      1|SPDLOG_INLINE void file_helper::open(const filename_t &fname, bool truncate) {
   27|      1|    close();
   28|      1|    filename_ = fname;
   29|       |
   30|      1|    auto *mode = SPDLOG_FILENAME_T("ab");
  ------------------
  |  |  140|      1|#define SPDLOG_FILENAME_T(s) s
  ------------------
   31|      1|    auto *trunc_mode = SPDLOG_FILENAME_T("wb");
  ------------------
  |  |  140|      1|#define SPDLOG_FILENAME_T(s) s
  ------------------
   32|       |
   33|      1|    if (event_handlers_.before_open) {
  ------------------
  |  Branch (33:9): [True: 0, False: 1]
  ------------------
   34|      0|        event_handlers_.before_open(filename_);
   35|      0|    }
   36|      1|    for (int tries = 0; tries < open_tries_; ++tries) {
  ------------------
  |  Branch (36:25): [True: 1, False: 0]
  ------------------
   37|       |        // create containing folder if not exists already.
   38|      1|        os::create_dir(os::dir_name(fname));
   39|      1|        if (truncate) {
  ------------------
  |  Branch (39:13): [True: 0, False: 1]
  ------------------
   40|       |            // Truncate by opening-and-closing a tmp file in "wb" mode, always
   41|       |            // opening the actual log-we-write-to in "ab" mode, since that
   42|       |            // interacts more politely with eternal processes that might
   43|       |            // rotate/truncate the file underneath us.
   44|      0|            std::FILE *tmp;
   45|      0|            if (os::fopen_s(&tmp, fname, trunc_mode)) {
  ------------------
  |  Branch (45:17): [True: 0, False: 0]
  ------------------
   46|      0|                continue;
   47|      0|            }
   48|      0|            std::fclose(tmp);
   49|      0|        }
   50|      1|        if (!os::fopen_s(&fd_, fname, mode)) {
  ------------------
  |  Branch (50:13): [True: 1, False: 0]
  ------------------
   51|      1|            if (custom_buffer_size_ > 0) {
  ------------------
  |  Branch (51:17): [True: 0, False: 1]
  ------------------
   52|      0|                custom_buf_.resize(custom_buffer_size_);
   53|      0|                if (std::setvbuf(fd_, custom_buf_.data(), _IOFBF, custom_buffer_size_) != 0) {
  ------------------
  |  Branch (53:21): [True: 0, False: 0]
  ------------------
   54|      0|                    throw_spdlog_ex("Failed to setvbuf on file " + os::filename_to_str(filename_), errno);
   55|      0|                }
   56|      0|            }
   57|      1|            if (event_handlers_.after_open) {
  ------------------
  |  Branch (57:17): [True: 0, False: 1]
  ------------------
   58|      0|                event_handlers_.after_open(filename_, fd_);
   59|      0|            }
   60|      1|            return;
   61|      1|        }
   62|       |
   63|      0|        details::os::sleep_for_millis(open_interval_);
   64|      0|    }
   65|       |
   66|      0|    throw_spdlog_ex("Failed opening file " + os::filename_to_str(filename_) + " for writing",
   67|       |                    errno);
   68|      0|}
_ZN6spdlog7details11file_helper5closeEv:
   89|      2|SPDLOG_INLINE void file_helper::close() {
   90|      2|    if (fd_ != nullptr) {
  ------------------
  |  Branch (90:9): [True: 1, False: 1]
  ------------------
   91|      1|        if (event_handlers_.before_close) {
  ------------------
  |  Branch (91:13): [True: 0, False: 1]
  ------------------
   92|      0|            event_handlers_.before_close(filename_, fd_);
   93|      0|        }
   94|       |
   95|      1|        std::fclose(fd_);
   96|      1|        fd_ = nullptr;
   97|      1|        custom_buf_.clear();
   98|      1|        custom_buf_.shrink_to_fit();
   99|       |
  100|      1|        if (event_handlers_.after_close) {
  ------------------
  |  Branch (100:13): [True: 0, False: 1]
  ------------------
  101|      0|            event_handlers_.after_close(filename_);
  102|      0|        }
  103|      1|    }
  104|      2|}
_ZN6spdlog7details11file_helperD2Ev:
   24|      1|SPDLOG_INLINE file_helper::~file_helper() { close(); }
_ZN6spdlog7details11file_helper5writeERKN3fmt3v1219basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
  124|    343|SPDLOG_INLINE void file_helper::write(const memory_buf_t &buf) {
  125|    343|    if (fd_ == nullptr) return;
  ------------------
  |  Branch (125:9): [True: 0, False: 343]
  ------------------
  126|    343|    size_t msg_size = buf.size();
  127|    343|    auto data = buf.data();
  128|       |
  129|    343|    if (!details::os::fwrite_bytes(data, msg_size, fd_)) {
  ------------------
  |  Branch (129:9): [True: 0, False: 343]
  ------------------
  130|       |        throw_spdlog_ex("Failed writing to file " + os::filename_to_str(filename_), errno);
  131|      0|    }
  132|    343|}

_ZN6spdlog7details10fmt_helper18append_string_viewEN3fmt3v1217basic_string_viewIcEERNS3_19basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   21|  1.70M|inline void append_string_view(string_view_t view, memory_buf_t &dest) {
   22|  1.70M|    auto *buf_ptr = view.data();
   23|  1.70M|    dest.append(buf_ptr, buf_ptr + view.size());
   24|  1.70M|}
_ZN6spdlog7details10fmt_helper10append_intIiEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|   160k|inline void append_int(T n, memory_buf_t &dest) {
   43|   160k|    fmt::format_int i(n);
   44|   160k|    dest.append(i.data(), i.data() + i.size());
   45|   160k|}
_ZN6spdlog7details10fmt_helper4pad2EiRN3fmt3v1219basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   84|  1.02M|inline void pad2(int n, memory_buf_t &dest) {
   85|  1.02M|    if (n >= 0 && n < 100)  // 0-99
  ------------------
  |  Branch (85:9): [True: 1.02M, False: 0]
  |  Branch (85:19): [True: 1.02M, False: 0]
  ------------------
   86|  1.02M|    {
   87|  1.02M|        dest.push_back(static_cast<char>('0' + n / 10));
   88|  1.02M|        dest.push_back(static_cast<char>('0' + n % 10));
   89|  1.02M|    } else  // unlikely, but just in case, let fmt deal with it
   90|      0|    {
   91|      0|        fmt_lib::format_to(std::back_inserter(dest), SPDLOG_FMT_STRING("{:02}"), n);
  ------------------
  |  |   55|      0|#define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string)
  |  |  ------------------
  |  |  |  | 4251|      0|#define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4226|      0|    [] {                                                                     \
  |  |  |  |  |  | 4227|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  | 4228|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  | 4229|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  | 4230|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  | 4231|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  | 4232|      0|            const {                                                          \
  |  |  |  |  |  | 4233|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  | 4234|      0|        }                                                                    \
  |  |  |  |  |  | 4235|      0|      };                                                                     \
  |  |  |  |  |  | 4236|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  | 4237|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  | 4238|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  | 4239|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  | 4240|      0|    }()
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|      0|    }
   93|  1.02M|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEET_NS4_10time_pointINS4_12system_clockENS5_IxNS6_ILl1ELl1000000EEEEEEE:
  131|   189k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|   189k|    using std::chrono::duration_cast;
  133|   189k|    using std::chrono::seconds;
  134|   189k|    auto duration = tp.time_since_epoch();
  135|   189k|    auto secs = duration_cast<seconds>(duration);
  136|   189k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|   189k|}
_ZN6spdlog7details10fmt_helper4pad3IjEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  105|   189k|inline void pad3(T n, memory_buf_t &dest) {
  106|   189k|    static_assert(std::is_unsigned<T>::value, "pad3 must get unsigned T");
  107|   189k|    if (n < 1000) {
  ------------------
  |  Branch (107:9): [True: 189k, False: 0]
  ------------------
  108|   189k|        dest.push_back(static_cast<char>(n / 100 + '0'));
  109|   189k|        n = n % 100;
  110|   189k|        dest.push_back(static_cast<char>((n / 10) + '0'));
  111|   189k|        dest.push_back(static_cast<char>((n % 10) + '0'));
  112|   189k|    } else {
  113|      0|        append_int(n, dest);
  114|      0|    }
  115|   189k|}
_ZN6spdlog7details10fmt_helper10append_intIjEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|  25.4k|inline void append_int(T n, memory_buf_t &dest) {
   43|  25.4k|    fmt::format_int i(n);
   44|  25.4k|    dest.append(i.data(), i.data() + i.size());
   45|  25.4k|}
_ZN6spdlog7details10fmt_helper12count_digitsImEEjT_:
   66|   309k|inline unsigned int count_digits(T n) {
   67|   309k|    using count_type =
   68|   309k|        typename std::conditional<(sizeof(T) > sizeof(uint32_t)), uint64_t, uint32_t>::type;
   69|       |#ifdef SPDLOG_USE_STD_FORMAT
   70|       |    return count_digits_fallback(static_cast<count_type>(n));
   71|       |#else
   72|   309k|    return static_cast<unsigned int>(fmt::
   73|       |// fmt 7.0.0 renamed the internal namespace to detail.
   74|       |// See: https://github.com/fmtlib/fmt/issues/1538
   75|       |#if FMT_VERSION < 70000
   76|       |                                         internal
   77|       |#else
   78|   309k|                                         detail
   79|   309k|#endif
   80|   309k|                                     ::count_digits(static_cast<count_type>(n)));
   81|   309k|#endif
   82|   309k|}
_ZN6spdlog7details10fmt_helper10append_intImEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|   411k|inline void append_int(T n, memory_buf_t &dest) {
   43|   411k|    fmt::format_int i(n);
   44|   411k|    dest.append(i.data(), i.data() + i.size());
   45|   411k|}
_ZN6spdlog7details10fmt_helper12count_digitsIiEEjT_:
   66|  7.93k|inline unsigned int count_digits(T n) {
   67|  7.93k|    using count_type =
   68|  7.93k|        typename std::conditional<(sizeof(T) > sizeof(uint32_t)), uint64_t, uint32_t>::type;
   69|       |#ifdef SPDLOG_USE_STD_FORMAT
   70|       |    return count_digits_fallback(static_cast<count_type>(n));
   71|       |#else
   72|  7.93k|    return static_cast<unsigned int>(fmt::
   73|       |// fmt 7.0.0 renamed the internal namespace to detail.
   74|       |// See: https://github.com/fmtlib/fmt/issues/1538
   75|       |#if FMT_VERSION < 70000
   76|       |                                         internal
   77|       |#else
   78|  7.93k|                                         detail
   79|  7.93k|#endif
   80|  7.93k|                                     ::count_digits(static_cast<count_type>(n)));
   81|  7.93k|#endif
   82|  7.93k|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEEET_NS4_10time_pointINS4_12system_clockES8_EE:
  131|  15.2k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|  15.2k|    using std::chrono::duration_cast;
  133|  15.2k|    using std::chrono::seconds;
  134|  15.2k|    auto duration = tp.time_since_epoch();
  135|  15.2k|    auto secs = duration_cast<seconds>(duration);
  136|  15.2k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|  15.2k|}
_ZN6spdlog7details10fmt_helper4pad6ImEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  118|  15.2k|inline void pad6(T n, memory_buf_t &dest) {
  119|  15.2k|    pad_uint(n, 6, dest);
  120|  15.2k|}
_ZN6spdlog7details10fmt_helper8pad_uintImEEvT_jRN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   96|  68.0k|inline void pad_uint(T n, unsigned int width, memory_buf_t &dest) {
   97|  68.0k|    static_assert(std::is_unsigned<T>::value, "pad_uint must get unsigned T");
   98|   118k|    for (auto digits = count_digits(n); digits < width; digits++) {
  ------------------
  |  Branch (98:41): [True: 49.9k, False: 68.0k]
  ------------------
   99|  49.9k|        dest.push_back('0');
  100|  49.9k|    }
  101|  68.0k|    append_int(n, dest);
  102|  68.0k|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEEET_NS4_10time_pointINS4_12system_clockENS5_IxNS6_ILl1ELl1000000EEEEEEE:
  131|  52.8k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|  52.8k|    using std::chrono::duration_cast;
  133|  52.8k|    using std::chrono::seconds;
  134|  52.8k|    auto duration = tp.time_since_epoch();
  135|  52.8k|    auto secs = duration_cast<seconds>(duration);
  136|  52.8k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|  52.8k|}
_ZN6spdlog7details10fmt_helper4pad9ImEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  123|  52.8k|inline void pad9(T n, memory_buf_t &dest) {
  124|  52.8k|    pad_uint(n, 9, dest);
  125|  52.8k|}
_ZN6spdlog7details10fmt_helper12count_digitsIxEEjT_:
   66|  1.13k|inline unsigned int count_digits(T n) {
   67|  1.13k|    using count_type =
   68|  1.13k|        typename std::conditional<(sizeof(T) > sizeof(uint32_t)), uint64_t, uint32_t>::type;
   69|       |#ifdef SPDLOG_USE_STD_FORMAT
   70|       |    return count_digits_fallback(static_cast<count_type>(n));
   71|       |#else
   72|  1.13k|    return static_cast<unsigned int>(fmt::
   73|       |// fmt 7.0.0 renamed the internal namespace to detail.
   74|       |// See: https://github.com/fmtlib/fmt/issues/1538
   75|       |#if FMT_VERSION < 70000
   76|       |                                         internal
   77|       |#else
   78|  1.13k|                                         detail
   79|  1.13k|#endif
   80|  1.13k|                                     ::count_digits(static_cast<count_type>(n)));
   81|  1.13k|#endif
   82|  1.13k|}
_ZN6spdlog7details10fmt_helper10append_intIxEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|  16.5k|inline void append_int(T n, memory_buf_t &dest) {
   43|  16.5k|    fmt::format_int i(n);
   44|  16.5k|    dest.append(i.data(), i.data() + i.size());
   45|  16.5k|}
_ZN6spdlog7details10fmt_helper12count_digitsIjEEjT_:
   66|    157|inline unsigned int count_digits(T n) {
   67|    157|    using count_type =
   68|    157|        typename std::conditional<(sizeof(T) > sizeof(uint32_t)), uint64_t, uint32_t>::type;
   69|       |#ifdef SPDLOG_USE_STD_FORMAT
   70|       |    return count_digits_fallback(static_cast<count_type>(n));
   71|       |#else
   72|    157|    return static_cast<unsigned int>(fmt::
   73|       |// fmt 7.0.0 renamed the internal namespace to detail.
   74|       |// See: https://github.com/fmtlib/fmt/issues/1538
   75|       |#if FMT_VERSION < 70000
   76|       |                                         internal
   77|       |#else
   78|    157|                                         detail
   79|    157|#endif
   80|    157|                                     ::count_digits(static_cast<count_type>(n)));
   81|    157|#endif
   82|    157|}

_ZN6spdlog7details7log_msgC2ENS_10source_locEN3fmt3v1217basic_string_viewIcEENS_5level10level_enumES6_:
   36|    343|    : log_msg(os::now(), loc, a_logger_name, lvl, msg) {}
_ZN6spdlog7details7log_msgC2ENSt3__16chrono10time_pointINS3_12system_clockENS3_8durationIxNS2_5ratioILl1ELl1000000EEEEEEENS_10source_locEN3fmt3v1217basic_string_viewIcEENS_5level10level_enumESF_:
   20|    343|    : logger_name(a_logger_name),
   21|    343|      level(lvl),
   22|    343|      time(log_time)
   23|       |#ifndef SPDLOG_NO_THREAD_ID
   24|       |      ,
   25|    343|      thread_id(os::thread_id())
   26|       |#endif
   27|       |      ,
   28|    343|      source(loc),
   29|    343|      payload(msg) {
   30|    343|}

_ZN6spdlog7details2os11in_terminalEP8_IO_FILE:
  399|      1|SPDLOG_INLINE bool in_terminal(FILE *file) SPDLOG_NOEXCEPT {
  400|       |#ifdef _WIN32
  401|       |    return ::_isatty(_fileno(file)) != 0;
  402|       |#else
  403|      1|    return ::isatty(fileno(file)) != 0;
  404|      1|#endif
  405|      1|}
_ZN6spdlog7details2os12fwrite_bytesEPKvmP8_IO_FILE:
  563|    343|SPDLOG_INLINE bool fwrite_bytes(const void *ptr, const size_t n_bytes, FILE *fp) {
  564|       |#if defined(_WIN32) && defined(SPDLOG_FWRITE_UNLOCKED)
  565|       |    return _fwrite_nolock(ptr, 1, n_bytes, fp) == n_bytes;
  566|       |#elif defined(SPDLOG_FWRITE_UNLOCKED)
  567|       |    return ::fwrite_unlocked(ptr, 1, n_bytes, fp) == n_bytes;
  568|       |#else
  569|    343|    return std::fwrite(ptr, 1, n_bytes, fp) == n_bytes;
  570|    343|#endif
  571|    343|}
_ZN6spdlog7details2os18utc_minutes_offsetERK2tm:
  268|  26.3k|SPDLOG_INLINE int utc_minutes_offset(const std::tm &tm) {
  269|  26.3k|    return static_cast<int>(tm.tm_gmtoff / 60);
  270|  26.3k|}
_ZN6spdlog7details2os3pidEv:
  358|  25.4k|SPDLOG_INLINE int pid() SPDLOG_NOEXCEPT {
  359|       |#ifdef _WIN32
  360|       |    return conditional_static_cast<int>(::GetCurrentProcessId());
  361|       |#else
  362|  25.4k|    return conditional_static_cast<int>(::getpid());
  363|  25.4k|#endif
  364|  25.4k|}
_ZN6spdlog7details2os9localtimeERKl:
   87|    296|SPDLOG_INLINE std::tm localtime(const std::time_t &time_tt) SPDLOG_NOEXCEPT {
   88|       |#ifdef _WIN32
   89|       |    std::tm tm;
   90|       |    ::localtime_s(&tm, &time_tt);
   91|       |#else
   92|    296|    std::tm tm;
   93|    296|    ::localtime_r(&time_tt, &tm);
   94|    296|#endif
   95|    296|    return tm;
   96|    296|}
_ZN6spdlog7details2os10create_dirERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  485|      1|SPDLOG_INLINE bool create_dir(const filename_t &path) {
  486|      1|    if (path_exists(path)) {
  ------------------
  |  Branch (486:9): [True: 1, False: 0]
  ------------------
  487|      1|        return true;
  488|      1|    }
  489|       |
  490|      0|    if (path.empty()) {
  ------------------
  |  Branch (490:9): [True: 0, False: 0]
  ------------------
  491|      0|        return false;
  492|      0|    }
  493|       |
  494|      0|    size_t search_offset = 0;
  495|      0|    do {
  496|      0|        auto token_pos = path.find_first_of(folder_seps_filename, search_offset);
  497|       |        // treat the entire path as a folder if no folder separator not found
  498|      0|        if (token_pos == filename_t::npos) {
  ------------------
  |  Branch (498:13): [True: 0, False: 0]
  ------------------
  499|      0|            token_pos = path.size();
  500|      0|        }
  501|       |
  502|      0|        auto subdir = path.substr(0, token_pos);
  503|       |#ifdef _WIN32
  504|       |        // if subdir is just a drive letter, add a slash e.g. "c:"=>"c:\",
  505|       |        // otherwise path_exists(subdir) returns false (issue #3079)
  506|       |        const bool is_drive = subdir.length() == 2 && subdir[1] == ':';
  507|       |        if (is_drive) {
  508|       |            subdir += '\\';
  509|       |            token_pos++;
  510|       |        }
  511|       |#endif
  512|       |
  513|      0|        if (!subdir.empty() && !path_exists(subdir) && !mkdir_(subdir)) {
  ------------------
  |  Branch (513:13): [True: 0, False: 0]
  |  Branch (513:32): [True: 0, False: 0]
  |  Branch (513:56): [True: 0, False: 0]
  ------------------
  514|      0|                if (errno != EEXIST) {
  ------------------
  |  Branch (514:21): [True: 0, False: 0]
  ------------------
  515|      0|                        return false;  // return error if failed creating dir
  516|      0|                }
  517|      0|    }
  518|      0|        search_offset = token_pos + 1;
  519|      0|    } while (search_offset < path.size());
  ------------------
  |  Branch (519:14): [True: 0, False: 0]
  ------------------
  520|       |
  521|      0|    return true;
  522|      0|}
_ZN6spdlog7details2os11path_existsERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  180|      1|SPDLOG_INLINE bool path_exists(const filename_t &filename) SPDLOG_NOEXCEPT {
  181|       |#ifdef _WIN32
  182|       |    struct _stat buffer;
  183|       |#ifdef SPDLOG_WCHAR_FILENAMES
  184|       |    return (::_wstat(filename.c_str(), &buffer) == 0);
  185|       |#else
  186|       |    return (::_stat(filename.c_str(), &buffer) == 0);
  187|       |#endif
  188|       |#else  // common linux/unix all have the stat system call
  189|      1|    struct stat buffer;
  190|      1|    return (::stat(filename.c_str(), &buffer) == 0);
  191|      1|#endif
  192|      1|}
_ZN6spdlog7details2os8dir_nameERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  529|      1|SPDLOG_INLINE filename_t dir_name(const filename_t &path) {
  530|      1|    auto pos = path.find_last_of(folder_seps_filename);
  531|      1|    return pos != filename_t::npos ? path.substr(0, pos) : filename_t{};
  ------------------
  |  Branch (531:12): [True: 1, False: 0]
  ------------------
  532|      1|}
_ZN6spdlog7details2os7fopen_sEPP8_IO_FILERKNSt3__112basic_stringIcNS5_11char_traitsIcEENS5_9allocatorIcEEEESD_:
  120|      1|SPDLOG_INLINE bool fopen_s(FILE **fp, const filename_t &filename, const filename_t &mode) {
  121|       |#ifdef _WIN32
  122|       |#ifdef SPDLOG_WCHAR_FILENAMES
  123|       |    *fp = ::_wfsopen((filename.c_str()), mode.c_str(), _SH_DENYNO);
  124|       |#else
  125|       |    *fp = ::_fsopen((filename.c_str()), mode.c_str(), _SH_DENYNO);
  126|       |#endif
  127|       |#if defined(SPDLOG_PREVENT_CHILD_FD)
  128|       |    if (*fp != nullptr) {
  129|       |        auto file_handle = reinterpret_cast<HANDLE>(_get_osfhandle(::_fileno(*fp)));
  130|       |        if (!::SetHandleInformation(file_handle, HANDLE_FLAG_INHERIT, 0)) {
  131|       |            ::fclose(*fp);
  132|       |            *fp = nullptr;
  133|       |        }
  134|       |    }
  135|       |#endif
  136|       |#else  // unix
  137|       |#if defined(SPDLOG_PREVENT_CHILD_FD)
  138|       |    const int mode_flag = mode == SPDLOG_FILENAME_T("ab") ? O_APPEND : O_TRUNC;
  139|       |    const int fd =
  140|       |        ::open((filename.c_str()), O_CREAT | O_WRONLY | O_CLOEXEC | mode_flag, mode_t(0644));
  141|       |    if (fd == -1) {
  142|       |        return true;
  143|       |    }
  144|       |    *fp = ::fdopen(fd, mode.c_str());
  145|       |    if (*fp == nullptr) {
  146|       |        ::close(fd);
  147|       |    }
  148|       |#else
  149|      1|    *fp = ::fopen((filename.c_str()), mode.c_str());
  150|      1|#endif
  151|      1|#endif
  152|       |
  153|      1|    return *fp == nullptr;
  154|      1|}
_ZN6spdlog7details2os3nowEv:
   75|    343|SPDLOG_INLINE log_clock::time_point now() SPDLOG_NOEXCEPT {
   76|       |#if defined __linux__ && defined SPDLOG_CLOCK_COARSE
   77|       |    timespec ts;
   78|       |    ::clock_gettime(CLOCK_REALTIME_COARSE, &ts);
   79|       |    return std::chrono::time_point<log_clock, typename log_clock::duration>(
   80|       |        std::chrono::duration_cast<typename log_clock::duration>(
   81|       |            std::chrono::seconds(ts.tv_sec) + std::chrono::nanoseconds(ts.tv_nsec)));
   82|       |
   83|       |#else
   84|    343|    return log_clock::now();
   85|    343|#endif
   86|    343|}
_ZN6spdlog7details2os9thread_idEv:
  328|    343|SPDLOG_INLINE size_t thread_id() SPDLOG_NOEXCEPT {
  329|       |#if defined(SPDLOG_NO_TLS)
  330|       |    return _thread_id();
  331|       |#else  // cache thread id in tls
  332|    343|    static thread_local const size_t tid = _thread_id();
  333|    343|    return tid;
  334|    343|#endif
  335|    343|}
_ZN6spdlog7details2os10_thread_idEv:
  277|      1|SPDLOG_INLINE size_t _thread_id() SPDLOG_NOEXCEPT {
  278|       |#ifdef _WIN32
  279|       |    return static_cast<size_t>(::GetCurrentThreadId());
  280|       |#elif defined(__linux__)
  281|       |#if defined(__ANDROID__) && defined(__ANDROID_API__) && (__ANDROID_API__ < 21)
  282|       |#define SYS_gettid __NR_gettid
  283|       |#endif
  284|      1|    return static_cast<size_t>(::syscall(SYS_gettid));
  285|       |#elif defined(_AIX)
  286|       |    struct __pthrdsinfo buf;
  287|       |    int reg_size = 0;
  288|       |    pthread_t pt = pthread_self();
  289|       |    int retval = pthread_getthrds_np(&pt, PTHRDSINFO_QUERY_TID, &buf, sizeof(buf), NULL, &reg_size);
  290|       |    int tid = (!retval) ? buf.__pi_tid : 0;
  291|       |    return static_cast<size_t>(tid);
  292|       |#elif defined(__DragonFly__) || defined(__FreeBSD__)
  293|       |    return static_cast<size_t>(::pthread_getthreadid_np());
  294|       |#elif defined(__NetBSD__)
  295|       |    return static_cast<size_t>(::_lwp_self());
  296|       |#elif defined(__OpenBSD__)
  297|       |    return static_cast<size_t>(::getthrid());
  298|       |#elif defined(__sun)
  299|       |    return static_cast<size_t>(::thr_self());
  300|       |#elif __APPLE__
  301|       |    uint64_t tid;
  302|       |// There is no pthread_threadid_np prior to Mac OS X 10.6, and it is not supported on any PPC,
  303|       |// including 10.6.8 Rosetta. __POWERPC__ is Apple-specific define encompassing ppc and ppc64.
  304|       |#ifdef MAC_OS_X_VERSION_MAX_ALLOWED
  305|       |    {
  306|       |#if (MAC_OS_X_VERSION_MAX_ALLOWED < 1060) || defined(__POWERPC__)
  307|       |        tid = pthread_mach_thread_np(pthread_self());
  308|       |#elif MAC_OS_X_VERSION_MIN_REQUIRED < 1060
  309|       |        if (&pthread_threadid_np) {
  310|       |            pthread_threadid_np(nullptr, &tid);
  311|       |        } else {
  312|       |            tid = pthread_mach_thread_np(pthread_self());
  313|       |        }
  314|       |#else
  315|       |        pthread_threadid_np(nullptr, &tid);
  316|       |#endif
  317|       |    }
  318|       |#else
  319|       |    pthread_threadid_np(nullptr, &tid);
  320|       |#endif
  321|       |    return static_cast<size_t>(tid);
  322|       |#else  // Default to standard C++11 (other Unix)
  323|       |    return static_cast<size_t>(std::hash<std::thread::id>()(std::this_thread::get_id()));
  324|       |#endif
  325|      1|}

_ZN6spdlog7details8registry8instanceEv:
  241|  1.05k|SPDLOG_INLINE registry &registry::instance() {
  242|  1.05k|    static registry s_instance;
  243|  1.05k|    return s_instance;
  244|  1.05k|}
_ZN6spdlog7details8registryC2Ev:
   34|      1|    : formatter_(new pattern_formatter()) {
   35|      1|#ifndef SPDLOG_DISABLE_DEFAULT_LOGGER
   36|       |// create default logger (ansicolor_stdout_sink_mt or wincolor_stdout_sink_mt in windows).
   37|       |#ifdef _WIN32
   38|       |    auto color_sink = std::make_shared<sinks::wincolor_stdout_sink_mt>();
   39|       |#else
   40|      1|    auto color_sink = std::make_shared<sinks::ansicolor_stdout_sink_mt>();
   41|      1|#endif
   42|       |
   43|      1|    const char *default_logger_name = "";
   44|      1|    default_logger_ = std::make_shared<logger>(default_logger_name, std::move(color_sink));
   45|      1|    loggers_[default_logger_name] = default_logger_;
   46|       |
   47|      1|#endif  // SPDLOG_DISABLE_DEFAULT_LOGGER
   48|      1|}
_ZN6spdlog7details8registryD2Ev:
   50|      1|SPDLOG_INLINE registry::~registry() = default;
_ZN6spdlog7details8registry18set_default_loggerENSt3__110shared_ptrINS_6loggerEEE:
  105|      1|SPDLOG_INLINE void registry::set_default_logger(std::shared_ptr<logger> new_default_logger) {
  106|      1|    std::lock_guard<std::mutex> lock(logger_map_mutex_);
  107|      1|    if (new_default_logger != nullptr) {
  ------------------
  |  Branch (107:9): [True: 1, False: 0]
  ------------------
  108|      1|        loggers_[new_default_logger->name()] = new_default_logger;
  109|      1|    }
  110|      1|    default_logger_ = std::move(new_default_logger);
  111|      1|}
_ZN6spdlog7details8registry13set_formatterENSt3__110unique_ptrINS_9formatterENS2_14default_deleteIS4_EEEE:
  124|    527|SPDLOG_INLINE void registry::set_formatter(std::unique_ptr<formatter> formatter) {
  125|    527|    std::lock_guard<std::mutex> lock(logger_map_mutex_);
  126|    527|    formatter_ = std::move(formatter);
  127|  1.05k|    for (auto &l : loggers_) {
  ------------------
  |  Branch (127:18): [True: 1.05k, False: 527]
  ------------------
  128|  1.05k|        l.second->set_formatter(formatter_->clone());
  129|  1.05k|    }
  130|    527|}
_ZN6spdlog7details8registry17initialize_loggerENSt3__110shared_ptrINS_6loggerEEE:
   62|      1|SPDLOG_INLINE void registry::initialize_logger(std::shared_ptr<logger> new_logger) {
   63|      1|    std::lock_guard<std::mutex> lock(logger_map_mutex_);
   64|      1|    new_logger->set_formatter(formatter_->clone());
   65|       |
   66|      1|    if (err_handler_) {
  ------------------
  |  Branch (66:9): [True: 0, False: 1]
  ------------------
   67|      0|        new_logger->set_error_handler(err_handler_);
   68|      0|    }
   69|       |
   70|       |    // set new level according to previously configured level or default level
   71|      1|    auto it = log_levels_.find(new_logger->name());
   72|      1|    auto new_level = it != log_levels_.end() ? it->second : global_log_level_;
  ------------------
  |  Branch (72:22): [True: 0, False: 1]
  ------------------
   73|      1|    new_logger->set_level(new_level);
   74|       |
   75|      1|    new_logger->flush_on(flush_level_);
   76|       |
   77|      1|    if (backtrace_n_messages_ > 0) {
  ------------------
  |  Branch (77:9): [True: 0, False: 1]
  ------------------
   78|      0|        new_logger->enable_backtrace(backtrace_n_messages_);
   79|      0|    }
   80|       |
   81|      1|    if (automatic_registration_) {
  ------------------
  |  Branch (81:9): [True: 1, False: 0]
  ------------------
   82|      1|        register_logger_(std::move(new_logger));
   83|      1|    }
   84|      1|}
_ZN6spdlog7details8registry16register_logger_ENSt3__110shared_ptrINS_6loggerEEE:
  259|      1|SPDLOG_INLINE void registry::register_logger_(std::shared_ptr<logger> new_logger) {
  260|      1|    const auto &logger_name = new_logger->name();
  261|      1|    throw_if_exists_(logger_name);
  262|      1|    loggers_[logger_name] = std::move(new_logger);
  263|      1|}
_ZN6spdlog7details8registry16throw_if_exists_ERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  253|      1|SPDLOG_INLINE void registry::throw_if_exists_(const std::string &logger_name) {
  254|      1|    if (loggers_.find(logger_name) != loggers_.end()) {
  ------------------
  |  Branch (254:9): [True: 0, False: 1]
  ------------------
  255|      0|        throw_spdlog_ex("logger with name '" + logger_name + "' already exists");
  256|      0|    }
  257|      1|}
_ZN6spdlog7details8registry15get_default_rawEv:
  101|    527|SPDLOG_INLINE logger *registry::get_default_raw() { return default_logger_.get(); }

_ZN6spdlog19synchronous_factory6createINS_5sinks15basic_file_sinkINSt3__15mutexEEEJRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEERbRKNS_19file_event_handlersERmEEENS4_10shared_ptrINS_6loggerEEESC_DpOT0_:
   15|      1|    static std::shared_ptr<logger> create(std::string logger_name, SinkArgs &&...args) {
   16|      1|        auto sink = std::make_shared<Sink>(std::forward<SinkArgs>(args)...);
   17|      1|        auto new_logger = std::make_shared<logger>(std::move(logger_name), std::move(sink));
   18|      1|        details::registry::instance().initialize_logger(new_logger);
   19|      1|        return new_logger;
   20|      1|    }

_ZN3fmt3v126detail13ignore_unusedIJbEEEvDpRKT_:
  361|  4.21k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZNK3fmt3v126detail6bufferIcE8capacityEv:
 1818|  9.08k|  constexpr auto capacity() const noexcept -> size_t { return capacity_; }
_ZN3fmt3v126detail6bufferIcE4dataEv:
 1821|   375k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZNK3fmt3v126detail6bufferIcE4sizeEv:
 1815|  23.2M|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIcEC2EPFvRS3_mEPcmm:
 1790|  23.3M|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIcE3setEPcm:
 1796|   366k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1797|   366k|    ptr_ = buf_data;
 1798|   366k|    capacity_ = buf_capacity;
 1799|   366k|  }
_ZNK3fmt3v1217basic_string_viewIcE4dataEv:
  564|  44.1M|  constexpr auto data() const noexcept -> const Char* { return data_; }
_ZN3fmt3v126detail6bufferIcE6appendIcEEvPKT_S7_:
 1855|  53.8M|      append(const U* begin, const U* end) {
 1856|  88.9M|    while (begin != end) {
  ------------------
  |  Branch (1856:12): [True: 35.1M, False: 53.8M]
  ------------------
 1857|  35.1M|      auto size = size_;
 1858|  35.1M|      auto free_cap = capacity_ - size;
 1859|  35.1M|      auto count = to_unsigned(end - begin);
 1860|  35.1M|      if (free_cap < count) {
  ------------------
  |  Branch (1860:11): [True: 2.23k, False: 35.1M]
  ------------------
 1861|  2.23k|        grow_(*this, size + count);
 1862|  2.23k|        size = size_;
 1863|  2.23k|        free_cap = capacity_ - size;
 1864|  2.23k|        count = count < free_cap ? count : free_cap;
  ------------------
  |  Branch (1864:17): [True: 2.06k, False: 167]
  ------------------
 1865|  2.23k|      }
 1866|       |      // A loop is faster than memcpy on small sizes.
 1867|  35.1M|      T* out = ptr_ + size;
 1868|  5.64G|      for (size_t i = 0; i < count; ++i) out[i] = begin[i];
  ------------------
  |  Branch (1868:26): [True: 5.61G, False: 35.1M]
  ------------------
 1869|  35.1M|      size_ += count;
 1870|  35.1M|      begin += count;
 1871|  35.1M|    }
 1872|  53.8M|  }
_ZN3fmt3v126detail11to_unsignedIlEENSt3__113make_unsignedIT_E4typeES5_:
  439|   157M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|   157M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|   315M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [Folded, False: 157M]
  |  |  |  Branch (395:7): [True: 157M, False: 0]
  |  |  ------------------
  |  |  396|   157M|         ? (void)0                                                          \
  |  |  397|   157M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|   157M|  return static_cast<make_unsigned_t<Int>>(value);
  442|   157M|}
_ZNK3fmt3v1217basic_string_viewIcE4sizeEv:
  567|  94.2M|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v1217basic_string_viewIcEC2INSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEETnNS4_9enable_ifIXaasr6detail18is_std_string_likeIT_EE5valuesr3std7is_sameINSC_10value_typeEcEE5valueEiE4typeELi0EEERKSC_:
  561|   677k|      : data_(s.data()), size_(s.size()) {}
_ZN3fmt3v1217basic_string_viewIcEC2EPKc:
  543|   344k|  FMT_CONSTEXPR20 basic_string_view(const Char* s) : data_(s) {
  544|   344k|#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
  545|   344k|    if (std::is_same<Char, char>::value && !detail::is_constant_evaluated()) {
  ------------------
  |  Branch (545:9): [True: 0, Folded]
  |  Branch (545:44): [True: 0, Folded]
  ------------------
  546|   344k|      size_ = __builtin_strlen(detail::narrow(s));  // strlen is not constexpr.
  547|   344k|      return;
  548|   344k|    }
  549|      0|#endif
  550|      0|    size_t len = 0;
  551|      0|    while (*s++) ++len;
  ------------------
  |  Branch (551:12): [True: 0, False: 0]
  ------------------
  552|      0|    size_ = len;
  553|      0|  }
_ZN3fmt3v126detail6narrowEPKc:
  469|   344k|constexpr FMT_ALWAYS_INLINE auto narrow(const char* s) -> const char* {
  470|   344k|  return s;
  471|   344k|}
_ZN3fmt3v126detail6bufferIcE5clearEv:
 1825|   118k|  FMT_CONSTEXPR void clear() { size_ = 0; }
_ZN3fmt3v126detail6bufferIcE9push_backERKc:
 1842|  3.09G|  FMT_CONSTEXPR void push_back(const T& value) {
 1843|  3.09G|    try_reserve(size_ + 1);
 1844|  3.09G|    ptr_[size_++] = value;
 1845|  3.09G|  }
_ZN3fmt3v126detail6bufferIcE11try_reserveEm:
 1838|  3.09G|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1839|  3.09G|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1839:9): [True: 1.97k, False: 3.09G]
  ------------------
 1840|  3.09G|  }
_ZN3fmt3v126detail11to_unsignedIiEENSt3__113make_unsignedIT_E4typeES5_:
  439|  8.37M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|  8.37M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|  16.7M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [Folded, False: 8.37M]
  |  |  |  Branch (395:7): [True: 8.37M, False: 0]
  |  |  ------------------
  |  |  396|  8.37M|         ? (void)0                                                          \
  |  |  397|  8.37M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|  8.37M|  return static_cast<make_unsigned_t<Int>>(value);
  442|  8.37M|}
_ZN3fmt3v1214basic_appenderIcEC2ERNS0_6detail6bufferIcEE:
 2491|  22.9M|  FMT_CONSTEXPR basic_appender(detail::buffer<T>& buf) : container(&buf) {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE3getEi:
 2646|  18.5k|  FMT_CONSTEXPR auto get(int id) const -> format_arg {
 2647|  18.5k|    auto arg = format_arg();
 2648|  18.5k|    if (!is_packed()) {
  ------------------
  |  Branch (2648:9): [True: 0, False: 18.5k]
  ------------------
 2649|      0|      if (id < max_size()) arg = args_[id];
  ------------------
  |  Branch (2649:11): [True: 0, False: 0]
  ------------------
 2650|      0|      return arg;
 2651|      0|    }
 2652|  18.5k|    if (static_cast<unsigned>(id) >= detail::max_packed_args) return arg;
  ------------------
  |  Branch (2652:9): [True: 9, False: 18.5k]
  ------------------
 2653|  18.5k|    arg.type_ = type(id);
 2654|  18.5k|    if (arg.type_ != detail::type::none_type) arg.value_ = values_[id];
  ------------------
  |  Branch (2654:9): [True: 18.5k, False: 4]
  ------------------
 2655|  18.5k|    return arg;
 2656|  18.5k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2Ev:
 2526|  18.5k|  constexpr basic_format_arg() : type_(detail::type::none_type) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ev:
 2201|  18.5k|  constexpr FMT_INLINE value() : no_value() {}
_ZN3fmt3v129monostateC2Ev:
  335|  18.5k|  constexpr monostate() {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE9is_packedEv:
 2602|  18.5k|  constexpr auto is_packed() const -> bool {
 2603|  18.5k|    return (desc_ & detail::is_unpacked_bit) == 0;
 2604|  18.5k|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE4typeEi:
 2609|  18.5k|  FMT_CONSTEXPR auto type(int index) const -> detail::type {
 2610|  18.5k|    int shift = index * detail::packed_arg_bits;
 2611|  18.5k|    unsigned mask = (1 << detail::packed_arg_bits) - 1;
 2612|  18.5k|    return static_cast<detail::type>((desc_ >> shift) & mask);
 2613|  18.5k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail21default_arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2544|  1.36k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  1.36k|    using detail::map;
 2546|  1.36k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 1.36k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 1.36k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 1.36k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 1.36k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 1.36k]
  ------------------
 2551|    891|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 891, False: 474]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 1.36k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 1.36k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 1.36k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 1.36k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 1.36k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 1.36k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 1.36k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 1.36k]
  ------------------
 2560|    474|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 474, False: 891]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 1.36k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 1.36k]
  ------------------
 2563|  1.36k|    }
 2564|      0|    return vis(monostate());
 2565|  1.36k|  }
_ZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_:
  503|  51.3M|    typename OutputIt::container_type& {
  504|  51.3M|  struct accessor : OutputIt {
  505|  51.3M|    FMT_CONSTEXPR20 accessor(OutputIt base) : OutputIt(base) {}
  506|  51.3M|    using OutputIt::container;
  507|  51.3M|  };
  508|  51.3M|  return *accessor(it).container;
  509|  51.3M|}
_ZZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_EN8accessorC2ES4_:
  505|  51.3M|    FMT_CONSTEXPR20 accessor(OutputIt base) : OutputIt(base) {}
_ZN3fmt3v126detail6bufferIcE10try_resizeEm:
 1829|  4.59k|  FMT_CONSTEXPR void try_resize(size_t count) {
 1830|  4.59k|    try_reserve(count);
 1831|  4.59k|    size_ = min_of(count, capacity_);
 1832|  4.59k|  }
_ZN3fmt3v126min_ofImEET_S2_S2_:
  347|  4.59k|template <typename T> constexpr auto min_of(T a, T b) -> T {
  348|  4.59k|  return a < b ? a : b;
  ------------------
  |  Branch (348:10): [True: 4.59k, False: 0]
  ------------------
  349|  4.59k|}
_ZN3fmt3v1214basic_appenderIcEppEi:
 2499|  3.08G|  FMT_CONSTEXPR20 auto operator++(int) -> basic_appender { return *this; }
_ZN3fmt3v1214basic_appenderIcEdeEv:
 2497|  3.08G|  FMT_CONSTEXPR20 auto operator*() -> basic_appender& { return *this; }
_ZN3fmt3v1214basic_appenderIcEaSEc:
 2493|  3.08G|  FMT_CONSTEXPR20 auto operator=(T c) -> basic_appender& {
 2494|  3.08G|    container->push_back(c);
 2495|  3.08G|    return *this;
 2496|  3.08G|  }
_ZN3fmt3v126detail4copyIcPcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaasr23is_back_insert_iteratorIT1_EE5valuesr41has_back_insert_iterator_container_appendIS8_T0_EE5valueEiE4typeELi0EEES8_S9_S9_S8_:
 2084|  30.3M|    -> OutputIt {
 2085|  30.3M|  get_container(out).append(begin, end);
 2086|  30.3M|  return out;
 2087|  30.3M|}
_ZNK3fmt3v1211basic_specs4typeEv:
  744|  17.7k|  constexpr auto type() const -> presentation_type {
  745|  17.7k|    return static_cast<presentation_type>(data_ & type_mask);
  746|  17.7k|  }
_ZNK3fmt3v1211basic_specs9localizedEv:
  792|  11.6k|  constexpr auto localized() const -> bool {
  793|  11.6k|    return (data_ & localized_mask) != 0;
  794|  11.6k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitIRNS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 2544|  3.74k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  3.74k|    using detail::map;
 2546|  3.74k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 3.74k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 3.74k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 3.74k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 3.74k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 3.74k]
  ------------------
 2551|  3.74k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 3.74k, False: 0]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 3.74k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 3.74k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 3.74k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 3.74k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 3.74k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 3.74k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 3.74k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 3.74k]
  ------------------
 2560|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 0, False: 3.74k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 3.74k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 3.74k]
  ------------------
 2563|  3.74k|    }
 2564|      0|    return vis(monostate());
 2565|  3.74k|  }
_ZNK3fmt3v1211basic_specs3altEv:
  788|  6.79k|  constexpr auto alt() const -> bool { return (data_ & alternate_mask) != 0; }
_ZNK3fmt3v1211basic_specs5upperEv:
  785|  3.61k|  constexpr auto upper() const -> bool { return (data_ & uppercase_mask) != 0; }
_ZNK3fmt3v1211basic_specs5alignEv:
  751|  15.0k|  constexpr auto align() const -> align {
  752|  15.0k|    return static_cast<fmt::align>((data_ & align_mask) >> align_shift);
  753|  15.0k|  }
_ZNK3fmt3v1211basic_specs9fill_sizeEv:
  797|  13.2k|  constexpr auto fill_size() const -> size_t {
  798|  13.2k|    return (data_ & fill_size_mask) >> fill_size_shift;
  799|  13.2k|  }
_ZNK3fmt3v1211basic_specs9fill_unitIcEET_v:
  810|  2.15k|  template <typename Char> constexpr auto fill_unit() const -> Char {
  811|  2.15k|    using uchar = unsigned char;
  812|  2.15k|    return static_cast<Char>(static_cast<uchar>(fill_data_[0]) |
  813|  2.15k|                             (static_cast<uchar>(fill_data_[1]) << 8) |
  814|  2.15k|                             (static_cast<uchar>(fill_data_[2]) << 16));
  815|  2.15k|  }
_ZNK3fmt3v1211basic_specs4fillIcTnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEEPKS5_v:
  802|    144|  constexpr auto fill() const -> const Char* {
  803|    144|    return fill_data_;
  804|    144|  }
_ZN3fmt3v126detail4copyIcPKcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaasr23is_back_insert_iteratorIT1_EE5valuesr41has_back_insert_iterator_container_appendIS9_T0_EE5valueEiE4typeELi0EEES9_SA_SA_S9_:
 2084|  20.9M|    -> OutputIt {
 2085|  20.9M|  get_container(out).append(begin, end);
 2086|  20.9M|  return out;
 2087|  20.9M|}
_ZN3fmt3v126detail11to_unsignedImEENSt3__113make_unsignedIT_E4typeES5_:
  439|  49.7M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|  49.7M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|  49.7M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [True: 49.7M, Folded]
  |  |  |  Branch (395:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  396|  49.7M|         ? (void)0                                                          \
  |  |  397|  49.7M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|  49.7M|  return static_cast<make_unsigned_t<Int>>(value);
  442|  49.7M|}
_ZN3fmt3v1217basic_string_viewIcEC2EPKcm:
  535|   134M|      : data_(s), size_(count) {}
_ZNK3fmt3v1217basic_string_viewIcE5beginEv:
  569|  76.2M|  constexpr auto begin() const noexcept -> iterator { return data_; }
_ZNK3fmt3v1217basic_string_viewIcE3endEv:
  570|   132M|  constexpr auto end() const noexcept -> iterator { return data_ + size_; }
_ZN3fmt3v126detail6bufferIiE4dataEv:
 1821|  3.45k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIiEC2EPFvRS3_mEPimm:
 1790|  3.45k|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIiE3setEPim:
 1796|  3.45k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1797|  3.45k|    ptr_ = buf_data;
 1798|  3.45k|    capacity_ = buf_capacity;
 1799|  3.45k|  }
_ZN3fmt3v126detail6bufferIiE9push_backERKi:
 1842|  3.45k|  FMT_CONSTEXPR void push_back(const T& value) {
 1843|  3.45k|    try_reserve(size_ + 1);
 1844|  3.45k|    ptr_[size_++] = value;
 1845|  3.45k|  }
_ZN3fmt3v126detail6bufferIiE11try_reserveEm:
 1838|  3.45k|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1839|  3.45k|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1839:9): [True: 0, False: 3.45k]
  ------------------
 1840|  3.45k|  }
_ZNK3fmt3v126detail6bufferIiE4sizeEv:
 1815|  3.45k|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIiEixIiEERiT_:
 1874|  86.7k|  template <typename Idx> FMT_CONSTEXPR auto operator[](Idx index) -> T& {
 1875|  86.7k|    return ptr_[index];
 1876|  86.7k|  }
_ZNK3fmt3v1217basic_string_viewIcEixEm:
  572|  88.8k|  constexpr auto operator[](size_t pos) const noexcept -> const Char& {
  573|  88.8k|    return data_[pos];
  574|  88.8k|  }
_ZNK3fmt3v1211basic_specs4signEv:
  778|  11.6k|  constexpr auto sign() const -> sign {
  779|  11.6k|    return static_cast<fmt::sign>((data_ & sign_mask) >> sign_shift);
  780|  11.6k|  }
_ZN3fmt3v1212format_specsC2Ev:
  850|  17.0k|  constexpr format_specs() : width(0), precision(-1) {}
_ZN3fmt3v1211basic_specs8set_fillEc:
  817|  1.42k|  FMT_CONSTEXPR void set_fill(char c) {
  818|  1.42k|    fill_data_[0] = c;
  819|  1.42k|    set_fill_size(1);
  820|  1.42k|  }
_ZN3fmt3v1211basic_specs13set_fill_sizeEm:
  738|  3.17k|  FMT_CONSTEXPR void set_fill_size(size_t size) {
  739|  3.17k|    data_ = (data_ & ~fill_size_mask) |
  740|  3.17k|            (static_cast<unsigned>(size) << fill_size_shift);
  741|  3.17k|  }
_ZN3fmt3v1211basic_specs7set_altEv:
  789|  3.28k|  FMT_CONSTEXPR void set_alt() { data_ |= alternate_mask; }
_ZNK3fmt3v126detail12string_valueIcE3strEv:
 2155|  5.83k|  auto str() const -> basic_string_view<Char> { return {data, size}; }
_ZN3fmt3v126detail19parse_format_stringIcNS1_14format_handlerIcEEEEvNS0_17basic_string_viewIT_EEOT0_:
 1657|    527|                                       Handler&& handler) {
 1658|    527|  auto begin = fmt.data(), end = begin + fmt.size();
 1659|    527|  auto p = begin;
 1660|  5.14M|  while (p != end) {
  ------------------
  |  Branch (1660:10): [True: 5.14M, False: 512]
  ------------------
 1661|  5.14M|    auto c = *p++;
 1662|  5.14M|    if (c == '{') {
  ------------------
  |  Branch (1662:9): [True: 18.7k, False: 5.12M]
  ------------------
 1663|  18.7k|      handler.on_text(begin, p - 1);
 1664|  18.7k|      begin = p = parse_replacement_field(p - 1, end, handler);
 1665|  5.12M|    } else if (c == '}') {
  ------------------
  |  Branch (1665:16): [True: 40, False: 5.12M]
  ------------------
 1666|     40|      if (p == end || *p != '}')
  ------------------
  |  Branch (1666:11): [True: 0, False: 40]
  |  Branch (1666:23): [True: 15, False: 25]
  ------------------
 1667|     15|        return handler.on_error("unmatched '}' in format string");
 1668|     25|      handler.on_text(begin, p);
 1669|     25|      begin = ++p;
 1670|     25|    }
 1671|  5.14M|  }
 1672|    512|  handler.on_text(begin, end);
 1673|    512|}
_ZNK3fmt3v127context3outEv:
 2713|  37.6k|  FMT_CONSTEXPR auto out() const -> iterator { return out_; }
_ZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_:
 1612|  18.7k|    -> const Char* {
 1613|  18.7k|  ++begin;
 1614|  18.7k|  if (begin == end) {
  ------------------
  |  Branch (1614:7): [True: 2, False: 18.7k]
  ------------------
 1615|      2|    handler.on_error("invalid format string");
 1616|      2|    return end;
 1617|      2|  }
 1618|  18.7k|  int arg_id = 0;
 1619|  18.7k|  switch (*begin) {
 1620|      3|  case '}':
  ------------------
  |  Branch (1620:3): [True: 3, False: 18.7k]
  ------------------
 1621|      3|    handler.on_replacement_field(handler.on_arg_id(), begin);
 1622|      3|    return begin + 1;
 1623|    222|  case '{': handler.on_text(begin, begin + 1); return begin + 1;
  ------------------
  |  Branch (1623:3): [True: 222, False: 18.4k]
  ------------------
 1624|     44|  case ':': arg_id = handler.on_arg_id(); break;
  ------------------
  |  Branch (1624:3): [True: 44, False: 18.6k]
  ------------------
 1625|  18.4k|  default:  {
  ------------------
  |  Branch (1625:3): [True: 18.4k, False: 269]
  ------------------
 1626|  18.4k|    struct id_adapter {
 1627|  18.4k|      Handler& handler;
 1628|  18.4k|      int arg_id;
 1629|       |
 1630|  18.4k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
 1631|  18.4k|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1632|  18.4k|        arg_id = handler.on_arg_id(id);
 1633|  18.4k|      }
 1634|  18.4k|    } adapter = {handler, 0};
 1635|  18.4k|    begin = parse_arg_id(begin, end, adapter);
 1636|  18.4k|    arg_id = adapter.arg_id;
 1637|  18.4k|    Char c = begin != end ? *begin : Char();
  ------------------
  |  Branch (1637:14): [True: 18.3k, False: 45]
  ------------------
 1638|  18.4k|    if (c == '}') {
  ------------------
  |  Branch (1638:9): [True: 1.36k, False: 17.0k]
  ------------------
 1639|  1.36k|      handler.on_replacement_field(arg_id, begin);
 1640|  1.36k|      return begin + 1;
 1641|  1.36k|    }
 1642|  17.0k|    if (c != ':') {
  ------------------
  |  Branch (1642:9): [True: 0, False: 17.0k]
  ------------------
 1643|      0|      handler.on_error("missing '}' in format string");
 1644|      0|      return end;
 1645|      0|    }
 1646|  17.0k|    break;
 1647|  17.0k|  }
 1648|  18.7k|  }
 1649|  17.0k|  begin = handler.on_format_specs(arg_id, begin + 1, end);
 1650|  17.0k|  if (begin == end || *begin != '}')
  ------------------
  |  Branch (1650:7): [True: 82, False: 16.9k]
  |  Branch (1650:23): [True: 29, False: 16.9k]
  ------------------
 1651|     55|    return handler.on_error("unknown format specifier"), end;
 1652|  17.0k|  return begin + 1;
 1653|  17.0k|}
_ZNK3fmt3v127context3argEi:
 2703|  18.5k|  FMT_CONSTEXPR auto arg(int id) const -> format_arg { return args_.get(id); }
_ZN3fmt3v1213parse_contextIcE11next_arg_idEv:
  888|     47|  FMT_CONSTEXPR auto next_arg_id() -> int {
  889|     47|    if (next_arg_id_ < 0) {
  ------------------
  |  Branch (889:9): [True: 11, False: 36]
  ------------------
  890|     11|      report_error("cannot switch from manual to automatic argument indexing");
  891|     11|      return 0;
  892|     11|    }
  893|     36|    int id = next_arg_id_++;
  894|     36|    do_check_arg_id(id);
  895|     36|    return id;
  896|     47|  }
_ZN3fmt3v1213parse_contextIcE15do_check_arg_idEi:
 2464|  18.5k|FMT_CONSTEXPR void parse_context<Char>::do_check_arg_id(int arg_id) {
 2465|       |  // Argument id is only checked at compile time during parsing because
 2466|       |  // formatting has its own validation.
 2467|  18.5k|  if (detail::is_constant_evaluated() && use_constexpr_cast) {
  ------------------
  |  Branch (2467:7): [Folded, False: 18.5k]
  |  Branch (2467:42): [True: 0, Folded]
  ------------------
 2468|      0|    auto ctx = static_cast<detail::compile_parse_context<Char>*>(this);
 2469|      0|    if (arg_id >= ctx->num_args()) report_error("argument not found");
  ------------------
  |  Branch (2469:9): [True: 0, False: 0]
  ------------------
 2470|      0|  }
 2471|  18.5k|}
_ZN3fmt3v126detail12parse_arg_idIcRZNS1_23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S9_S9_OT0_E10id_adapterEES9_S9_S9_SB_:
 1359|  18.4k|                                Handler&& handler) -> const Char* {
 1360|  18.4k|  Char c = *begin;
 1361|  18.4k|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1361:7): [True: 18.4k, False: 6]
  |  Branch (1361:19): [True: 18.4k, False: 21]
  ------------------
 1362|  18.4k|    int index = 0;
 1363|  18.4k|    if (c != '0')
  ------------------
  |  Branch (1363:9): [True: 10.2k, False: 8.15k]
  ------------------
 1364|  10.2k|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1365|  8.15k|    else
 1366|  8.15k|      ++begin;
 1367|  18.4k|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1367:9): [True: 1, False: 18.4k]
  |  Branch (1367:26): [True: 17.0k, False: 1.36k]
  |  Branch (1367:43): [True: 17, False: 17.0k]
  ------------------
 1368|     18|      report_error("invalid format string");
 1369|  18.3k|    else
 1370|  18.3k|      handler.on_index(index);
 1371|  18.4k|    return begin;
 1372|  18.4k|  }
 1373|     27|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  290|     27|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1373:7): [Folded, False: 27]
  |  Branch (1373:32): [True: 12, False: 15]
  ------------------
 1374|     12|    report_error("invalid format string");
 1375|     12|    return begin;
 1376|     12|  }
 1377|     15|  auto it = begin;
 1378|   109k|  do {
 1379|   109k|    ++it;
 1380|   109k|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1380:12): [True: 109k, False: 4]
  |  Branch (1380:26): [True: 109k, False: 12]
  |  Branch (1380:49): [True: 10, False: 2]
  |  Branch (1380:63): [True: 1, False: 9]
  ------------------
 1381|     15|  handler.on_name({begin, to_unsigned(it - begin)});
 1382|     15|  return it;
 1383|     27|}
_ZN3fmt3v126detail21parse_nonnegative_intIcEEiRPKT_S5_i:
 1323|  18.2k|                                         int error_value) noexcept -> int {
 1324|  18.2k|  FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', "");
  ------------------
  |  |  395|  72.8k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [True: 18.2k, False: 0]
  |  |  |  Branch (395:7): [True: 18.2k, False: 0]
  |  |  |  Branch (395:7): [True: 18.2k, False: 0]
  |  |  ------------------
  |  |  396|  18.2k|         ? (void)0                                                          \
  |  |  397|  18.2k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1325|  18.2k|  unsigned value = 0, prev = 0;
 1326|  18.2k|  auto p = begin;
 1327|  78.8k|  do {
 1328|  78.8k|    prev = value;
 1329|  78.8k|    value = value * 10 + unsigned(*p - '0');
 1330|  78.8k|    ++p;
 1331|  78.8k|  } while (p != end && '0' <= *p && *p <= '9');
  ------------------
  |  Branch (1331:12): [True: 78.8k, False: 3]
  |  Branch (1331:24): [True: 78.8k, False: 15]
  |  Branch (1331:37): [True: 60.6k, False: 18.2k]
  ------------------
 1332|  18.2k|  auto num_digits = p - begin;
 1333|  18.2k|  begin = p;
 1334|  18.2k|  int digits10 = static_cast<int>(sizeof(int) * CHAR_BIT * 3 / 10);
 1335|  18.2k|  if (num_digits <= digits10) return static_cast<int>(value);
  ------------------
  |  Branch (1335:7): [True: 18.2k, False: 11]
  ------------------
 1336|       |  // Check for overflow.
 1337|     11|  unsigned max = INT_MAX;
 1338|     11|  return num_digits == digits10 + 1 &&
  ------------------
  |  Branch (1338:10): [True: 4, False: 7]
  ------------------
 1339|      4|                 prev * 10ull + unsigned(p[-1] - '0') <= max
  ------------------
  |  Branch (1339:18): [True: 1, False: 3]
  ------------------
 1340|     11|             ? static_cast<int>(value)
 1341|     11|             : error_value;
 1342|  18.2k|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter8on_indexEi:
 1630|  18.3k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
_ZN3fmt3v1213parse_contextIcE12check_arg_idEi:
  900|  18.5k|  FMT_CONSTEXPR void check_arg_id(int id) {
  901|  18.5k|    if (next_arg_id_ > 0) {
  ------------------
  |  Branch (901:9): [True: 0, False: 18.5k]
  ------------------
  902|      0|      report_error("cannot switch from automatic to manual argument indexing");
  903|      0|      return;
  904|      0|    }
  905|  18.5k|    next_arg_id_ = -1;
  906|  18.5k|    do_check_arg_id(id);
  907|  18.5k|  }
_ZN3fmt3v126detail13is_name_startIcEEbT_:
 1353|   230k|template <typename Char> constexpr auto is_name_start(Char c) -> bool {
 1354|   230k|  return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '_';
  ------------------
  |  Branch (1354:11): [True: 229k, False: 86]
  |  Branch (1354:23): [True: 229k, False: 7]
  |  Branch (1354:37): [True: 77, False: 16]
  |  Branch (1354:49): [True: 67, False: 10]
  |  Branch (1354:62): [True: 0, False: 26]
  ------------------
 1355|   230k|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter7on_nameENS0_17basic_string_viewIcEE:
 1631|     15|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1632|     15|        arg_id = handler.on_arg_id(id);
 1633|     15|      }
_ZN3fmt3v1213parse_contextIcE12check_arg_idENS0_17basic_string_viewIcEE:
  908|     22|  FMT_CONSTEXPR void check_arg_id(basic_string_view<Char>) {
  909|     22|    next_arg_id_ = -1;
  910|     22|  }
_ZNK3fmt3v127context6arg_idENS0_17basic_string_viewIcEE:
 2707|     15|  FMT_CONSTEXPR auto arg_id(string_view name) const -> int {
 2708|     15|    return args_.get_id(name);
 2709|     15|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE6get_idIcEEiNS0_17basic_string_viewIT_EE:
 2665|     15|  FMT_CONSTEXPR auto get_id(basic_string_view<Char> name) const -> int {
 2666|     15|    if (!has_named_args()) return -1;
  ------------------
  |  Branch (2666:9): [True: 15, False: 0]
  ------------------
 2667|      0|    const auto& named_args =
 2668|      0|        (is_packed() ? values_[-1] : args_[-1].value_).named_args;
  ------------------
  |  Branch (2668:10): [True: 0, False: 0]
  ------------------
 2669|      0|    for (size_t i = 0; i < named_args.size; ++i) {
  ------------------
  |  Branch (2669:24): [True: 0, False: 0]
  ------------------
 2670|      0|      if (named_args.data[i].name == name) return named_args.data[i].id;
  ------------------
  |  Branch (2670:11): [True: 0, False: 0]
  ------------------
 2671|      0|    }
 2672|      0|    return -1;
 2673|      0|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE14has_named_argsEv:
 2605|     15|  constexpr auto has_named_args() const -> bool {
 2606|     15|    return (desc_ & detail::has_named_args_bit) != 0;
 2607|     15|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEEcvbEv:
 2533|  17.1k|  constexpr explicit operator bool() const noexcept {
 2534|  17.1k|    return type_ != detail::type::none_type;
 2535|  17.1k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEE13format_customEPKcRNS0_13parse_contextIcEERS2_:
 2569|  17.0k|      -> bool {
 2570|  17.0k|    if (type_ != detail::type::custom_type) return false;
  ------------------
  |  Branch (2570:9): [True: 17.0k, False: 0]
  ------------------
 2571|      0|    parse_ctx.advance_to(parse_begin);
 2572|      0|    value_.custom.format(value_.custom.value, parse_ctx, ctx);
 2573|      0|    return true;
 2574|  17.0k|  }
_ZN3fmt3v126detail7arg_refIcEC2Ei:
 1290|  34.2k|  FMT_CONSTEXPR arg_ref(int idx = 0) : index(idx) {}
_ZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeE:
 1474|  17.0k|    -> const Char* {
 1475|  17.0k|  auto c = '\0';
 1476|  17.0k|  if (end - begin > 1) {
  ------------------
  |  Branch (1476:7): [True: 17.0k, False: 18]
  ------------------
 1477|  17.0k|    auto next = to_ascii(begin[1]);
 1478|  17.0k|    c = parse_align(next) == align::none ? to_ascii(*begin) : '\0';
  ------------------
  |  Branch (1478:9): [True: 14.5k, False: 2.45k]
  ------------------
 1479|  17.0k|  } else {
 1480|     18|    if (begin == end) return begin;
  ------------------
  |  Branch (1480:9): [True: 8, False: 10]
  ------------------
 1481|     10|    c = to_ascii(*begin);
 1482|     10|  }
 1483|       |
 1484|  17.0k|  struct {
 1485|  17.0k|    state current_state = state::start;
 1486|  17.0k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1487|  17.0k|      if (current_state >= s || !valid)
 1488|  17.0k|        report_error("invalid format specifier");
 1489|  17.0k|      current_state = s;
 1490|  17.0k|    }
 1491|  17.0k|  } enter_state;
 1492|       |
 1493|  17.0k|  using pres = presentation_type;
 1494|  17.0k|  constexpr auto integral_set = sint_set | uint_set | bool_set | char_set;
 1495|  17.0k|  struct {
 1496|  17.0k|    const Char*& begin;
 1497|  17.0k|    format_specs& specs;
 1498|  17.0k|    type arg_type;
 1499|       |
 1500|  17.0k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1501|  17.0k|      if (!in(arg_type, set)) report_error("invalid format specifier");
 1502|  17.0k|      specs.set_type(pres_type);
 1503|  17.0k|      return begin + 1;
 1504|  17.0k|    }
 1505|  17.0k|  } parse_presentation_type{begin, specs, arg_type};
 1506|       |
 1507|  37.2k|  for (;;) {
 1508|  37.2k|    switch (c) {
 1509|  1.53k|    case '<':
  ------------------
  |  Branch (1509:5): [True: 1.53k, False: 35.7k]
  ------------------
 1510|  1.69k|    case '>':
  ------------------
  |  Branch (1510:5): [True: 165, False: 37.1k]
  ------------------
 1511|  1.78k|    case '^':
  ------------------
  |  Branch (1511:5): [True: 90, False: 37.1k]
  ------------------
 1512|  1.78k|      enter_state(state::align);
 1513|  1.78k|      specs.set_align(parse_align(c));
 1514|  1.78k|      ++begin;
 1515|  1.78k|      break;
 1516|      8|    case '+':
  ------------------
  |  Branch (1516:5): [True: 8, False: 37.2k]
  ------------------
 1517|      8|    case ' ':
  ------------------
  |  Branch (1517:5): [True: 0, False: 37.2k]
  ------------------
 1518|      8|      specs.set_sign(c == ' ' ? sign::space : sign::plus);
  ------------------
  |  Branch (1518:22): [True: 0, False: 8]
  ------------------
 1519|      8|      FMT_FALLTHROUGH;
  ------------------
  |  |  181|      8|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
 1520|      8|    case '-':
  ------------------
  |  Branch (1520:5): [True: 0, False: 37.2k]
  ------------------
 1521|      8|      enter_state(state::sign, in(arg_type, sint_set | float_set));
 1522|      8|      ++begin;
 1523|      8|      break;
 1524|  3.28k|    case '#':
  ------------------
  |  Branch (1524:5): [True: 3.28k, False: 34.0k]
  ------------------
 1525|  3.28k|      enter_state(state::hash, is_arithmetic_type(arg_type));
 1526|  3.28k|      specs.set_alt();
 1527|  3.28k|      ++begin;
 1528|  3.28k|      break;
 1529|  1.60k|    case '0':
  ------------------
  |  Branch (1529:5): [True: 1.60k, False: 35.6k]
  ------------------
 1530|  1.60k|      enter_state(state::zero);
 1531|  1.60k|      if (!is_arithmetic_type(arg_type))
  ------------------
  |  Branch (1531:11): [True: 0, False: 1.60k]
  ------------------
 1532|      0|        report_error("format specifier requires numeric argument");
 1533|  1.60k|      if (specs.align() == align::none) {
  ------------------
  |  Branch (1533:11): [True: 1.42k, False: 185]
  ------------------
 1534|       |        // Ignore 0 if align is specified for compatibility with std::format.
 1535|  1.42k|        specs.set_align(align::numeric);
 1536|  1.42k|        specs.set_fill('0');
 1537|  1.42k|      }
 1538|  1.60k|      ++begin;
 1539|  1.60k|      break;
 1540|       |      // clang-format off
 1541|  2.83k|    case '1': case '2': case '3': case '4': case '5':
  ------------------
  |  Branch (1541:5): [True: 619, False: 36.6k]
  |  Branch (1541:15): [True: 517, False: 36.7k]
  |  Branch (1541:25): [True: 946, False: 36.3k]
  |  Branch (1541:35): [True: 243, False: 37.0k]
  |  Branch (1541:45): [True: 506, False: 36.7k]
  ------------------
 1542|  7.34k|    case '6': case '7': case '8': case '9': case '{':
  ------------------
  |  Branch (1542:5): [True: 703, False: 36.5k]
  |  Branch (1542:15): [True: 3.26k, False: 34.0k]
  |  Branch (1542:25): [True: 225, False: 37.0k]
  |  Branch (1542:35): [True: 180, False: 37.1k]
  |  Branch (1542:45): [True: 140, False: 37.1k]
  ------------------
 1543|       |      // clang-format on
 1544|  7.34k|      enter_state(state::width);
 1545|  7.34k|      begin = parse_width(begin, end, specs, specs.width_ref, ctx);
 1546|  7.34k|      break;
 1547|    751|    case '.':
  ------------------
  |  Branch (1547:5): [True: 751, False: 36.5k]
  ------------------
 1548|    751|      enter_state(state::precision,
 1549|    751|                  in(arg_type, float_set | string_set | cstring_set));
 1550|    751|      begin = parse_precision(begin, end, specs, specs.precision_ref, ctx);
 1551|    751|      break;
 1552|  3.74k|    case 'L':
  ------------------
  |  Branch (1552:5): [True: 3.74k, False: 33.5k]
  ------------------
 1553|  3.74k|      enter_state(state::locale, is_arithmetic_type(arg_type));
 1554|  3.74k|      specs.set_localized();
 1555|  3.74k|      ++begin;
 1556|  3.74k|      break;
 1557|    884|    case 'd': return parse_presentation_type(pres::dec, integral_set);
  ------------------
  |  Branch (1557:5): [True: 884, False: 36.3k]
  ------------------
 1558|    864|    case 'X': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|    864|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1558:5): [True: 864, False: 36.4k]
  ------------------
 1559|  2.00k|    case 'x': return parse_presentation_type(pres::hex, integral_set);
  ------------------
  |  Branch (1559:5): [True: 1.14k, False: 36.1k]
  ------------------
 1560|  2.55k|    case 'o': return parse_presentation_type(pres::oct, integral_set);
  ------------------
  |  Branch (1560:5): [True: 2.55k, False: 34.7k]
  ------------------
 1561|    157|    case 'B': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|    157|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1561:5): [True: 157, False: 37.1k]
  ------------------
 1562|  2.23k|    case 'b': return parse_presentation_type(pres::bin, integral_set);
  ------------------
  |  Branch (1562:5): [True: 2.07k, False: 35.2k]
  ------------------
 1563|      0|    case 'E': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1563:5): [True: 0, False: 37.2k]
  ------------------
 1564|      0|    case 'e': return parse_presentation_type(pres::exp, float_set);
  ------------------
  |  Branch (1564:5): [True: 0, False: 37.2k]
  ------------------
 1565|      0|    case 'F': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1565:5): [True: 0, False: 37.2k]
  ------------------
 1566|      0|    case 'f': return parse_presentation_type(pres::fixed, float_set);
  ------------------
  |  Branch (1566:5): [True: 0, False: 37.2k]
  ------------------
 1567|      0|    case 'G': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1567:5): [True: 0, False: 37.2k]
  ------------------
 1568|      0|    case 'g': return parse_presentation_type(pres::general, float_set);
  ------------------
  |  Branch (1568:5): [True: 0, False: 37.2k]
  ------------------
 1569|      0|    case 'A': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1569:5): [True: 0, False: 37.2k]
  ------------------
 1570|      0|    case 'a': return parse_presentation_type(pres::hexfloat, float_set);
  ------------------
  |  Branch (1570:5): [True: 0, False: 37.2k]
  ------------------
 1571|    744|    case 'c':
  ------------------
  |  Branch (1571:5): [True: 744, False: 36.5k]
  ------------------
 1572|    744|      if (arg_type == type::bool_type) report_error("invalid format specifier");
  ------------------
  |  Branch (1572:11): [True: 0, False: 744]
  ------------------
 1573|    744|      return parse_presentation_type(pres::chr, integral_set);
 1574|      1|    case 's':
  ------------------
  |  Branch (1574:5): [True: 1, False: 37.2k]
  ------------------
 1575|      1|      return parse_presentation_type(pres::string,
 1576|      1|                                     bool_set | string_set | cstring_set);
 1577|      0|    case 'p':
  ------------------
  |  Branch (1577:5): [True: 0, False: 37.2k]
  ------------------
 1578|      0|      return parse_presentation_type(pres::pointer, pointer_set | cstring_set);
 1579|  4.88k|    case '?':
  ------------------
  |  Branch (1579:5): [True: 4.88k, False: 32.3k]
  ------------------
 1580|  4.88k|      return parse_presentation_type(pres::debug,
 1581|  4.88k|                                     char_set | string_set | cstring_set);
 1582|  2.83k|    case '}': return begin;
  ------------------
  |  Branch (1582:5): [True: 2.83k, False: 34.4k]
  ------------------
 1583|  2.61k|    default:  {
  ------------------
  |  Branch (1583:5): [True: 2.61k, False: 34.6k]
  ------------------
 1584|  2.61k|      if (*begin == '}') return begin;
  ------------------
  |  Branch (1584:11): [True: 856, False: 1.75k]
  ------------------
 1585|       |      // Parse fill and alignment.
 1586|  1.75k|      auto fill_end = begin + code_point_length(begin);
 1587|  1.75k|      if (end - fill_end <= 0) {
  ------------------
  |  Branch (1587:11): [True: 1, False: 1.75k]
  ------------------
 1588|      1|        report_error("invalid format specifier");
 1589|      1|        return begin;
 1590|      1|      }
 1591|  1.75k|      if (*begin == '{') {
  ------------------
  |  Branch (1591:11): [True: 0, False: 1.75k]
  ------------------
 1592|      0|        report_error("invalid fill character '{'");
 1593|      0|        return begin;
 1594|      0|      }
 1595|  1.75k|      auto alignment = parse_align(to_ascii(*fill_end));
 1596|  1.75k|      enter_state(state::align, alignment != align::none);
 1597|  1.75k|      specs.set_fill(
 1598|  1.75k|          basic_string_view<Char>(begin, to_unsigned(fill_end - begin)));
 1599|  1.75k|      specs.set_align(alignment);
 1600|  1.75k|      begin = fill_end + 1;
 1601|  1.75k|    }
 1602|  37.2k|    }
 1603|  20.2k|    if (begin == end) return begin;
  ------------------
  |  Branch (1603:9): [True: 6, False: 20.2k]
  ------------------
 1604|  20.2k|    c = to_ascii(*begin);
 1605|  20.2k|  }
 1606|  17.0k|}
_ZN3fmt3v126detail8to_asciiIcTnNSt3__19enable_ifIXsr3std11is_integralIT_EE5valueEiE4typeELi0EEEcS5_:
 1307|  53.6k|constexpr auto to_ascii(Char c) -> char {
 1308|  53.6k|  return c <= 0xff ? static_cast<char>(c) : '\0';
  ------------------
  |  Branch (1308:10): [True: 53.6k, False: 0]
  ------------------
 1309|  53.6k|}
_ZN3fmt3v126detail11parse_alignEc:
 1344|  20.5k|FMT_CONSTEXPR inline auto parse_align(char c) -> align {
 1345|  20.5k|  switch (c) {
  ------------------
  |  Branch (1345:11): [True: 5.99k, False: 14.5k]
  ------------------
 1346|  2.12k|  case '<': return align::left;
  ------------------
  |  Branch (1346:3): [True: 2.12k, False: 18.4k]
  ------------------
 1347|  3.67k|  case '>': return align::right;
  ------------------
  |  Branch (1347:3): [True: 3.67k, False: 16.8k]
  ------------------
 1348|    189|  case '^': return align::center;
  ------------------
  |  Branch (1348:3): [True: 189, False: 20.3k]
  ------------------
 1349|  20.5k|  }
 1350|  14.5k|  return align::none;
 1351|  20.5k|}
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt_clENS1_5stateEb:
 1486|  20.2k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1487|  20.2k|      if (current_state >= s || !valid)
  ------------------
  |  Branch (1487:11): [True: 8, False: 20.2k]
  |  Branch (1487:33): [True: 10, False: 20.2k]
  ------------------
 1488|     18|        report_error("invalid format specifier");
 1489|  20.2k|      current_state = s;
 1490|  20.2k|    }
_ZN3fmt3v1211basic_specs9set_alignENS0_5alignE:
  754|  4.95k|  FMT_CONSTEXPR void set_align(fmt::align a) {
  755|  4.95k|    data_ = (data_ & ~align_mask) | (static_cast<unsigned>(a) << align_shift);
  756|  4.95k|  }
_ZN3fmt3v1211basic_specs8set_signENS0_4signE:
  781|      8|  FMT_CONSTEXPR void set_sign(fmt::sign s) {
  782|      8|    data_ = (data_ & ~sign_mask) | (static_cast<unsigned>(s) << sign_shift);
  783|      8|  }
_ZN3fmt3v126detail2inENS1_4typeEi:
 1040|  14.0k|constexpr auto in(type t, int set) -> bool {
 1041|  14.0k|  return ((set >> static_cast<int>(t)) & 1) != 0;
 1042|  14.0k|}
_ZN3fmt3v126detail18is_arithmetic_typeENS1_4typeE:
 1035|  8.63k|constexpr auto is_arithmetic_type(type t) -> bool {
 1036|  8.63k|  return t > type::none_type && t <= type::last_numeric_type;
  ------------------
  |  Branch (1036:10): [True: 8.63k, False: 0]
  |  Branch (1036:33): [True: 8.63k, False: 0]
  ------------------
 1037|  8.63k|}
_ZN3fmt3v126detail11parse_widthIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1445|  7.34k|                               parse_context<Char>& ctx) -> const Char* {
 1446|  7.34k|  auto result = parse_dynamic_spec(begin, end, specs.width, width_ref, ctx);
 1447|  7.34k|  specs.set_dynamic_width(result.kind);
 1448|  7.34k|  return result.end;
 1449|  7.34k|}
_ZN3fmt3v126detail18parse_dynamic_specIcEENS1_25parse_dynamic_spec_resultIT_EEPKS4_S7_RiRNS1_7arg_refIS4_EERNS0_13parse_contextIS4_EE:
 1413|  8.09k|    -> parse_dynamic_spec_result<Char> {
 1414|  8.09k|  FMT_ASSERT(begin != end, "");
  ------------------
  |  |  395|  8.09k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 8.09k, False: 0]
  |  |  ------------------
  |  |  396|  8.09k|         ? (void)0                                                          \
  |  |  397|  8.09k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1415|  8.09k|  auto kind = arg_id_kind::none;
 1416|  8.09k|  if ('0' <= *begin && *begin <= '9') {
  ------------------
  |  Branch (1416:7): [True: 8.09k, False: 1]
  |  Branch (1416:24): [True: 7.95k, False: 141]
  ------------------
 1417|  7.95k|    int val = parse_nonnegative_int(begin, end, -1);
 1418|  7.95k|    if (val == -1) report_error("number is too big");
  ------------------
  |  Branch (1418:9): [True: 8, False: 7.94k]
  ------------------
 1419|  7.95k|    value = val;
 1420|  7.95k|  } else {
 1421|    142|    if (*begin == '{') {
  ------------------
  |  Branch (1421:9): [True: 141, False: 1]
  ------------------
 1422|    141|      ++begin;
 1423|    141|      if (begin != end) {
  ------------------
  |  Branch (1423:11): [True: 141, False: 0]
  ------------------
 1424|    141|        Char c = *begin;
 1425|    141|        if (c == '}' || c == ':') {
  ------------------
  |  Branch (1425:13): [True: 0, False: 141]
  |  Branch (1425:25): [True: 0, False: 141]
  ------------------
 1426|      0|          int id = ctx.next_arg_id();
 1427|      0|          ref = id;
 1428|      0|          kind = arg_id_kind::index;
 1429|      0|          ctx.check_dynamic_spec(id);
 1430|    141|        } else {
 1431|    141|          begin = parse_arg_id(begin, end,
 1432|    141|                               dynamic_spec_handler<Char>{ctx, ref, kind});
 1433|    141|        }
 1434|    141|      }
 1435|    141|      if (begin != end && *begin == '}') return {++begin, kind};
  ------------------
  |  Branch (1435:11): [True: 135, False: 6]
  |  Branch (1435:27): [True: 129, False: 6]
  ------------------
 1436|    141|    }
 1437|     13|    report_error("invalid format string");
 1438|     13|  }
 1439|  7.96k|  return {begin, kind};
 1440|  8.09k|}
_ZN3fmt3v1213parse_contextIcE18check_dynamic_specEi:
 2474|    133|FMT_CONSTEXPR void parse_context<Char>::check_dynamic_spec(int arg_id) {
 2475|    133|  using detail::compile_parse_context;
 2476|    133|  if (detail::is_constant_evaluated() && use_constexpr_cast)
  ------------------
  |  Branch (2476:7): [Folded, False: 133]
  |  Branch (2476:42): [True: 0, Folded]
  ------------------
 2477|      0|    static_cast<compile_parse_context<Char>*>(this)->check_dynamic_spec(arg_id);
 2478|    133|}
_ZN3fmt3v126detail12parse_arg_idIcNS1_20dynamic_spec_handlerIcEEEEPKT_S7_S7_OT0_:
 1359|    141|                                Handler&& handler) -> const Char* {
 1360|    141|  Char c = *begin;
 1361|    141|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1361:7): [True: 141, False: 0]
  |  Branch (1361:19): [True: 134, False: 7]
  ------------------
 1362|    134|    int index = 0;
 1363|    134|    if (c != '0')
  ------------------
  |  Branch (1363:9): [True: 3, False: 131]
  ------------------
 1364|      3|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1365|    131|    else
 1366|    131|      ++begin;
 1367|    134|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1367:9): [True: 1, False: 133]
  |  Branch (1367:26): [True: 4, False: 129]
  |  Branch (1367:43): [True: 0, False: 4]
  ------------------
 1368|      1|      report_error("invalid format string");
 1369|    133|    else
 1370|    133|      handler.on_index(index);
 1371|    134|    return begin;
 1372|    134|  }
 1373|      7|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  290|      7|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1373:7): [Folded, False: 7]
  |  Branch (1373:32): [True: 0, False: 7]
  ------------------
 1374|      0|    report_error("invalid format string");
 1375|      0|    return begin;
 1376|      0|  }
 1377|      7|  auto it = begin;
 1378|   120k|  do {
 1379|   120k|    ++it;
 1380|   120k|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1380:12): [True: 120k, False: 5]
  |  Branch (1380:26): [True: 120k, False: 2]
  |  Branch (1380:49): [True: 2, False: 0]
  |  Branch (1380:63): [True: 0, False: 2]
  ------------------
 1381|      7|  handler.on_name({begin, to_unsigned(it - begin)});
 1382|      7|  return it;
 1383|      7|}
_ZN3fmt3v126detail20dynamic_spec_handlerIcE8on_indexEi:
 1390|    133|  FMT_CONSTEXPR void on_index(int id) {
 1391|    133|    ref = id;
 1392|    133|    kind = arg_id_kind::index;
 1393|    133|    ctx.check_arg_id(id);
 1394|    133|    ctx.check_dynamic_spec(id);
 1395|    133|  }
_ZN3fmt3v126detail20dynamic_spec_handlerIcE7on_nameENS0_17basic_string_viewIcEE:
 1396|      7|  FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1397|      7|    ref = id;
 1398|      7|    kind = arg_id_kind::name;
 1399|      7|    ctx.check_arg_id(id);
 1400|      7|  }
_ZN3fmt3v126detail7arg_refIcEC2ENS0_17basic_string_viewIcEE:
 1291|      7|  FMT_CONSTEXPR arg_ref(basic_string_view<Char> n) : name(n) {}
_ZN3fmt3v1211basic_specs17set_dynamic_widthENS0_11arg_id_kindE:
  761|  7.32k|  FMT_CONSTEXPR void set_dynamic_width(arg_id_kind w) {
  762|  7.32k|    data_ = (data_ & ~width_mask) | (static_cast<unsigned>(w) << width_shift);
  763|  7.32k|  }
_ZN3fmt3v126detail15parse_precisionIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1455|    751|                                   parse_context<Char>& ctx) -> const Char* {
 1456|    751|  ++begin;
 1457|    751|  if (begin == end) {
  ------------------
  |  Branch (1457:7): [True: 0, False: 751]
  ------------------
 1458|      0|    report_error("invalid precision");
 1459|      0|    return begin;
 1460|      0|  }
 1461|    751|  auto result =
 1462|    751|      parse_dynamic_spec(begin, end, specs.precision, precision_ref, ctx);
 1463|    751|  specs.set_dynamic_precision(result.kind);
 1464|    751|  return result.end;
 1465|    751|}
_ZN3fmt3v1211basic_specs21set_dynamic_precisionENS0_11arg_id_kindE:
  769|    749|  FMT_CONSTEXPR void set_dynamic_precision(arg_id_kind p) {
  770|    749|    data_ = (data_ & ~precision_mask) |
  771|    749|            (static_cast<unsigned>(p) << precision_shift);
  772|    749|  }
_ZN3fmt3v1211basic_specs13set_localizedEv:
  795|  3.74k|  FMT_CONSTEXPR void set_localized() { data_ |= localized_mask; }
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt0_clENS0_17presentation_typeEi:
 1500|  13.3k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1501|  13.3k|      if (!in(arg_type, set)) report_error("invalid format specifier");
  ------------------
  |  Branch (1501:11): [True: 2, False: 13.3k]
  ------------------
 1502|  13.3k|      specs.set_type(pres_type);
 1503|  13.3k|      return begin + 1;
 1504|  13.3k|    }
_ZN3fmt3v1211basic_specs8set_typeENS0_17presentation_typeE:
  747|  13.3k|  FMT_CONSTEXPR void set_type(presentation_type t) {
  748|  13.3k|    data_ = (data_ & ~type_mask) | static_cast<unsigned>(t);
  749|  13.3k|  }
_ZN3fmt3v1211basic_specs9set_upperEv:
  786|  1.02k|  FMT_CONSTEXPR void set_upper() { data_ |= uppercase_mask; }
_ZN3fmt3v126detail17code_point_lengthIcEEiPKT_:
 1313|  1.75k|FMT_CONSTEXPR auto code_point_length(const Char* begin) -> int {
 1314|  1.75k|  if (const_check(sizeof(Char) != 1)) return 1;
  ------------------
  |  Branch (1314:7): [Folded, False: 1.75k]
  ------------------
 1315|  1.75k|  auto c = static_cast<unsigned char>(*begin);
 1316|  1.75k|  return static_cast<int>((0x3a55000000000000ull >> (2 * (c >> 3))) & 3) + 1;
 1317|  1.75k|}
_ZN3fmt3v1211basic_specs8set_fillIcEEvNS0_17basic_string_viewIT_EE:
  823|  1.75k|  FMT_CONSTEXPR void set_fill(basic_string_view<Char> s) {
  824|  1.75k|    auto size = s.size();
  825|  1.75k|    set_fill_size(size);
  826|  1.75k|    if (size == 1) {
  ------------------
  |  Branch (826:9): [True: 1.56k, False: 183]
  ------------------
  827|  1.56k|      unsigned uchar = static_cast<detail::unsigned_char<Char>>(s[0]);
  828|  1.56k|      fill_data_[0] = static_cast<char>(uchar);
  829|  1.56k|      fill_data_[1] = static_cast<char>(uchar >> 8);
  830|  1.56k|      fill_data_[2] = static_cast<char>(uchar >> 16);
  831|  1.56k|      return;
  832|  1.56k|    }
  833|    183|    FMT_ASSERT(size <= max_fill_size, "invalid fill");
  ------------------
  |  |  395|    183|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 183, False: 0]
  |  |  ------------------
  |  |  396|    183|         ? (void)0                                                          \
  |  |  397|    183|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  834|    765|    for (size_t i = 0; i < size; ++i)
  ------------------
  |  Branch (834:24): [True: 582, False: 183]
  ------------------
  835|    582|      fill_data_[i & 3] = static_cast<char>(s[i]);
  836|    183|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE4typeEv:
 2536|  17.0k|  auto type() const -> detail::type { return type_; }
_ZNK3fmt3v1211basic_specs7dynamicEv:
  774|  17.0k|  constexpr auto dynamic() const -> bool {
  775|  17.0k|    return (data_ & (width_mask | precision_mask)) != 0;
  776|  17.0k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail19dynamic_spec_getterEEEDTclfp_Li0EEEOT_:
 2544|    129|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|    129|    using detail::map;
 2546|    129|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 129, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 129]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 129]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 129]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 129]
  ------------------
 2551|    129|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 129, False: 0]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 129]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 129]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 129]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 129]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 129]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 129]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 129]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 129]
  ------------------
 2560|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 0, False: 129]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 129]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 129]
  ------------------
 2563|    129|    }
 2564|      0|    return vis(monostate());
 2565|    129|  }
_ZNK3fmt3v1211basic_specs13dynamic_widthEv:
  758|    129|  constexpr auto dynamic_width() const -> arg_id_kind {
  759|    129|    return static_cast<arg_id_kind>((data_ & width_mask) >> width_shift);
  760|    129|  }
_ZNK3fmt3v1211basic_specs17dynamic_precisionEv:
  765|    129|  FMT_CONSTEXPR auto dynamic_precision() const -> arg_id_kind {
  766|    129|    return static_cast<arg_id_kind>((data_ & precision_mask) >>
  767|    129|                                    precision_shift);
  768|    129|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail13arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2544|  17.0k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  17.0k|    using detail::map;
 2546|  17.0k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 17.0k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 17.0k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 17.0k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 17.0k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 17.0k]
  ------------------
 2551|  11.6k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 11.6k, False: 5.36k]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 17.0k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 17.0k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 17.0k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 17.0k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 17.0k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 17.0k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 17.0k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 17.0k]
  ------------------
 2560|  5.36k|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 5.36k, False: 11.6k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 17.0k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 17.0k]
  ------------------
 2563|  17.0k|    }
 2564|      0|    return vis(monostate());
 2565|  17.0k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2IRyEEOT_:
 2531|  3.74k|      : value_(val), type_(detail::stored_type_constant<T, Context>::value) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ey:
 2213|  4.79k|      : ulong_long_value(x) {}
_ZN3fmt3v126detail4copyIcPKcPcTnNSt3__19enable_ifIXntaasr23is_back_insert_iteratorIT1_EE5valueoosr41has_back_insert_iterator_container_appendIS8_T0_EE5valuesr48has_back_insert_iterator_container_insert_at_endIS8_S9_EE5valueEiE4typeELi0EEES8_S9_S9_S8_:
 2108|  13.9k|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|  46.4k|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 32.4k, False: 13.9k]
  ------------------
 2110|  13.9k|  return out;
 2111|  13.9k|}
_ZN3fmt3v126detail4copyIccNS0_14basic_appenderIcEEEET1_NS0_17basic_string_viewIT0_EES5_:
 2114|    189|FMT_CONSTEXPR auto copy(basic_string_view<V> s, OutputIt out) -> OutputIt {
 2115|    189|  return copy<T>(s.begin(), s.end(), out);
 2116|    189|}
_ZN3fmt3v126detail15counting_bufferIcEC2Ev:
 2048|  22.9M|  FMT_CONSTEXPR counting_buffer() : buffer<T>(grow, data_, 0, buffer_size) {}
_ZNK3fmt3v126detail15counting_bufferIcE5countEv:
 2050|  22.9M|  constexpr auto count() const noexcept -> size_t {
 2051|  22.9M|    return count_ + this->size();
 2052|  22.9M|  }
_ZN3fmt3v126detail4copyIcPKcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SD_NS0_17basic_string_viewISA_EERKNS0_12format_specsEE23bounded_output_iteratorTnNS9_IXntaasr23is_back_insert_iteratorIT1_EE5valueoosr41has_back_insert_iterator_container_appendISK_SD_EE5valuesr48has_back_insert_iterator_container_insert_at_endISK_SD_EE5valueEiE4typeELi0EEESK_SD_SD_SK_:
 2108|  23.2M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|  28.3M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 5.09M, False: 23.2M]
  ------------------
 2110|  23.2M|  return out;
 2111|  23.2M|}
_ZN3fmt3v126detail4copyIcPcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SC_NS0_17basic_string_viewIS9_EERKNS0_12format_specsEE23bounded_output_iteratorTnNS8_IXntaasr23is_back_insert_iteratorIT1_EE5valueoosr41has_back_insert_iterator_container_appendISJ_SC_EE5valuesr48has_back_insert_iterator_container_insert_at_endISJ_SC_EE5valueEiE4typeELi0EEESJ_SC_SC_SJ_:
 2108|  19.4M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|  58.3M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 38.9M, False: 19.4M]
  ------------------
 2110|  19.4M|  return out;
 2111|  19.4M|}
_ZNK3fmt3v127context6localeEv:
 2718|  17.0k|  FMT_CONSTEXPR auto locale() const -> locale_ref { return loc_; }
_ZN3fmt3v1213parse_contextIcEC2ENS0_17basic_string_viewIcEEi:
  872|    527|      : fmt_(fmt), next_arg_id_(next_arg_id) {}
_ZN3fmt3v127contextC2ENS0_14basic_appenderIcEENS0_17basic_format_argsIS1_EENS0_10locale_refE:
 2698|    527|      : out_(out), args_(args), loc_(loc) {}
_ZN3fmt3v1210locale_refC2Ev:
  925|    527|  constexpr locale_ref() : locale_(nullptr) {}
_ZN3fmt3v126detail6bufferIcE5beginEv:
 1808|   118k|  auto begin() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIcE3endEv:
 1809|   118k|  auto end() noexcept -> T* { return ptr_ + size_; }
_ZNK3fmt3v126detail6bufferIcE4dataEv:
 1822|    343|  FMT_CONSTEXPR auto data() const noexcept -> const T* { return ptr_; }
_ZN3fmt3v126detail10get_bufferIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr18is_buffer_appenderIT0_EE5valueEiE4typeELi0EEERNS1_6bufferIT_EES7_:
 2136|    527|auto get_buffer(OutputIt out) -> buffer<T>& {
 2137|    527|  return get_container(out);
 2138|    527|}
_ZN3fmt3v126detail12get_iteratorIcNS0_14basic_appenderIcEEEET0_RNS1_6bufferIT_EES5_:
 2145|    343|auto get_iterator(buffer<T>&, OutputIt out) -> OutputIt {
 2146|    343|  return out;
 2147|    343|}
_ZN3fmt3v1210vformat_toINS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr6detail18is_output_iteratorINS4_9remove_cvINS4_16remove_referenceIT_E4typeEE4typeEcEE5valueEiE4typeELi0EEESC_OS8_NS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEE:
 2855|    527|    -> remove_cvref_t<OutputIt> {
 2856|    527|  auto&& buf = detail::get_buffer<char>(out);
 2857|    527|  detail::vformat_to(buf, fmt, args, {});
 2858|    527|  return detail::get_iterator(buf, out);
 2859|    527|}
_ZN3fmt3v1216make_format_argsINS0_7contextEJKmS3_KNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEELi3ELi0ELy3396EEENS0_6detail16format_arg_storeIT_XT1_EXT2_EXT3_EEEDpRT0_:
 2825|    527|    -> detail::format_arg_store<Context, NUM_ARGS, NUM_NAMED_ARGS, DESC> {
 2826|       |  // Suppress warnings for pathological types convertible to detail::value.
 2827|    527|  FMT_PRAGMA_GCC(diagnostic ignored "-Wconversion")
 2828|    527|  return {{args...}};
 2829|    527|}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Em:
 2210|  1.05k|      : value(ulong_type(x)) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2INSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEcTnNS6_9enable_ifIXntsr3std10is_pointerIT_EE5valueEiE4typeELi0EEERKSE_:
 2248|    527|  FMT_CONSTEXPR value(const T& x FMT_BUILTIN) {
 2249|    527|    static_assert(std::is_same<C, char_type>::value,
 2250|    527|                  "mixing character types is disallowed");
 2251|    527|    auto sv = to_string_view(x);
 2252|    527|    string.data = sv.data();
 2253|    527|    string.size = sv.size();
 2254|    527|  }
_ZN3fmt3v126detail14to_string_viewINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEETnNS3_9enable_ifIXsr18is_std_string_likeIT_EE5valueEiE4typeELi0EEENS0_17basic_string_viewINSB_10value_typeEEERKSB_:
  963|    527|    -> basic_string_view<typename T::value_type> {
  964|    527|  return s;
  965|    527|}
_ZN3fmt3v1217basic_format_argsINS0_7contextEEC2ILi3ELi0ELy3396ETnNSt3__19enable_ifIXleT_LNS0_6detail3$_1E15EEiE4typeELi0EEERKNS7_16format_arg_storeIS2_XT_EXT0_EXT1_EEE:
 2629|    527|      : desc_(DESC | (NUM_NAMED_ARGS != 0 ? +detail::has_named_args_bit : 0)),
  ------------------
  |  Branch (2629:23): [Folded, False: 527]
  ------------------
 2630|    527|        values_(s.args) {}
_ZNK3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE3getEv:
 2791|    527|  auto get() const -> string_view { return str; }
_ZN3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEC2IPKcTnNS4_9enable_ifIXsr3std14is_convertibleIRKT_NS0_17basic_string_viewIcEEEE5valueEiE4typeELi0EEESK_:
 2768|    527|  FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) {
 2769|    527|    auto sv = string_view(str);
 2770|    527|    if (FMT_USE_CONSTEVAL)
  ------------------
  |  |  120|    527|#  define FMT_USE_CONSTEVAL 0
  |  |  ------------------
  |  |  |  Branch (120:29): [Folded, False: 527]
  |  |  ------------------
  ------------------
 2771|      0|      detail::parse_format_string<char>(sv, checker(sv, arg_pack()));
 2772|       |#ifdef FMT_ENFORCE_COMPILE_STRING
 2773|       |    static_assert(
 2774|       |        FMT_USE_CONSTEVAL && sizeof(s) != 0,
 2775|       |        "FMT_ENFORCE_COMPILE_STRING requires format strings to use FMT_STRING");
 2776|       |#endif
 2777|    527|  }

_ZN3fmt3v126detail10vformat_toERNS1_6bufferIcEENS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEENS0_10locale_refE:
 1452|    527|                         locale_ref loc) {
 1453|    527|  auto out = appender(buf);
 1454|    527|  if (fmt.size() == 2 && equal2(fmt.data(), "{}"))
  ------------------
  |  Branch (1454:7): [True: 1, False: 526]
  |  Branch (1454:26): [True: 0, False: 1]
  ------------------
 1455|      0|    return args.get(0).visit(default_arg_formatter<char>{out});
 1456|    527|  parse_format_string(fmt,
 1457|    527|                      format_handler<>{parse_context<>(fmt), {out, args, loc}});
 1458|    527|}
_ZN3fmt3v126detail9write_locENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsENS0_10locale_refE:
  126|  3.74k|                        const format_specs& specs, locale_ref loc) -> bool {
  127|  3.74k|  auto locale = loc.get<std::locale>();
  128|       |  // We cannot use the num_put<char> facet because it may produce output in
  129|       |  // a wrong encoding.
  130|  3.74k|  using facet = format_facet<std::locale>;
  131|  3.74k|  if (std::has_facet<facet>(locale))
  ------------------
  |  Branch (131:7): [True: 0, False: 3.74k]
  ------------------
  132|      0|    return use_facet<facet>(locale).put(out, value, specs);
  133|  3.74k|  return facet(locale).put(out, value, specs);
  134|  3.74k|}
_ZNK3fmt3v1210locale_ref3getINSt3__16localeEEET_v:
   62|  3.74k|template <typename Locale> auto locale_ref::get() const -> Locale {
   63|  3.74k|  using namespace detail;
   64|  3.74k|  static_assert(std::is_same<Locale, locale>::value, "");
   65|  3.74k|#if FMT_USE_LOCALE
   66|  3.74k|  if (locale_) return *static_cast<const locale*>(locale_);
  ------------------
  |  Branch (66:7): [True: 0, False: 3.74k]
  ------------------
   67|  3.74k|#endif
   68|  3.74k|  return locale();
   69|  3.74k|}
_ZN3fmt3v1212format_facetINSt3__16localeEEC2ERS3_:
  150|  3.74k|template <typename Locale> format_facet<Locale>::format_facet(Locale& loc) {
  151|  3.74k|  auto& np = detail::use_facet<detail::numpunct<char>>(loc);
  152|  3.74k|  grouping_ = np.grouping();
  153|  3.74k|  if (!grouping_.empty()) separator_ = std::string(1, np.thousands_sep());
  ------------------
  |  Branch (153:7): [True: 0, False: 3.74k]
  ------------------
  154|  3.74k|}
_ZNK3fmt3v1212format_facetINSt3__16localeEE6do_putENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsE:
  159|  3.74k|    appender out, loc_value val, const format_specs& specs) const -> bool {
  160|  3.74k|  return val.visit(
  161|  3.74k|      detail::loc_writer<>{out, specs, separator_, grouping_, decimal_point_});
  162|  3.74k|}
_ZN3fmt3v126detail12is_printableEj:
 1794|  23.6M|FMT_FUNC auto is_printable(uint32_t cp) -> bool {
 1795|  23.6M|  static constexpr singleton singletons0[] = {
 1796|  23.6M|      {0x00, 1},  {0x03, 5},  {0x05, 6},  {0x06, 3},  {0x07, 6},  {0x08, 8},
 1797|  23.6M|      {0x09, 17}, {0x0a, 28}, {0x0b, 25}, {0x0c, 20}, {0x0d, 16}, {0x0e, 13},
 1798|  23.6M|      {0x0f, 4},  {0x10, 3},  {0x12, 18}, {0x13, 9},  {0x16, 1},  {0x17, 5},
 1799|  23.6M|      {0x18, 2},  {0x19, 3},  {0x1a, 7},  {0x1c, 2},  {0x1d, 1},  {0x1f, 22},
 1800|  23.6M|      {0x20, 3},  {0x2b, 3},  {0x2c, 2},  {0x2d, 11}, {0x2e, 1},  {0x30, 3},
 1801|  23.6M|      {0x31, 2},  {0x32, 1},  {0xa7, 2},  {0xa9, 2},  {0xaa, 4},  {0xab, 8},
 1802|  23.6M|      {0xfa, 2},  {0xfb, 5},  {0xfd, 4},  {0xfe, 3},  {0xff, 9},
 1803|  23.6M|  };
 1804|  23.6M|  static constexpr unsigned char singletons0_lower[] = {
 1805|  23.6M|      0xad, 0x78, 0x79, 0x8b, 0x8d, 0xa2, 0x30, 0x57, 0x58, 0x8b, 0x8c, 0x90,
 1806|  23.6M|      0x1c, 0x1d, 0xdd, 0x0e, 0x0f, 0x4b, 0x4c, 0xfb, 0xfc, 0x2e, 0x2f, 0x3f,
 1807|  23.6M|      0x5c, 0x5d, 0x5f, 0xb5, 0xe2, 0x84, 0x8d, 0x8e, 0x91, 0x92, 0xa9, 0xb1,
 1808|  23.6M|      0xba, 0xbb, 0xc5, 0xc6, 0xc9, 0xca, 0xde, 0xe4, 0xe5, 0xff, 0x00, 0x04,
 1809|  23.6M|      0x11, 0x12, 0x29, 0x31, 0x34, 0x37, 0x3a, 0x3b, 0x3d, 0x49, 0x4a, 0x5d,
 1810|  23.6M|      0x84, 0x8e, 0x92, 0xa9, 0xb1, 0xb4, 0xba, 0xbb, 0xc6, 0xca, 0xce, 0xcf,
 1811|  23.6M|      0xe4, 0xe5, 0x00, 0x04, 0x0d, 0x0e, 0x11, 0x12, 0x29, 0x31, 0x34, 0x3a,
 1812|  23.6M|      0x3b, 0x45, 0x46, 0x49, 0x4a, 0x5e, 0x64, 0x65, 0x84, 0x91, 0x9b, 0x9d,
 1813|  23.6M|      0xc9, 0xce, 0xcf, 0x0d, 0x11, 0x29, 0x45, 0x49, 0x57, 0x64, 0x65, 0x8d,
 1814|  23.6M|      0x91, 0xa9, 0xb4, 0xba, 0xbb, 0xc5, 0xc9, 0xdf, 0xe4, 0xe5, 0xf0, 0x0d,
 1815|  23.6M|      0x11, 0x45, 0x49, 0x64, 0x65, 0x80, 0x84, 0xb2, 0xbc, 0xbe, 0xbf, 0xd5,
 1816|  23.6M|      0xd7, 0xf0, 0xf1, 0x83, 0x85, 0x8b, 0xa4, 0xa6, 0xbe, 0xbf, 0xc5, 0xc7,
 1817|  23.6M|      0xce, 0xcf, 0xda, 0xdb, 0x48, 0x98, 0xbd, 0xcd, 0xc6, 0xce, 0xcf, 0x49,
 1818|  23.6M|      0x4e, 0x4f, 0x57, 0x59, 0x5e, 0x5f, 0x89, 0x8e, 0x8f, 0xb1, 0xb6, 0xb7,
 1819|  23.6M|      0xbf, 0xc1, 0xc6, 0xc7, 0xd7, 0x11, 0x16, 0x17, 0x5b, 0x5c, 0xf6, 0xf7,
 1820|  23.6M|      0xfe, 0xff, 0x80, 0x0d, 0x6d, 0x71, 0xde, 0xdf, 0x0e, 0x0f, 0x1f, 0x6e,
 1821|  23.6M|      0x6f, 0x1c, 0x1d, 0x5f, 0x7d, 0x7e, 0xae, 0xaf, 0xbb, 0xbc, 0xfa, 0x16,
 1822|  23.6M|      0x17, 0x1e, 0x1f, 0x46, 0x47, 0x4e, 0x4f, 0x58, 0x5a, 0x5c, 0x5e, 0x7e,
 1823|  23.6M|      0x7f, 0xb5, 0xc5, 0xd4, 0xd5, 0xdc, 0xf0, 0xf1, 0xf5, 0x72, 0x73, 0x8f,
 1824|  23.6M|      0x74, 0x75, 0x96, 0x2f, 0x5f, 0x26, 0x2e, 0x2f, 0xa7, 0xaf, 0xb7, 0xbf,
 1825|  23.6M|      0xc7, 0xcf, 0xd7, 0xdf, 0x9a, 0x40, 0x97, 0x98, 0x30, 0x8f, 0x1f, 0xc0,
 1826|  23.6M|      0xc1, 0xce, 0xff, 0x4e, 0x4f, 0x5a, 0x5b, 0x07, 0x08, 0x0f, 0x10, 0x27,
 1827|  23.6M|      0x2f, 0xee, 0xef, 0x6e, 0x6f, 0x37, 0x3d, 0x3f, 0x42, 0x45, 0x90, 0x91,
 1828|  23.6M|      0xfe, 0xff, 0x53, 0x67, 0x75, 0xc8, 0xc9, 0xd0, 0xd1, 0xd8, 0xd9, 0xe7,
 1829|  23.6M|      0xfe, 0xff,
 1830|  23.6M|  };
 1831|  23.6M|  static constexpr singleton singletons1[] = {
 1832|  23.6M|      {0x00, 6},  {0x01, 1}, {0x03, 1},  {0x04, 2}, {0x08, 8},  {0x09, 2},
 1833|  23.6M|      {0x0a, 5},  {0x0b, 2}, {0x0e, 4},  {0x10, 1}, {0x11, 2},  {0x12, 5},
 1834|  23.6M|      {0x13, 17}, {0x14, 1}, {0x15, 2},  {0x17, 2}, {0x19, 13}, {0x1c, 5},
 1835|  23.6M|      {0x1d, 8},  {0x24, 1}, {0x6a, 3},  {0x6b, 2}, {0xbc, 2},  {0xd1, 2},
 1836|  23.6M|      {0xd4, 12}, {0xd5, 9}, {0xd6, 2},  {0xd7, 2}, {0xda, 1},  {0xe0, 5},
 1837|  23.6M|      {0xe1, 2},  {0xe8, 2}, {0xee, 32}, {0xf0, 4}, {0xf8, 2},  {0xf9, 2},
 1838|  23.6M|      {0xfa, 2},  {0xfb, 1},
 1839|  23.6M|  };
 1840|  23.6M|  static constexpr unsigned char singletons1_lower[] = {
 1841|  23.6M|      0x0c, 0x27, 0x3b, 0x3e, 0x4e, 0x4f, 0x8f, 0x9e, 0x9e, 0x9f, 0x06, 0x07,
 1842|  23.6M|      0x09, 0x36, 0x3d, 0x3e, 0x56, 0xf3, 0xd0, 0xd1, 0x04, 0x14, 0x18, 0x36,
 1843|  23.6M|      0x37, 0x56, 0x57, 0x7f, 0xaa, 0xae, 0xaf, 0xbd, 0x35, 0xe0, 0x12, 0x87,
 1844|  23.6M|      0x89, 0x8e, 0x9e, 0x04, 0x0d, 0x0e, 0x11, 0x12, 0x29, 0x31, 0x34, 0x3a,
 1845|  23.6M|      0x45, 0x46, 0x49, 0x4a, 0x4e, 0x4f, 0x64, 0x65, 0x5c, 0xb6, 0xb7, 0x1b,
 1846|  23.6M|      0x1c, 0x07, 0x08, 0x0a, 0x0b, 0x14, 0x17, 0x36, 0x39, 0x3a, 0xa8, 0xa9,
 1847|  23.6M|      0xd8, 0xd9, 0x09, 0x37, 0x90, 0x91, 0xa8, 0x07, 0x0a, 0x3b, 0x3e, 0x66,
 1848|  23.6M|      0x69, 0x8f, 0x92, 0x6f, 0x5f, 0xee, 0xef, 0x5a, 0x62, 0x9a, 0x9b, 0x27,
 1849|  23.6M|      0x28, 0x55, 0x9d, 0xa0, 0xa1, 0xa3, 0xa4, 0xa7, 0xa8, 0xad, 0xba, 0xbc,
 1850|  23.6M|      0xc4, 0x06, 0x0b, 0x0c, 0x15, 0x1d, 0x3a, 0x3f, 0x45, 0x51, 0xa6, 0xa7,
 1851|  23.6M|      0xcc, 0xcd, 0xa0, 0x07, 0x19, 0x1a, 0x22, 0x25, 0x3e, 0x3f, 0xc5, 0xc6,
 1852|  23.6M|      0x04, 0x20, 0x23, 0x25, 0x26, 0x28, 0x33, 0x38, 0x3a, 0x48, 0x4a, 0x4c,
 1853|  23.6M|      0x50, 0x53, 0x55, 0x56, 0x58, 0x5a, 0x5c, 0x5e, 0x60, 0x63, 0x65, 0x66,
 1854|  23.6M|      0x6b, 0x73, 0x78, 0x7d, 0x7f, 0x8a, 0xa4, 0xaa, 0xaf, 0xb0, 0xc0, 0xd0,
 1855|  23.6M|      0xae, 0xaf, 0x79, 0xcc, 0x6e, 0x6f, 0x93,
 1856|  23.6M|  };
 1857|  23.6M|  static constexpr unsigned char normal0[] = {
 1858|  23.6M|      0x00, 0x20, 0x5f, 0x22, 0x82, 0xdf, 0x04, 0x82, 0x44, 0x08, 0x1b, 0x04,
 1859|  23.6M|      0x06, 0x11, 0x81, 0xac, 0x0e, 0x80, 0xab, 0x35, 0x28, 0x0b, 0x80, 0xe0,
 1860|  23.6M|      0x03, 0x19, 0x08, 0x01, 0x04, 0x2f, 0x04, 0x34, 0x04, 0x07, 0x03, 0x01,
 1861|  23.6M|      0x07, 0x06, 0x07, 0x11, 0x0a, 0x50, 0x0f, 0x12, 0x07, 0x55, 0x07, 0x03,
 1862|  23.6M|      0x04, 0x1c, 0x0a, 0x09, 0x03, 0x08, 0x03, 0x07, 0x03, 0x02, 0x03, 0x03,
 1863|  23.6M|      0x03, 0x0c, 0x04, 0x05, 0x03, 0x0b, 0x06, 0x01, 0x0e, 0x15, 0x05, 0x3a,
 1864|  23.6M|      0x03, 0x11, 0x07, 0x06, 0x05, 0x10, 0x07, 0x57, 0x07, 0x02, 0x07, 0x15,
 1865|  23.6M|      0x0d, 0x50, 0x04, 0x43, 0x03, 0x2d, 0x03, 0x01, 0x04, 0x11, 0x06, 0x0f,
 1866|  23.6M|      0x0c, 0x3a, 0x04, 0x1d, 0x25, 0x5f, 0x20, 0x6d, 0x04, 0x6a, 0x25, 0x80,
 1867|  23.6M|      0xc8, 0x05, 0x82, 0xb0, 0x03, 0x1a, 0x06, 0x82, 0xfd, 0x03, 0x59, 0x07,
 1868|  23.6M|      0x15, 0x0b, 0x17, 0x09, 0x14, 0x0c, 0x14, 0x0c, 0x6a, 0x06, 0x0a, 0x06,
 1869|  23.6M|      0x1a, 0x06, 0x59, 0x07, 0x2b, 0x05, 0x46, 0x0a, 0x2c, 0x04, 0x0c, 0x04,
 1870|  23.6M|      0x01, 0x03, 0x31, 0x0b, 0x2c, 0x04, 0x1a, 0x06, 0x0b, 0x03, 0x80, 0xac,
 1871|  23.6M|      0x06, 0x0a, 0x06, 0x21, 0x3f, 0x4c, 0x04, 0x2d, 0x03, 0x74, 0x08, 0x3c,
 1872|  23.6M|      0x03, 0x0f, 0x03, 0x3c, 0x07, 0x38, 0x08, 0x2b, 0x05, 0x82, 0xff, 0x11,
 1873|  23.6M|      0x18, 0x08, 0x2f, 0x11, 0x2d, 0x03, 0x20, 0x10, 0x21, 0x0f, 0x80, 0x8c,
 1874|  23.6M|      0x04, 0x82, 0x97, 0x19, 0x0b, 0x15, 0x88, 0x94, 0x05, 0x2f, 0x05, 0x3b,
 1875|  23.6M|      0x07, 0x02, 0x0e, 0x18, 0x09, 0x80, 0xb3, 0x2d, 0x74, 0x0c, 0x80, 0xd6,
 1876|  23.6M|      0x1a, 0x0c, 0x05, 0x80, 0xff, 0x05, 0x80, 0xdf, 0x0c, 0xee, 0x0d, 0x03,
 1877|  23.6M|      0x84, 0x8d, 0x03, 0x37, 0x09, 0x81, 0x5c, 0x14, 0x80, 0xb8, 0x08, 0x80,
 1878|  23.6M|      0xcb, 0x2a, 0x38, 0x03, 0x0a, 0x06, 0x38, 0x08, 0x46, 0x08, 0x0c, 0x06,
 1879|  23.6M|      0x74, 0x0b, 0x1e, 0x03, 0x5a, 0x04, 0x59, 0x09, 0x80, 0x83, 0x18, 0x1c,
 1880|  23.6M|      0x0a, 0x16, 0x09, 0x4c, 0x04, 0x80, 0x8a, 0x06, 0xab, 0xa4, 0x0c, 0x17,
 1881|  23.6M|      0x04, 0x31, 0xa1, 0x04, 0x81, 0xda, 0x26, 0x07, 0x0c, 0x05, 0x05, 0x80,
 1882|  23.6M|      0xa5, 0x11, 0x81, 0x6d, 0x10, 0x78, 0x28, 0x2a, 0x06, 0x4c, 0x04, 0x80,
 1883|  23.6M|      0x8d, 0x04, 0x80, 0xbe, 0x03, 0x1b, 0x03, 0x0f, 0x0d,
 1884|  23.6M|  };
 1885|  23.6M|  static constexpr unsigned char normal1[] = {
 1886|  23.6M|      0x5e, 0x22, 0x7b, 0x05, 0x03, 0x04, 0x2d, 0x03, 0x66, 0x03, 0x01, 0x2f,
 1887|  23.6M|      0x2e, 0x80, 0x82, 0x1d, 0x03, 0x31, 0x0f, 0x1c, 0x04, 0x24, 0x09, 0x1e,
 1888|  23.6M|      0x05, 0x2b, 0x05, 0x44, 0x04, 0x0e, 0x2a, 0x80, 0xaa, 0x06, 0x24, 0x04,
 1889|  23.6M|      0x24, 0x04, 0x28, 0x08, 0x34, 0x0b, 0x01, 0x80, 0x90, 0x81, 0x37, 0x09,
 1890|  23.6M|      0x16, 0x0a, 0x08, 0x80, 0x98, 0x39, 0x03, 0x63, 0x08, 0x09, 0x30, 0x16,
 1891|  23.6M|      0x05, 0x21, 0x03, 0x1b, 0x05, 0x01, 0x40, 0x38, 0x04, 0x4b, 0x05, 0x2f,
 1892|  23.6M|      0x04, 0x0a, 0x07, 0x09, 0x07, 0x40, 0x20, 0x27, 0x04, 0x0c, 0x09, 0x36,
 1893|  23.6M|      0x03, 0x3a, 0x05, 0x1a, 0x07, 0x04, 0x0c, 0x07, 0x50, 0x49, 0x37, 0x33,
 1894|  23.6M|      0x0d, 0x33, 0x07, 0x2e, 0x08, 0x0a, 0x81, 0x26, 0x52, 0x4e, 0x28, 0x08,
 1895|  23.6M|      0x2a, 0x56, 0x1c, 0x14, 0x17, 0x09, 0x4e, 0x04, 0x1e, 0x0f, 0x43, 0x0e,
 1896|  23.6M|      0x19, 0x07, 0x0a, 0x06, 0x48, 0x08, 0x27, 0x09, 0x75, 0x0b, 0x3f, 0x41,
 1897|  23.6M|      0x2a, 0x06, 0x3b, 0x05, 0x0a, 0x06, 0x51, 0x06, 0x01, 0x05, 0x10, 0x03,
 1898|  23.6M|      0x05, 0x80, 0x8b, 0x62, 0x1e, 0x48, 0x08, 0x0a, 0x80, 0xa6, 0x5e, 0x22,
 1899|  23.6M|      0x45, 0x0b, 0x0a, 0x06, 0x0d, 0x13, 0x39, 0x07, 0x0a, 0x36, 0x2c, 0x04,
 1900|  23.6M|      0x10, 0x80, 0xc0, 0x3c, 0x64, 0x53, 0x0c, 0x48, 0x09, 0x0a, 0x46, 0x45,
 1901|  23.6M|      0x1b, 0x48, 0x08, 0x53, 0x1d, 0x39, 0x81, 0x07, 0x46, 0x0a, 0x1d, 0x03,
 1902|  23.6M|      0x47, 0x49, 0x37, 0x03, 0x0e, 0x08, 0x0a, 0x06, 0x39, 0x07, 0x0a, 0x81,
 1903|  23.6M|      0x36, 0x19, 0x80, 0xb7, 0x01, 0x0f, 0x32, 0x0d, 0x83, 0x9b, 0x66, 0x75,
 1904|  23.6M|      0x0b, 0x80, 0xc4, 0x8a, 0xbc, 0x84, 0x2f, 0x8f, 0xd1, 0x82, 0x47, 0xa1,
 1905|  23.6M|      0xb9, 0x82, 0x39, 0x07, 0x2a, 0x04, 0x02, 0x60, 0x26, 0x0a, 0x46, 0x0a,
 1906|  23.6M|      0x28, 0x05, 0x13, 0x82, 0xb0, 0x5b, 0x65, 0x4b, 0x04, 0x39, 0x07, 0x11,
 1907|  23.6M|      0x40, 0x05, 0x0b, 0x02, 0x0e, 0x97, 0xf8, 0x08, 0x84, 0xd6, 0x2a, 0x09,
 1908|  23.6M|      0xa2, 0xf7, 0x81, 0x1f, 0x31, 0x03, 0x11, 0x04, 0x08, 0x81, 0x8c, 0x89,
 1909|  23.6M|      0x04, 0x6b, 0x05, 0x0d, 0x03, 0x09, 0x07, 0x10, 0x93, 0x60, 0x80, 0xf6,
 1910|  23.6M|      0x0a, 0x73, 0x08, 0x6e, 0x17, 0x46, 0x80, 0x9a, 0x14, 0x0c, 0x57, 0x09,
 1911|  23.6M|      0x19, 0x80, 0x87, 0x81, 0x47, 0x03, 0x85, 0x42, 0x0f, 0x15, 0x85, 0x50,
 1912|  23.6M|      0x2b, 0x80, 0xd5, 0x2d, 0x03, 0x1a, 0x04, 0x02, 0x81, 0x70, 0x3a, 0x05,
 1913|  23.6M|      0x01, 0x85, 0x00, 0x80, 0xd7, 0x29, 0x4c, 0x04, 0x0a, 0x04, 0x02, 0x83,
 1914|  23.6M|      0x11, 0x44, 0x4c, 0x3d, 0x80, 0xc2, 0x3c, 0x06, 0x01, 0x04, 0x55, 0x05,
 1915|  23.6M|      0x1b, 0x34, 0x02, 0x81, 0x0e, 0x2c, 0x04, 0x64, 0x0c, 0x56, 0x0a, 0x80,
 1916|  23.6M|      0xae, 0x38, 0x1d, 0x0d, 0x2c, 0x04, 0x09, 0x07, 0x02, 0x0e, 0x06, 0x80,
 1917|  23.6M|      0x9a, 0x83, 0xd8, 0x08, 0x0d, 0x03, 0x0d, 0x03, 0x74, 0x0c, 0x59, 0x07,
 1918|  23.6M|      0x0c, 0x14, 0x0c, 0x04, 0x38, 0x08, 0x0a, 0x06, 0x28, 0x08, 0x22, 0x4e,
 1919|  23.6M|      0x81, 0x54, 0x0c, 0x15, 0x03, 0x03, 0x05, 0x07, 0x09, 0x19, 0x07, 0x07,
 1920|  23.6M|      0x09, 0x03, 0x0d, 0x07, 0x29, 0x80, 0xcb, 0x25, 0x0a, 0x84, 0x06,
 1921|  23.6M|  };
 1922|  23.6M|  auto lower = static_cast<uint16_t>(cp);
 1923|  23.6M|  if (cp < 0x10000) {
  ------------------
  |  Branch (1923:7): [True: 12.5M, False: 11.0M]
  ------------------
 1924|  12.5M|    return is_printable(lower, singletons0,
 1925|  12.5M|                        sizeof(singletons0) / sizeof(*singletons0),
 1926|  12.5M|                        singletons0_lower, normal0, sizeof(normal0));
 1927|  12.5M|  }
 1928|  11.0M|  if (cp < 0x20000) {
  ------------------
  |  Branch (1928:7): [True: 13.6k, False: 11.0M]
  ------------------
 1929|  13.6k|    return is_printable(lower, singletons1,
 1930|  13.6k|                        sizeof(singletons1) / sizeof(*singletons1),
 1931|  13.6k|                        singletons1_lower, normal1, sizeof(normal1));
 1932|  13.6k|  }
 1933|  11.0M|  if (0x2a6de <= cp && cp < 0x2a700) return false;
  ------------------
  |  Branch (1933:7): [True: 11.0M, False: 4]
  |  Branch (1933:24): [True: 129, False: 11.0M]
  ------------------
 1934|  11.0M|  if (0x2b735 <= cp && cp < 0x2b740) return false;
  ------------------
  |  Branch (1934:7): [True: 11.0M, False: 137]
  |  Branch (1934:24): [True: 36, False: 11.0M]
  ------------------
 1935|  11.0M|  if (0x2b81e <= cp && cp < 0x2b820) return false;
  ------------------
  |  Branch (1935:7): [True: 11.0M, False: 137]
  |  Branch (1935:24): [True: 0, False: 11.0M]
  ------------------
 1936|  11.0M|  if (0x2cea2 <= cp && cp < 0x2ceb0) return false;
  ------------------
  |  Branch (1936:7): [True: 11.0M, False: 179]
  |  Branch (1936:24): [True: 2.05k, False: 11.0M]
  ------------------
 1937|  11.0M|  if (0x2ebe1 <= cp && cp < 0x2f800) return false;
  ------------------
  |  Branch (1937:7): [True: 11.0M, False: 189]
  |  Branch (1937:24): [True: 446, False: 11.0M]
  ------------------
 1938|  11.0M|  if (0x2fa1e <= cp && cp < 0x30000) return false;
  ------------------
  |  Branch (1938:7): [True: 11.0M, False: 189]
  |  Branch (1938:24): [True: 453, False: 11.0M]
  ------------------
 1939|  11.0M|  if (0x3134b <= cp && cp < 0xe0100) return false;
  ------------------
  |  Branch (1939:7): [True: 11.0M, False: 192]
  |  Branch (1939:24): [True: 7.63k, False: 11.0M]
  ------------------
 1940|  11.0M|  if (0xe01f0 <= cp && cp < 0x110000) return false;
  ------------------
  |  Branch (1940:7): [True: 11.0M, False: 248]
  |  Branch (1940:24): [True: 2.81k, False: 11.0M]
  ------------------
 1941|  11.0M|  return cp < 0x110000;
 1942|  11.0M|}
_ZN3fmt3v126detail12is_printableEtPKNS1_9singletonEmPKhS6_m:
 1766|  12.6M|    -> bool {
 1767|  12.6M|  auto upper = x >> 8;
 1768|  12.6M|  auto lower_start = 0;
 1769|  26.5M|  for (size_t i = 0; i < singletons_size; ++i) {
  ------------------
  |  Branch (1769:22): [True: 26.5M, False: 1.80k]
  ------------------
 1770|  26.5M|    auto s = singletons[i];
 1771|  26.5M|    auto lower_end = lower_start + s.lower_count;
 1772|  26.5M|    if (upper < s.upper) break;
  ------------------
  |  Branch (1772:9): [True: 12.5M, False: 13.9M]
  ------------------
 1773|  13.9M|    if (upper == s.upper) {
  ------------------
  |  Branch (1773:9): [True: 12.5M, False: 1.39M]
  ------------------
 1774|  25.2M|      for (auto j = lower_start; j < lower_end; ++j) {
  ------------------
  |  Branch (1774:34): [True: 12.6M, False: 12.5M]
  ------------------
 1775|  12.6M|        if (singleton_lowers[j] == (x & 0xff)) return false;
  ------------------
  |  Branch (1775:13): [True: 4.41k, False: 12.6M]
  ------------------
 1776|  12.6M|      }
 1777|  12.5M|    }
 1778|  13.9M|    lower_start = lower_end;
 1779|  13.9M|  }
 1780|       |
 1781|  12.5M|  auto xsigned = static_cast<int>(x);
 1782|  12.5M|  auto current = true;
 1783|  47.8M|  for (size_t i = 0; i < normal_size; ++i) {
  ------------------
  |  Branch (1783:22): [True: 47.8M, False: 0]
  ------------------
 1784|  47.8M|    auto v = static_cast<int>(normal[i]);
 1785|  47.8M|    auto len = (v & 0x80) != 0 ? (v & 0x7f) << 8 | normal[++i] : v;
  ------------------
  |  Branch (1785:16): [True: 1.03M, False: 46.8M]
  ------------------
 1786|  47.8M|    xsigned -= len;
 1787|  47.8M|    if (xsigned < 0) break;
  ------------------
  |  Branch (1787:9): [True: 12.5M, False: 35.2M]
  ------------------
 1788|  35.2M|    current = !current;
 1789|  35.2M|  }
 1790|  12.5M|  return current;
 1791|  12.6M|}
_ZN3fmt3v1212report_errorEPKc:
  138|    184|FMT_FUNC void report_error(const char* message) {
  139|       |#if FMT_MSC_VERSION || defined(__NVCC__)
  140|       |  // Silence unreachable code warnings in MSVC and NVCC because these
  141|       |  // are nearly impossible to fix in a generic code.
  142|       |  volatile bool b = true;
  143|       |  if (!b) return;
  144|       |#endif
  145|    184|  FMT_THROW(format_error(message));
  ------------------
  |  |  175|    184|#  define FMT_THROW(x) throw x
  ------------------
  146|    184|}

_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEEC2ERKS4_:
  840|   358k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|   358k|    this->set(store_, SIZE);
  842|   358k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 358k]
  ------------------
  843|   358k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE4growERNS2_6bufferIcEEm:
  810|  4.21k|  static FMT_CONSTEXPR20 void grow(detail::buffer<T>& buf, size_t size) {
  811|  4.21k|    detail::abort_fuzzing_if(size > 5000);
  812|  4.21k|    auto& self = static_cast<basic_memory_buffer&>(buf);
  813|  4.21k|    const size_t max_size =
  814|  4.21k|        std::allocator_traits<Allocator>::max_size(self.alloc_);
  815|  4.21k|    size_t old_capacity = buf.capacity();
  816|  4.21k|    size_t new_capacity = old_capacity + old_capacity / 2;
  817|  4.21k|    if (size > new_capacity)
  ------------------
  |  Branch (817:9): [True: 381, False: 3.83k]
  ------------------
  818|    381|      new_capacity = size;
  819|  3.83k|    else if (new_capacity > max_size)
  ------------------
  |  Branch (819:14): [True: 0, False: 3.83k]
  ------------------
  820|      0|      new_capacity = max_of(size, max_size);
  821|  4.21k|    T* old_data = buf.data();
  822|  4.21k|    T* new_data = self.alloc_.allocate(new_capacity);
  823|       |    // Suppress a bogus -Wstringop-overflow in gcc 13.1 (#3481).
  824|  4.21k|    detail::assume(buf.size() <= new_capacity);
  825|       |    // The following code doesn't throw, so the raw pointer above doesn't leak.
  826|  4.21k|    memcpy(new_data, old_data, buf.size() * sizeof(T));
  827|  4.21k|    self.set(new_data, new_capacity);
  828|       |    // deallocate must not throw according to the standard, but even if it does,
  829|       |    // the buffer already uses the new storage and will deallocate it in
  830|       |    // destructor.
  831|  4.21k|    if (old_data != self.store_) self.alloc_.deallocate(old_data, old_capacity);
  ------------------
  |  Branch (831:9): [True: 3.68k, False: 526]
  ------------------
  832|  4.21k|  }
_ZN3fmt3v126detail16abort_fuzzing_ifEb:
  252|  4.21k|FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) {
  253|  4.21k|  ignore_unused(condition);
  254|       |#ifdef FMT_FUZZ
  255|       |  if (condition) throw std::runtime_error("fuzzing limit reached");
  256|       |#endif
  257|  4.21k|}
_ZN3fmt3v126detail9allocatorIcE8allocateEm:
  749|  4.21k|  auto allocate(size_t n) -> T* {
  750|  4.21k|    FMT_ASSERT(n <= max_value<size_t>() / sizeof(T), "");
  ------------------
  |  |  395|  4.21k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 4.21k, False: 0]
  |  |  ------------------
  |  |  396|  4.21k|         ? (void)0                                                          \
  |  |  397|  4.21k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  751|  4.21k|    T* p = static_cast<T*>(malloc(n * sizeof(T)));
  752|  4.21k|    if (!p) FMT_THROW(std::bad_alloc());
  ------------------
  |  |  175|      0|#  define FMT_THROW(x) throw x
  ------------------
  |  Branch (752:9): [True: 0, False: 4.21k]
  ------------------
  753|  4.21k|    return p;
  754|  4.21k|  }
_ZN3fmt3v126detail9max_valueImEET_v:
  427|  4.21k|template <typename T> constexpr auto max_value() -> T {
  428|  4.21k|  return (std::numeric_limits<T>::max)();
  429|  4.21k|}
_ZN3fmt3v126detail6assumeEb:
  479|  4.21k|FMT_INLINE void assume(bool condition) {
  480|  4.21k|  (void)condition;
  481|  4.21k|#if FMT_HAS_BUILTIN(__builtin_assume) && !FMT_ICC_VERSION
  482|  4.21k|  __builtin_assume(condition);
  483|       |#elif FMT_GCC_VERSION
  484|       |  if (!condition) __builtin_unreachable();
  485|       |#endif
  486|  4.21k|}
_ZN3fmt3v126detail9allocatorIcE10deallocateEPcm:
  756|  4.21k|  void deallocate(T* p, size_t) { free(p); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEED2Ev:
  844|   358k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE10deallocateEv:
  805|   358k|  FMT_CONSTEXPR20 void deallocate() {
  806|   358k|    T* data = this->data();
  807|   358k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 526, False: 358k]
  ------------------
  808|   358k|  }
_ZN3fmt3v1210format_intC2Ei:
 4190|   160k|  FMT_CONSTEXPR20 explicit format_int(int value) : str_(format_signed(value)) {}
_ZN3fmt3v1210format_int13format_signedIiEEPcT_:
 4180|   160k|  FMT_CONSTEXPR20 auto format_signed(Int value) -> char* {
 4181|   160k|    auto abs_value = static_cast<detail::uint32_or_64_or_128_t<Int>>(value);
 4182|   160k|    bool negative = value < 0;
 4183|   160k|    if (negative) abs_value = 0 - abs_value;
  ------------------
  |  Branch (4183:9): [True: 0, False: 160k]
  ------------------
 4184|   160k|    auto begin = format_unsigned(abs_value);
 4185|   160k|    if (negative) *--begin = '-';
  ------------------
  |  Branch (4185:9): [True: 0, False: 160k]
  ------------------
 4186|   160k|    return begin;
 4187|   160k|  }
_ZN3fmt3v1210format_int15format_unsignedIjEEPcT_:
 4174|   186k|  FMT_CONSTEXPR20 auto format_unsigned(UInt value) -> char* {
 4175|   186k|    auto n = static_cast<detail::uint32_or_64_or_128_t<UInt>>(value);
 4176|   186k|    return detail::do_format_decimal(buffer_, n, buffer_size - 1);
 4177|   186k|  }
_ZN3fmt3v126detail17do_format_decimalIcjEEPT_S4_T0_i:
 1220|   186k|    -> Char* {
 1221|   186k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  395|   186k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 186k, False: 0]
  |  |  ------------------
  |  |  396|   186k|         ? (void)0                                                          \
  |  |  397|   186k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1222|   186k|  unsigned n = to_unsigned(size);
 1223|   358k|  while (value >= 100) {
  ------------------
  |  Branch (1223:10): [True: 171k, False: 186k]
  ------------------
 1224|       |    // Integer division is slow so do it for a group of two digits instead
 1225|       |    // of for every digit. The idea comes from the talk by Alexandrescu
 1226|       |    // "Three Optimization Tips for C++". See speed-test for a comparison.
 1227|   171k|    n -= 2;
 1228|   171k|    write2digits(out + n, static_cast<unsigned>(value % 100));
 1229|   171k|    value /= 100;
 1230|   171k|  }
 1231|   186k|  if (value >= 10) {
  ------------------
  |  Branch (1231:7): [True: 160k, False: 25.4k]
  ------------------
 1232|   160k|    n -= 2;
 1233|   160k|    write2digits(out + n, static_cast<unsigned>(value));
 1234|   160k|  } else {
 1235|  25.4k|    out[--n] = static_cast<Char>('0' + value);
 1236|  25.4k|  }
 1237|   186k|  return out + n;
 1238|   186k|}
_ZN3fmt3v126detail12count_digitsEj:
 1146|   194k|FMT_CONSTEXPR20 inline auto count_digits(uint32_t n) -> int {
 1147|   194k|#ifdef FMT_BUILTIN_CLZ
 1148|   194k|  if (!is_constant_evaluated() && !FMT_OPTIMIZE_SIZE) return do_count_digits(n);
  ------------------
  |  |  290|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1148:7): [True: 0, Folded]
  |  Branch (1148:35): [True: 0, Folded]
  ------------------
 1149|      0|#endif
 1150|      0|  return count_digits_fallback(n);
 1151|   194k|}
_ZN3fmt3v126detail15do_count_digitsEj:
 1123|   194k|FMT_INLINE auto do_count_digits(uint32_t n) -> int {
 1124|       |// An optimization by Kendall Willets from https://bit.ly/3uOIQrB.
 1125|       |// This increments the upper 32 bits (log10(T) - 1) when >= T is added.
 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
 1127|   194k|  static constexpr uint64_t table[] = {
 1128|   194k|      FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1129|   194k|      FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1130|   194k|      FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1131|   194k|      FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1132|   194k|      FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1133|   194k|      FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1134|   194k|      FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1135|   194k|      FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1136|   194k|      FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1137|   194k|      FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1138|   194k|      FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1126|   194k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1139|   194k|  };
 1140|   194k|  auto inc = table[FMT_BUILTIN_CLZ(n | 1) ^ 31];
  ------------------
  |  |  206|   194k|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1141|   194k|  return static_cast<int>((n + inc) >> 32);
 1142|   194k|}
_ZN3fmt3v126detail12write2digitsIcEEvPT_m:
 1206|  1.24M|FMT_CONSTEXPR20 FMT_INLINE void write2digits(Char* out, size_t value) {
 1207|  1.24M|  if (!is_constant_evaluated() && std::is_same<Char, char>::value &&
  ------------------
  |  Branch (1207:7): [True: 0, Folded]
  |  Branch (1207:35): [True: 0, Folded]
  ------------------
 1208|  1.24M|      !FMT_OPTIMIZE_SIZE) {
  ------------------
  |  |  290|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1208:7): [True: 0, Folded]
  ------------------
 1209|  1.24M|    memcpy(out, digits2(value), 2);
 1210|  1.24M|    return;
 1211|  1.24M|  }
 1212|      0|  *out++ = static_cast<Char>('0' + value / 10);
 1213|      0|  *out = static_cast<Char>('0' + value % 10);
 1214|      0|}
_ZN3fmt3v126detail7digits2Em:
 1036|  1.24M|inline auto digits2(size_t value) -> const char* {
 1037|       |  // Align data since unaligned access may be slower when crossing a
 1038|       |  // hardware-specific boundary.
 1039|  1.24M|  alignas(2) static const char data[] =
 1040|  1.24M|      "0001020304050607080910111213141516171819"
 1041|  1.24M|      "2021222324252627282930313233343536373839"
 1042|  1.24M|      "4041424344454647484950515253545556575859"
 1043|  1.24M|      "6061626364656667686970717273747576777879"
 1044|  1.24M|      "8081828384858687888990919293949596979899";
 1045|  1.24M|  return &data[value * 2];
 1046|  1.24M|}
_ZNK3fmt3v1210format_int4dataEv:
 4209|  1.22M|  FMT_CONSTEXPR20 auto data() const -> const char* { return str_; }
_ZNK3fmt3v1210format_int4sizeEv:
 4203|   613k|  FMT_CONSTEXPR20 auto size() const -> size_t {
 4204|   613k|    return detail::to_unsigned(buffer_ - str_ + buffer_size - 1);
 4205|   613k|  }
_ZN3fmt3v126detail6equal2EPKcS3_:
 1200|      1|inline auto equal2(const char* lhs, const char* rhs) -> bool {
 1201|      1|  return memcmp(lhs, rhs, 2) == 0;
 1202|      1|}
_ZN3fmt3v126detail10to_pointerIcEEPT_NS0_14basic_appenderIS3_EEm:
  531|  4.34k|FMT_CONSTEXPR20 auto to_pointer(basic_appender<T> it, size_t n) -> T* {
  532|  4.34k|  buffer<T>& buf = get_container(it);
  533|  4.34k|  buf.try_reserve(buf.size() + n);
  534|  4.34k|  auto size = buf.size();
  535|  4.34k|  if (buf.capacity() < size + n) return nullptr;
  ------------------
  |  Branch (535:7): [True: 0, False: 4.34k]
  ------------------
  536|  4.34k|  buf.try_resize(size + n);
  537|  4.34k|  return buf.data() + size;
  538|  4.34k|}
_ZN3fmt3v126detail12count_digitsEm:
 1096|   744k|FMT_CONSTEXPR20 inline auto count_digits(uint64_t n) -> int {
 1097|   744k|#ifdef FMT_BUILTIN_CLZLL
 1098|   744k|  if (!is_constant_evaluated() && !FMT_OPTIMIZE_SIZE) return do_count_digits(n);
  ------------------
  |  |  290|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1098:7): [True: 0, Folded]
  |  Branch (1098:35): [True: 0, Folded]
  ------------------
 1099|      0|#endif
 1100|      0|  return count_digits_fallback(n);
 1101|   744k|}
_ZN3fmt3v126detail15do_count_digitsEm:
 1076|   744k|inline auto do_count_digits(uint64_t n) -> int {
 1077|       |  // This has comparable performance to the version by Kendall Willets
 1078|       |  // (https://github.com/fmtlib/format-benchmark/blob/master/digits10)
 1079|       |  // but uses smaller tables.
 1080|       |  // Maps bsr(n) to ceil(log10(pow(2, bsr(n) + 1) - 1)).
 1081|   744k|  static constexpr uint8_t bsr2log10[] = {
 1082|   744k|      1,  1,  1,  2,  2,  2,  3,  3,  3,  4,  4,  4,  4,  5,  5,  5,
 1083|   744k|      6,  6,  6,  7,  7,  7,  7,  8,  8,  8,  9,  9,  9,  10, 10, 10,
 1084|   744k|      10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15,
 1085|   744k|      15, 16, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 19, 20};
 1086|   744k|  auto t = bsr2log10[FMT_BUILTIN_CLZLL(n | 1) ^ 63];
  ------------------
  |  |  209|   744k|#    define FMT_BUILTIN_CLZLL(n) __builtin_clzll(n)
  ------------------
 1087|   744k|  static constexpr uint64_t zero_or_powers_of_10[] = {
 1088|   744k|      0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1030|   744k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1031|   744k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1032|   744k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
                    0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1030|   744k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1031|   744k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1032|   744k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
 1089|   744k|      10000000000000000000ULL};
 1090|   744k|  return t - (n < zero_or_powers_of_10[t]);
 1091|   744k|}
_ZN3fmt3v126detail14format_decimalIcmEEPT_S4_T0_i:
 1242|    891|                                             int num_digits) -> Char* {
 1243|    891|  do_format_decimal(out, value, num_digits);
 1244|    891|  return out + num_digits;
 1245|    891|}
_ZN3fmt3v126detail17do_format_decimalIcmEEPT_S4_T0_i:
 1220|   432k|    -> Char* {
 1221|   432k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  395|   432k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 432k, False: 0]
  |  |  ------------------
  |  |  396|   432k|         ? (void)0                                                          \
  |  |  397|   432k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1222|   432k|  unsigned n = to_unsigned(size);
 1223|  1.23M|  while (value >= 100) {
  ------------------
  |  Branch (1223:10): [True: 804k, False: 432k]
  ------------------
 1224|       |    // Integer division is slow so do it for a group of two digits instead
 1225|       |    // of for every digit. The idea comes from the talk by Alexandrescu
 1226|       |    // "Three Optimization Tips for C++". See speed-test for a comparison.
 1227|   804k|    n -= 2;
 1228|   804k|    write2digits(out + n, static_cast<unsigned>(value % 100));
 1229|   804k|    value /= 100;
 1230|   804k|  }
 1231|   432k|  if (value >= 10) {
  ------------------
  |  Branch (1231:7): [True: 112k, False: 320k]
  ------------------
 1232|   112k|    n -= 2;
 1233|   112k|    write2digits(out + n, static_cast<unsigned>(value));
 1234|   320k|  } else {
 1235|   320k|    out[--n] = static_cast<Char>('0' + value);
 1236|   320k|  }
 1237|   432k|  return out + n;
 1238|   432k|}
_ZN3fmt3v126detail14format_decimalIcmNS0_14basic_appenderIcEETnNSt3__19enable_ifIXntsr3std10is_pointerINS5_9remove_cvINS5_16remove_referenceIT1_E4typeEE4typeEEE5valueEiE4typeELi0EEES9_S9_T0_i:
 1250|    622|    -> OutputIt {
 1251|    622|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1251:12): [True: 622, False: 0]
  ------------------
 1252|    622|    do_format_decimal(ptr, value, num_digits);
 1253|    622|    return out;
 1254|    622|  }
 1255|       |  // Buffer is large enough to hold all digits (digits10 + 1).
 1256|      0|  char buffer[digits10<UInt>() + 1];
 1257|      0|  if (is_constant_evaluated()) fill_n(buffer, sizeof(buffer), '\0');
  ------------------
  |  Branch (1257:7): [Folded, False: 0]
  ------------------
 1258|      0|  do_format_decimal(buffer, value, num_digits);
 1259|      0|  return copy_noinline<Char>(buffer, buffer + num_digits, out);
 1260|    622|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3660|    891|  void operator()(T value) {
 3661|    891|    write<Char>(out, value);
 3662|    891|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEyTnNSt3__19enable_ifIXaaaasr11is_integralIT1_EE5valuentsr3std7is_sameIS7_bEE5valuentsr3std7is_sameIS7_T_EE5valueEiE4typeELi0EEET0_SB_S7_:
 2295|    891|FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
 2296|    891|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2297|    891|  bool negative = is_negative(value);
 2298|       |  // Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
 2299|    891|  if (negative) abs_value = ~abs_value + 1;
  ------------------
  |  Branch (2299:7): [True: 0, False: 891]
  ------------------
 2300|    891|  int num_digits = count_digits(abs_value);
 2301|    891|  auto size = (negative ? 1 : 0) + static_cast<size_t>(num_digits);
  ------------------
  |  Branch (2301:16): [True: 0, False: 891]
  ------------------
 2302|    891|  if (auto ptr = to_pointer<Char>(out, size)) {
  ------------------
  |  Branch (2302:12): [True: 891, False: 0]
  ------------------
 2303|    891|    if (negative) *ptr++ = static_cast<Char>('-');
  ------------------
  |  Branch (2303:9): [True: 0, False: 891]
  ------------------
 2304|    891|    format_decimal<Char>(ptr, abs_value, num_digits);
 2305|    891|    return out;
 2306|    891|  }
 2307|      0|  if (negative) *out++ = static_cast<Char>('-');
  ------------------
  |  Branch (2307:7): [True: 0, False: 0]
  ------------------
 2308|      0|  return format_decimal<Char>(out, abs_value, num_digits);
 2309|    891|}
_ZN3fmt3v126detail11is_negativeIyTnNSt3__19enable_ifIXntsr9is_signedIT_EE5valueEiE4typeELi0EEEbS5_:
 1015|  12.6k|constexpr auto is_negative(T) -> bool {
 1016|  12.6k|  return false;
 1017|  12.6k|}
_ZNK3fmt3v1212format_facetINSt3__16localeEE3putENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsE:
 3913|  3.74k|      -> bool {
 3914|  3.74k|    return do_put(out, val, specs);
 3915|  3.74k|  }
_ZN3fmt3v129loc_value5visitINS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 3885|  3.74k|  template <typename Visitor> auto visit(Visitor&& vis) -> decltype(vis(0)) {
 3886|  3.74k|    return value_.visit(vis);
 3887|  3.74k|  }
_ZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EE:
 1941|  3.74k|    -> OutputIt {
 1942|  3.74k|  static_assert(std::is_same<uint64_or_128_t<UInt>, UInt>::value, "");
 1943|  3.74k|  int num_digits = 0;
 1944|  3.74k|  auto buffer = memory_buffer();
 1945|  3.74k|  switch (specs.type()) {
 1946|      0|  default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  395|      0|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [Folded, False: 0]
  |  |  ------------------
  |  |  396|      0|         ? (void)0                                                          \
  |  |  397|      0|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
                default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1946:3): [True: 0, False: 3.74k]
  ------------------
 1947|    160|  case presentation_type::none:
  ------------------
  |  Branch (1947:3): [True: 160, False: 3.58k]
  ------------------
 1948|    622|  case presentation_type::dec:
  ------------------
  |  Branch (1948:3): [True: 462, False: 3.28k]
  ------------------
 1949|    622|    num_digits = count_digits(value);
 1950|    622|    format_decimal<char>(appender(buffer), value, num_digits);
 1951|    622|    break;
 1952|  1.18k|  case presentation_type::hex:
  ------------------
  |  Branch (1952:3): [True: 1.18k, False: 2.56k]
  ------------------
 1953|  1.18k|    if (specs.alt())
  ------------------
  |  Branch (1953:9): [True: 430, False: 754]
  ------------------
 1954|    430|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (1954:38): [True: 311, False: 119]
  ------------------
 1955|  1.18k|    num_digits = count_digits<4>(value);
 1956|  1.18k|    format_base2e<char>(4, appender(buffer), value, num_digits, specs.upper());
 1957|  1.18k|    break;
 1958|  1.01k|  case presentation_type::oct:
  ------------------
  |  Branch (1958:3): [True: 1.01k, False: 2.73k]
  ------------------
 1959|  1.01k|    num_digits = count_digits<3>(value);
 1960|       |    // Octal prefix '0' is counted as a digit, so only add it if precision
 1961|       |    // is not greater than the number of digits.
 1962|  1.01k|    if (specs.alt() && specs.precision <= num_digits && value != 0)
  ------------------
  |  Branch (1962:9): [True: 746, False: 267]
  |  Branch (1962:24): [True: 746, False: 0]
  |  Branch (1962:57): [True: 586, False: 160]
  ------------------
 1963|    586|      prefix_append(prefix, '0');
 1964|  1.01k|    format_base2e<char>(3, appender(buffer), value, num_digits);
 1965|  1.01k|    break;
 1966|    638|  case presentation_type::bin:
  ------------------
  |  Branch (1966:3): [True: 638, False: 3.10k]
  ------------------
 1967|    638|    if (specs.alt())
  ------------------
  |  Branch (1967:9): [True: 291, False: 347]
  ------------------
 1968|    291|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (1968:38): [True: 0, False: 291]
  ------------------
 1969|    638|    num_digits = count_digits<1>(value);
 1970|    638|    format_base2e<char>(1, appender(buffer), value, num_digits);
 1971|    638|    break;
 1972|    288|  case presentation_type::chr:
  ------------------
  |  Branch (1972:3): [True: 288, False: 3.45k]
  ------------------
 1973|    288|    return write_char<Char>(out, static_cast<Char>(value), specs);
 1974|  3.74k|  }
 1975|       |
 1976|  3.45k|  unsigned size = (prefix != 0 ? prefix >> 24 : 0) + to_unsigned(num_digits) +
  ------------------
  |  Branch (1976:20): [True: 1.30k, False: 2.15k]
  ------------------
 1977|  3.45k|                  to_unsigned(grouping.count_separators(num_digits));
 1978|  3.45k|  return write_padded<Char, align::right>(
 1979|  3.45k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 1980|  3.45k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 1981|  3.45k|          *it++ = static_cast<Char>(p & 0xff);
 1982|  3.45k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 1983|  3.45k|      });
 1984|  3.74k|}
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEEC2ERKS4_:
  840|  3.74k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|  3.74k|    this->set(store_, SIZE);
  842|  3.74k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 3.74k]
  ------------------
  843|  3.74k|  }
_ZN3fmt3v126detail13prefix_appendERjj:
 1932|  2.40k|FMT_CONSTEXPR inline void prefix_append(unsigned& prefix, unsigned value) {
 1933|  2.40k|  prefix |= prefix != 0 ? value << 8 : value;
  ------------------
  |  Branch (1933:13): [True: 0, False: 2.40k]
  ------------------
 1934|  2.40k|  prefix += (1u + (value > 0xff ? 1 : 0)) << 24;
  ------------------
  |  Branch (1934:20): [True: 1.61k, False: 793]
  ------------------
 1935|  2.40k|}
_ZN3fmt3v126detail12count_digitsILi4EmEEiT0_:
 1105|  1.18k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|  1.18k|#ifdef FMT_BUILTIN_CLZ
 1107|  1.18k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1107:7): [True: 0, Folded]
  |  Branch (1107:35): [Folded, False: 0]
  ------------------
 1108|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  206|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1109|  1.18k|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|  1.18k|  return [](UInt m) {
 1112|  1.18k|    int num_digits = 0;
 1113|  1.18k|    do {
 1114|  1.18k|      ++num_digits;
 1115|  1.18k|    } while ((m >>= BITS) != 0);
 1116|  1.18k|    return num_digits;
 1117|  1.18k|  }(n);
 1118|  1.18k|}
_ZZN3fmt3v126detail12count_digitsILi4EmEEiT0_ENKUlmE_clEm:
 1111|  1.18k|  return [](UInt m) {
 1112|  1.18k|    int num_digits = 0;
 1113|  18.8k|    do {
 1114|  18.8k|      ++num_digits;
 1115|  18.8k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 17.6k, False: 1.18k]
  ------------------
 1116|  1.18k|    return num_digits;
 1117|  1.18k|  }(n);
_ZN3fmt3v126detail13format_base2eIcNS0_14basic_appenderIcEEmTnNSt3__19enable_ifIXsr23is_back_insert_iteratorIT0_EE5valueEiE4typeELi0EEES7_iS7_T1_ib:
 1287|  2.83k|    -> OutputIt {
 1288|  2.83k|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1288:12): [True: 2.83k, False: 0]
  ------------------
 1289|  2.83k|    format_base2e(base_bits, ptr, value, num_digits, upper);
 1290|  2.83k|    return out;
 1291|  2.83k|  }
 1292|       |  // Make buffer large enough for any base.
 1293|      0|  char buffer[num_bits<UInt>()];
 1294|      0|  if (is_constant_evaluated()) fill_n(buffer, sizeof(buffer), '\0');
  ------------------
  |  Branch (1294:7): [Folded, False: 0]
  ------------------
 1295|      0|  format_base2e(base_bits, buffer, value, num_digits, upper);
 1296|      0|  return detail::copy_noinline<Char>(buffer, buffer + num_digits, out);
 1297|  2.83k|}
_ZN3fmt3v126detail13format_base2eIcmEEPT_iS4_T0_ib:
 1278|  2.83k|                                 int num_digits, bool upper = false) -> Char* {
 1279|  2.83k|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1280|  2.83k|  return out + num_digits;
 1281|  2.83k|}
_ZN3fmt3v126detail16do_format_base2eIcmEEPT_iS4_T0_ib:
 1264|  6.79k|                                    int size, bool upper = false) -> Char* {
 1265|  6.79k|  out += size;
 1266|   188k|  do {
 1267|   188k|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1267:26): [True: 13.8k, False: 174k]
  ------------------
 1268|   188k|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1269|   188k|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1269:32): [True: 156k, False: 31.3k]
  ------------------
 1270|   188k|                                             : digits[digit]);
 1271|   188k|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1271:12): [True: 181k, False: 6.79k]
  ------------------
 1272|  6.79k|  return out;
 1273|  6.79k|}
_ZN3fmt3v126detail12count_digitsILi3EmEEiT0_:
 1105|  1.01k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|  1.01k|#ifdef FMT_BUILTIN_CLZ
 1107|  1.01k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1107:7): [True: 0, Folded]
  |  Branch (1107:35): [Folded, False: 0]
  ------------------
 1108|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  206|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1109|  1.01k|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|  1.01k|  return [](UInt m) {
 1112|  1.01k|    int num_digits = 0;
 1113|  1.01k|    do {
 1114|  1.01k|      ++num_digits;
 1115|  1.01k|    } while ((m >>= BITS) != 0);
 1116|  1.01k|    return num_digits;
 1117|  1.01k|  }(n);
 1118|  1.01k|}
_ZZN3fmt3v126detail12count_digitsILi3EmEEiT0_ENKUlmE_clEm:
 1111|  1.01k|  return [](UInt m) {
 1112|  1.01k|    int num_digits = 0;
 1113|  17.5k|    do {
 1114|  17.5k|      ++num_digits;
 1115|  17.5k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 16.5k, False: 1.01k]
  ------------------
 1116|  1.01k|    return num_digits;
 1117|  1.01k|  }(n);
_ZN3fmt3v126detail12count_digitsILi1EmEEiT0_:
 1105|    638|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|    638|#ifdef FMT_BUILTIN_CLZ
 1107|    638|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1107:7): [True: 0, Folded]
  |  Branch (1107:35): [Folded, False: 0]
  ------------------
 1108|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  206|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1109|    638|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|    638|  return [](UInt m) {
 1112|    638|    int num_digits = 0;
 1113|    638|    do {
 1114|    638|      ++num_digits;
 1115|    638|    } while ((m >>= BITS) != 0);
 1116|    638|    return num_digits;
 1117|    638|  }(n);
 1118|    638|}
_ZZN3fmt3v126detail12count_digitsILi1EmEEiT0_ENKUlmE_clEm:
 1111|    638|  return [](UInt m) {
 1112|    638|    int num_digits = 0;
 1113|  38.9k|    do {
 1114|  38.9k|      ++num_digits;
 1115|  38.9k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 38.2k, False: 638]
  ------------------
 1116|    638|    return num_digits;
 1117|    638|  }(n);
_ZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsE:
 1859|    744|                              const format_specs& specs) -> OutputIt {
 1860|    744|  bool is_debug = specs.type() == presentation_type::debug;
 1861|    744|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1862|    744|    if (is_debug) return write_escaped_char(it, value);
 1863|    744|    *it++ = value;
 1864|    744|    return it;
 1865|    744|  });
 1866|    744|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SD_SB_mOT2_:
 1709|    744|                            size_t size, F&& f) -> OutputIt {
 1710|    744|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1711|    744|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEERZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SE_SB_mmOT2_:
 1688|    744|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|    744|  static_assert(default_align == align::left || default_align == align::right,
 1690|    744|                "");
 1691|    744|  unsigned spec_width = to_unsigned(specs.width);
 1692|    744|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 260, False: 484]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|    744|  auto* shifts =
 1696|    744|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [True: 744, Folded]
  ------------------
 1697|    744|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|    744|  size_t right_padding = padding - left_padding;
 1699|    744|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|    744|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 257, False: 487]
  ------------------
 1701|    744|  it = f(it);
 1702|    744|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 3, False: 741]
  ------------------
 1703|    744|  return base_iterator(out, it);
 1704|    744|}
_ZN3fmt3v126detail7reserveIcEENS0_14basic_appenderIT_EES5_m:
  506|  17.0k|    -> basic_appender<T> {
  507|  17.0k|  buffer<T>& buf = get_container(it);
  508|  17.0k|  buf.try_reserve(buf.size() + n);
  509|  17.0k|  return it;
  510|  17.0k|}
_ZN3fmt3v126detail4fillIcNS0_14basic_appenderIcEEEET0_S5_mRKNS0_11basic_specsE:
 1673|  2.30k|                                     const basic_specs& specs) -> OutputIt {
 1674|  2.30k|  auto fill_size = specs.fill_size();
 1675|  2.30k|  if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
  ------------------
  |  Branch (1675:7): [True: 2.15k, False: 144]
  ------------------
 1676|    144|  if (const Char* data = specs.fill<Char>()) {
  ------------------
  |  Branch (1676:19): [True: 144, False: 0]
  ------------------
 1677|  1.99M|    for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
  ------------------
  |  Branch (1677:24): [True: 1.99M, False: 144]
  ------------------
 1678|    144|  }
 1679|    144|  return it;
 1680|  2.30k|}
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEmcEET_S5_T0_RKT1_:
  558|  2.15k|    -> OutputIt {
  559|  2.82G|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (559:20): [True: 2.82G, False: 2.15k]
  ------------------
  560|  2.15k|  return out;
  561|  2.15k|}
_ZZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsEENKUlS4_E_clES4_:
 1861|    744|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1862|    744|    if (is_debug) return write_escaped_char(it, value);
  ------------------
  |  Branch (1862:9): [True: 0, False: 744]
  ------------------
 1863|    744|    *it++ = value;
 1864|    744|    return it;
 1865|    744|  });
_ZN3fmt3v126detail12needs_escapeEj:
 1740|  77.7M|inline auto needs_escape(uint32_t cp) -> bool {
 1741|  77.7M|  if (cp < 0x20 || cp == 0x7f || cp == '"' || cp == '\\') return true;
  ------------------
  |  Branch (1741:7): [True: 53.4M, False: 24.2M]
  |  Branch (1741:20): [True: 29.1k, False: 24.2M]
  |  Branch (1741:34): [True: 581k, False: 23.6M]
  |  Branch (1741:47): [True: 2.52k, False: 23.6M]
  ------------------
 1742|  23.6M|  if (const_check(FMT_OPTIMIZE_SIZE > 1)) return false;
  ------------------
  |  |  290|  23.6M|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1742:7): [Folded, False: 23.6M]
  ------------------
 1743|  23.6M|  return !is_printable(cp);
 1744|  23.6M|}
_ZN3fmt3v126detail16write_escaped_cpINS0_14basic_appenderIcEEcEET_S5_RKNS1_18find_escape_resultIT0_EE:
 1790|  41.9M|    -> OutputIt {
 1791|  41.9M|  auto c = static_cast<Char>(escape.cp);
 1792|  41.9M|  switch (escape.cp) {
 1793|   583k|  case '\n':
  ------------------
  |  Branch (1793:3): [True: 583k, False: 41.3M]
  ------------------
 1794|   583k|    *out++ = static_cast<Char>('\\');
 1795|   583k|    c = static_cast<Char>('n');
 1796|   583k|    break;
 1797|  75.9k|  case '\r':
  ------------------
  |  Branch (1797:3): [True: 75.9k, False: 41.8M]
  ------------------
 1798|  75.9k|    *out++ = static_cast<Char>('\\');
 1799|  75.9k|    c = static_cast<Char>('r');
 1800|  75.9k|    break;
 1801|  10.3M|  case '\t':
  ------------------
  |  Branch (1801:3): [True: 10.3M, False: 31.5M]
  ------------------
 1802|  10.3M|    *out++ = static_cast<Char>('\\');
 1803|  10.3M|    c = static_cast<Char>('t');
 1804|  10.3M|    break;
 1805|   572k|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|   572k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1805:3): [True: 572k, False: 41.3M]
  ------------------
 1806|   572k|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|   572k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1806:3): [True: 0, False: 41.9M]
  ------------------
 1807|   574k|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1807:3): [True: 1.30k, False: 41.9M]
  ------------------
 1808|  30.3M|  default:
  ------------------
  |  Branch (1808:3): [True: 30.3M, False: 11.5M]
  ------------------
 1809|  30.3M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1809:9): [True: 23.6M, False: 6.70M]
  ------------------
 1810|  6.70M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1810:9): [True: 17.1k, False: 6.68M]
  ------------------
 1811|  17.1k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1812|  6.68M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1812:9): [True: 15.1k, False: 6.67M]
  ------------------
 1813|  15.1k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1814|  6.67M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1814:27): [True: 6.67M, False: 6.67M]
  ------------------
 1815|  6.67M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1816|  6.67M|      out = write_codepoint<2, Char>(out, 'x',
 1817|  6.67M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1818|  6.67M|    }
 1819|  6.67M|    return out;
 1820|  41.9M|  }
 1821|  11.5M|  *out++ = c;
 1822|  11.5M|  return out;
 1823|  41.9M|}
_ZN3fmt3v126detail15write_codepointILm2EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|  30.3M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  30.3M|  *out++ = static_cast<Char>('\\');
 1781|  30.3M|  *out++ = static_cast<Char>(prefix);
 1782|  30.3M|  Char buf[width];
 1783|  30.3M|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  30.3M|  format_base2e(4, buf, cp, width);
 1785|  30.3M|  return copy<Char>(buf, buf + width, out);
 1786|  30.3M|}
_ZN3fmt3v126detail6fill_nIcmEEPT_S4_T0_c:
  563|  49.7M|FMT_CONSTEXPR20 auto fill_n(T* out, Size count, char value) -> T* {
  564|  49.7M|  if (is_constant_evaluated()) return fill_n<T*, Size, T>(out, count, value);
  ------------------
  |  Branch (564:7): [Folded, False: 49.7M]
  ------------------
  565|  49.7M|  static_assert(sizeof(T) == 1,
  566|  49.7M|                "sizeof(T) must be 1 to use char for initialization");
  567|  49.7M|  std::memset(out, value, to_unsigned(count));
  568|  49.7M|  return out + count;
  569|  49.7M|}
_ZN3fmt3v126detail13format_base2eIcjEEPT_iS4_T0_ib:
 1278|  49.7M|                                 int num_digits, bool upper = false) -> Char* {
 1279|  49.7M|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1280|  49.7M|  return out + num_digits;
 1281|  49.7M|}
_ZN3fmt3v126detail16do_format_base2eIcjEEPT_iS4_T0_ib:
 1264|  49.7M|                                    int size, bool upper = false) -> Char* {
 1265|  49.7M|  out += size;
 1266|  66.3M|  do {
 1267|  66.3M|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1267:26): [True: 0, False: 66.3M]
  ------------------
 1268|  66.3M|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1269|  66.3M|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1269:32): [True: 0, False: 66.3M]
  ------------------
 1270|  66.3M|                                             : digits[digit]);
 1271|  66.3M|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1271:12): [True: 16.5M, False: 49.7M]
  ------------------
 1272|  49.7M|  return out;
 1273|  49.7M|}
_ZN3fmt3v126detail15write_codepointILm4EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|  17.1k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  17.1k|  *out++ = static_cast<Char>('\\');
 1781|  17.1k|  *out++ = static_cast<Char>(prefix);
 1782|  17.1k|  Char buf[width];
 1783|  17.1k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  17.1k|  format_base2e(4, buf, cp, width);
 1785|  17.1k|  return copy<Char>(buf, buf + width, out);
 1786|  17.1k|}
_ZN3fmt3v126detail15write_codepointILm8EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|  15.1k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  15.1k|  *out++ = static_cast<Char>('\\');
 1781|  15.1k|  *out++ = static_cast<Char>(prefix);
 1782|  15.1k|  Char buf[width];
 1783|  15.1k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  15.1k|  format_base2e(4, buf, cp, width);
 1785|  15.1k|  return copy<Char>(buf, buf + width, out);
 1786|  15.1k|}
_ZN3fmt3v126detail13base_iteratorINS0_14basic_appenderIcEEEET_S5_S5_:
  550|  15.9k|constexpr auto base_iterator(Iterator, Iterator it) -> Iterator {
  551|  15.9k|  return it;
  552|  15.9k|}
_ZNK3fmt3v126detail14digit_groupingIcE16count_separatorsEi:
 1901|  3.45k|  auto count_separators(int num_digits) const -> int {
 1902|  3.45k|    int count = 0;
 1903|  3.45k|    auto state = initial_state();
 1904|  3.45k|    while (num_digits > next(state)) ++count;
  ------------------
  |  Branch (1904:12): [True: 0, False: 3.45k]
  ------------------
 1905|  3.45k|    return count;
 1906|  3.45k|  }
_ZNK3fmt3v126detail14digit_groupingIcE13initial_stateEv:
 1877|  6.91k|  auto initial_state() const -> next_state { return {grouping_.begin(), 0}; }
_ZNK3fmt3v126detail14digit_groupingIcE4nextERNS3_10next_stateE:
 1880|  6.91k|  auto next(next_state& state) const -> int {
 1881|  6.91k|    if (thousands_sep_.empty()) return max_value<int>();
  ------------------
  |  Branch (1881:9): [True: 6.91k, False: 0]
  ------------------
 1882|      0|    if (state.group == grouping_.end()) return state.pos += grouping_.back();
  ------------------
  |  Branch (1882:9): [True: 0, False: 0]
  ------------------
 1883|      0|    if (*state.group <= 0 || *state.group == max_value<char>())
  ------------------
  |  Branch (1883:9): [True: 0, False: 0]
  |  Branch (1883:30): [True: 0, False: 0]
  ------------------
 1884|      0|      return max_value<int>();
 1885|      0|    state.pos += *state.group++;
 1886|      0|    return state.pos;
 1887|      0|  }
_ZN3fmt3v126detail9max_valueIiEET_v:
  427|  7.04k|template <typename T> constexpr auto max_value() -> T {
  428|  7.04k|  return (std::numeric_limits<T>::max)();
  429|  7.04k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIS5_mcEET_S7_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEEUlS5_E_EESD_SD_SB_mmOT2_:
 1688|  3.45k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  3.45k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  3.45k|                "");
 1691|  3.45k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  3.45k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 447, False: 3.01k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  3.45k|  auto* shifts =
 1696|  3.45k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [Folded, False: 3.45k]
  ------------------
 1697|  3.45k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  3.45k|  size_t right_padding = padding - left_padding;
 1699|  3.45k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  3.45k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 378, False: 3.07k]
  ------------------
 1701|  3.45k|  it = f(it);
 1702|  3.45k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 72, False: 3.38k]
  ------------------
 1703|  3.45k|  return base_iterator(out, it);
 1704|  3.45k|}
_ZZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEENKUlS4_E_clES4_:
 1979|  3.45k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 1980|  5.48k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (1980:46): [True: 2.02k, False: 3.45k]
  ------------------
 1981|  2.02k|          *it++ = static_cast<Char>(p & 0xff);
 1982|  3.45k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 1983|  3.45k|      });
_ZNK3fmt3v126detail14digit_groupingIcE5applyINS0_14basic_appenderIcEEcEET_S7_NS0_17basic_string_viewIT0_EE:
 1910|  3.45k|  auto apply(Out out, basic_string_view<C> digits) const -> Out {
 1911|  3.45k|    auto num_digits = static_cast<int>(digits.size());
 1912|  3.45k|    auto separators = basic_memory_buffer<int>();
 1913|  3.45k|    separators.push_back(0);
 1914|  3.45k|    auto state = initial_state();
 1915|  3.45k|    while (int i = next(state)) {
  ------------------
  |  Branch (1915:16): [True: 3.45k, False: 0]
  ------------------
 1916|  3.45k|      if (i >= num_digits) break;
  ------------------
  |  Branch (1916:11): [True: 3.45k, False: 0]
  ------------------
 1917|      0|      separators.push_back(i);
 1918|      0|    }
 1919|  3.45k|    for (int i = 0, sep_index = static_cast<int>(separators.size() - 1);
 1920|  90.1k|         i < num_digits; ++i) {
  ------------------
  |  Branch (1920:10): [True: 86.7k, False: 3.45k]
  ------------------
 1921|  86.7k|      if (num_digits - i == separators[sep_index]) {
  ------------------
  |  Branch (1921:11): [True: 0, False: 86.7k]
  ------------------
 1922|      0|        out = copy<Char>(thousands_sep_.data(),
 1923|      0|                         thousands_sep_.data() + thousands_sep_.size(), out);
 1924|      0|        --sep_index;
 1925|      0|      }
 1926|  86.7k|      *out++ = static_cast<Char>(digits[to_unsigned(i)]);
 1927|  86.7k|    }
 1928|  3.45k|    return out;
 1929|  3.45k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEEC2ERKS4_:
  840|  3.45k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|  3.45k|    this->set(store_, SIZE);
  842|  3.45k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 3.45k]
  ------------------
  843|  3.45k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEED2Ev:
  844|  3.45k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEE10deallocateEv:
  805|  3.45k|  FMT_CONSTEXPR20 void deallocate() {
  806|  3.45k|    T* data = this->data();
  807|  3.45k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 0, False: 3.45k]
  ------------------
  808|  3.45k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEED2Ev:
  844|  3.74k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEE10deallocateEv:
  805|  3.74k|  FMT_CONSTEXPR20 void deallocate() {
  806|  3.74k|    T* data = this->data();
  807|  3.74k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 0, False: 3.74k]
  ------------------
  808|  3.74k|  }
_ZN3fmt3v126detail14digit_groupingIcEC2ENSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEESA_:
 1897|  3.74k|      : grouping_(std::move(grouping)), thousands_sep_(std::move(sep)) {}
_ZN3fmt3v126detail10loc_writerIcEclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEbS7_:
 2027|  3.74k|  auto operator()(T value) -> bool {
 2028|  3.74k|    auto arg = make_write_int_arg(value, specs.sign());
 2029|  3.74k|    write_int(out, static_cast<uint64_or_128_t<T>>(arg.abs_value), arg.prefix,
 2030|  3.74k|              specs, digit_grouping<Char>(grouping, sep));
 2031|  3.74k|    return true;
 2032|  3.74k|  }
_ZN3fmt3v126detail18make_write_int_argIyEENS1_13write_int_argINSt3__111conditionalIXaalecl8num_bitsIT_EELi32EntLi0EEjNS5_IXlecl8num_bitsIS6_EELi64EEmoE4typeEE4typeEEES6_NS0_4signE:
 2006|  11.6k|    -> write_int_arg<uint32_or_64_or_128_t<T>> {
 2007|  11.6k|  auto prefix = 0u;
 2008|  11.6k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2009|  11.6k|  if (is_negative(value)) {
  ------------------
  |  Branch (2009:7): [True: 0, False: 11.6k]
  ------------------
 2010|      0|    prefix = 0x01000000 | '-';
 2011|      0|    abs_value = 0 - abs_value;
 2012|  11.6k|  } else {
 2013|  11.6k|    constexpr unsigned prefixes[4] = {0, 0, 0x1000000u | '+', 0x1000000u | ' '};
 2014|  11.6k|    prefix = prefixes[static_cast<int>(s)];
 2015|  11.6k|  }
 2016|  11.6k|  return {abs_value, prefix};
 2017|  11.6k|}
_ZN3fmt3v126detail12size_paddingC2EijRKNS0_12format_specsE:
 2047|  2.46k|      : size((prefix >> 24) + to_unsigned(num_digits)), padding(0) {
 2048|  2.46k|    if (specs.align() == align::numeric) {
  ------------------
  |  Branch (2048:9): [True: 404, False: 2.05k]
  ------------------
 2049|    404|      auto width = to_unsigned(specs.width);
 2050|    404|      if (width > size) {
  ------------------
  |  Branch (2050:11): [True: 158, False: 246]
  ------------------
 2051|    158|        padding = width - size;
 2052|    158|        size = width;
 2053|    158|      }
 2054|  2.05k|    } else if (specs.precision > num_digits) {
  ------------------
  |  Branch (2054:16): [True: 0, False: 2.05k]
  ------------------
 2055|      0|      size = (prefix >> 24) + to_unsigned(specs.precision);
 2056|      0|      padding = to_unsigned(specs.precision - num_digits);
 2057|      0|    }
 2058|  2.46k|  }
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEjcEET_S5_T0_RKT1_:
  558|  2.46k|    -> OutputIt {
  559|  88.8M|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (559:20): [True: 88.8M, False: 2.46k]
  ------------------
  560|  2.46k|  return out;
  561|  2.46k|}
_ZN3fmt3v126detail13copy_noinlineIcPKcNS0_14basic_appenderIcEEEET1_T0_S8_S7_:
  573|  19.7k|                                              OutputIt out) -> OutputIt {
  574|  19.7k|  return copy<OutChar>(begin, end, out);
  575|  19.7k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 3583|    474|    -> OutputIt {
 3584|    474|  return copy_noinline<Char>(value.begin(), value.end(), out);
 3585|    474|}
_ZN3fmt3v126detail21default_arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3660|    474|  void operator()(T value) {
 3661|    474|    write<Char>(out, value);
 3662|    474|  }
_ZN3fmt3v126detail14format_handlerIcE7on_textEPKcS5_:
 3764|  19.3k|  void on_text(const Char* begin, const Char* end) {
 3765|  19.3k|    copy_noinline<Char>(begin, end, ctx.out());
 3766|  19.3k|  }
_ZN3fmt3v126detail14format_handlerIcE20on_replacement_fieldEiPKc:
 3780|  1.36k|  FMT_INLINE void on_replacement_field(int id, const Char*) {
 3781|  1.36k|    ctx.arg(id).visit(default_arg_formatter<Char>{ctx.out()});
 3782|  1.36k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEv:
 3768|     47|  FMT_CONSTEXPR auto on_arg_id() -> int { return parse_ctx.next_arg_id(); }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEi:
 3769|  18.3k|  FMT_CONSTEXPR auto on_arg_id(int id) -> int {
 3770|  18.3k|    parse_ctx.check_arg_id(id);
 3771|  18.3k|    return id;
 3772|  18.3k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idENS0_17basic_string_viewIcEE:
 3773|     15|  FMT_CONSTEXPR auto on_arg_id(basic_string_view<Char> id) -> int {
 3774|     15|    parse_ctx.check_arg_id(id);
 3775|     15|    int arg_id = ctx.arg_id(id);
 3776|     15|    if (arg_id < 0) report_error("argument not found");
  ------------------
  |  Branch (3776:9): [True: 15, False: 0]
  ------------------
 3777|     15|    return arg_id;
 3778|     15|  }
_ZN3fmt3v126detail14format_handlerIcE15on_format_specsEiPKcS5_:
 3785|  17.0k|      -> const Char* {
 3786|  17.0k|    auto arg = ctx.arg(id);
 3787|  17.0k|    if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3787:9): [True: 13, False: 17.0k]
  ------------------
 3788|       |    // Not using a visitor for custom types gives better codegen.
 3789|  17.0k|    if (arg.format_custom(begin, parse_ctx, ctx)) return parse_ctx.begin();
  ------------------
  |  Branch (3789:9): [True: 0, False: 17.0k]
  ------------------
 3790|       |
 3791|  17.0k|    auto specs = dynamic_format_specs<Char>();
 3792|  17.0k|    begin = parse_format_specs(begin, end, specs, parse_ctx, arg.type());
 3793|  17.0k|    if (specs.dynamic()) {
  ------------------
  |  Branch (3793:9): [True: 129, False: 16.9k]
  ------------------
 3794|    129|      handle_dynamic_spec(specs.dynamic_width(), specs.width, specs.width_ref,
 3795|    129|                          ctx);
 3796|    129|      handle_dynamic_spec(specs.dynamic_precision(), specs.precision,
 3797|    129|                          specs.precision_ref, ctx);
 3798|    129|    }
 3799|       |
 3800|  17.0k|    arg.visit(arg_formatter<Char>{ctx.out(), specs, ctx.locale()});
 3801|  17.0k|    return begin;
 3802|  17.0k|  }
_ZN3fmt3v126detail19handle_dynamic_specINS0_7contextEEEvNS0_11arg_id_kindERiRKNS1_7arg_refINT_9char_typeEEERS7_:
 3714|    258|    const arg_ref<typename Context::char_type>& ref, Context& ctx) {
 3715|    258|  if (kind == arg_id_kind::none) return;
  ------------------
  |  Branch (3715:7): [True: 129, False: 129]
  ------------------
 3716|    129|  auto arg =
 3717|    129|      kind == arg_id_kind::index ? ctx.arg(ref.index) : ctx.arg(ref.name);
  ------------------
  |  Branch (3717:7): [True: 129, False: 0]
  ------------------
 3718|    129|  if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3718:7): [True: 0, False: 129]
  ------------------
 3719|    129|  unsigned long long result = arg.visit(dynamic_spec_getter());
 3720|    129|  if (result > to_unsigned(max_value<int>()))
  ------------------
  |  Branch (3720:7): [True: 1, False: 128]
  ------------------
 3721|      1|    report_error("width/precision is out of range");
 3722|    129|  value = static_cast<int>(result);
 3723|    129|}
_ZN3fmt3v126detail19dynamic_spec_getterclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEyS6_:
 3700|    129|  FMT_CONSTEXPR auto operator()(T value) -> unsigned long long {
 3701|    129|    return is_negative(value) ? ~0ull : static_cast<unsigned long long>(value);
  ------------------
  |  Branch (3701:12): [True: 0, False: 129]
  ------------------
 3702|    129|  }
_ZN3fmt3v126detail18write_int_noinlineIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2129|  7.90k|    -> OutputIt {
 2130|  7.90k|  return write_int<Char>(out, arg, specs);
 2131|  7.90k|}
_ZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2063|  7.90k|                                        const format_specs& specs) -> OutputIt {
 2064|  7.90k|  static_assert(std::is_same<T, uint32_or_64_or_128_t<T>>::value, "");
 2065|       |
 2066|  7.90k|  constexpr size_t buffer_size = num_bits<T>();
 2067|  7.90k|  char buffer[buffer_size];
 2068|  7.90k|  if (is_constant_evaluated()) fill_n(buffer, buffer_size, '\0');
  ------------------
  |  Branch (2068:7): [Folded, False: 7.90k]
  ------------------
 2069|  7.90k|  const char* begin = nullptr;
 2070|  7.90k|  const char* end = buffer + buffer_size;
 2071|       |
 2072|  7.90k|  auto abs_value = arg.abs_value;
 2073|  7.90k|  auto prefix = arg.prefix;
 2074|  7.90k|  switch (specs.type()) {
 2075|      0|  default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  395|      0|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [Folded, False: 0]
  |  |  ------------------
  |  |  396|      0|         ? (void)0                                                          \
  |  |  397|      0|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
                default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (2075:3): [True: 0, False: 7.90k]
  ------------------
 2076|  3.06k|  case presentation_type::none:
  ------------------
  |  Branch (2076:3): [True: 3.06k, False: 4.84k]
  ------------------
 2077|  3.48k|  case presentation_type::dec:
  ------------------
  |  Branch (2077:3): [True: 422, False: 7.47k]
  ------------------
 2078|  3.48k|    begin = do_format_decimal(buffer, abs_value, buffer_size);
 2079|  3.48k|    break;
 2080|    825|  case presentation_type::hex:
  ------------------
  |  Branch (2080:3): [True: 825, False: 7.07k]
  ------------------
 2081|    825|    begin = do_format_base2e(4, buffer, abs_value, buffer_size, specs.upper());
 2082|    825|    if (specs.alt())
  ------------------
  |  Branch (2082:9): [True: 273, False: 552]
  ------------------
 2083|    273|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (2083:38): [True: 2, False: 271]
  ------------------
 2084|    825|    break;
 2085|  1.54k|  case presentation_type::oct: {
  ------------------
  |  Branch (2085:3): [True: 1.54k, False: 6.35k]
  ------------------
 2086|  1.54k|    begin = do_format_base2e(3, buffer, abs_value, buffer_size);
 2087|       |    // Octal prefix '0' is counted as a digit, so only add it if precision
 2088|       |    // is not greater than the number of digits.
 2089|  1.54k|    auto num_digits = end - begin;
 2090|  1.54k|    if (specs.alt() && specs.precision <= num_digits && abs_value != 0)
  ------------------
  |  Branch (2090:9): [True: 453, False: 1.09k]
  |  Branch (2090:24): [True: 453, False: 0]
  |  Branch (2090:57): [True: 207, False: 246]
  ------------------
 2091|    207|      prefix_append(prefix, '0');
 2092|  1.54k|    break;
 2093|  3.06k|  }
 2094|  1.59k|  case presentation_type::bin:
  ------------------
  |  Branch (2094:3): [True: 1.59k, False: 6.30k]
  ------------------
 2095|  1.59k|    begin = do_format_base2e(1, buffer, abs_value, buffer_size);
 2096|  1.59k|    if (specs.alt())
  ------------------
  |  Branch (2096:9): [True: 616, False: 978]
  ------------------
 2097|    616|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (2097:38): [True: 2, False: 614]
  ------------------
 2098|  1.59k|    break;
 2099|    456|  case presentation_type::chr:
  ------------------
  |  Branch (2099:3): [True: 456, False: 7.44k]
  ------------------
 2100|    456|    return write_char<Char>(out, static_cast<Char>(abs_value), specs);
 2101|  7.90k|  }
 2102|       |
 2103|       |  // Write an integer in the format
 2104|       |  //   <left-padding><prefix><numeric-padding><digits><right-padding>
 2105|       |  // prefix contains chars in three lower bytes and the size in the fourth byte.
 2106|  7.44k|  int num_digits = static_cast<int>(end - begin);
 2107|       |  // Slightly faster check for specs.width == 0 && specs.precision == -1.
 2108|  7.44k|  if ((specs.width | (specs.precision + 1)) == 0) {
  ------------------
  |  Branch (2108:7): [True: 4.98k, False: 2.46k]
  ------------------
 2109|  4.98k|    auto it = reserve(out, to_unsigned(num_digits) + (prefix >> 24));
 2110|  5.72k|    for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2110:42): [True: 736, False: 4.98k]
  ------------------
 2111|    736|      *it++ = static_cast<Char>(p & 0xff);
 2112|  4.98k|    return base_iterator(out, copy<Char>(begin, end, it));
 2113|  4.98k|  }
 2114|  2.46k|  auto sp = size_padding(num_digits, prefix, specs);
 2115|  2.46k|  unsigned padding = sp.padding;
 2116|  2.46k|  return write_padded<Char, align::right>(
 2117|  2.46k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2118|  2.46k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 2119|  2.46k|          *it++ = static_cast<Char>(p & 0xff);
 2120|  2.46k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2121|  2.46k|        return copy<Char>(begin, end, it);
 2122|  2.46k|      });
 2123|  7.44k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mOT2_:
 1709|  2.46k|                            size_t size, F&& f) -> OutputIt {
 1710|  2.46k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1711|  2.46k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEERZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mmOT2_:
 1688|  2.46k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  2.46k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  2.46k|                "");
 1691|  2.46k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  2.46k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 1.33k, False: 1.12k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  2.46k|  auto* shifts =
 1696|  2.46k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [Folded, False: 2.46k]
  ------------------
 1697|  2.46k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  2.46k|  size_t right_padding = padding - left_padding;
 1699|  2.46k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  2.46k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 412, False: 2.04k]
  ------------------
 1701|  2.46k|  it = f(it);
 1702|  2.46k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 931, False: 1.52k]
  ------------------
 1703|  2.46k|  return base_iterator(out, it);
 1704|  2.46k|}
_ZZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2117|  2.46k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2118|  3.70k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2118:46): [True: 1.24k, False: 2.46k]
  ------------------
 2119|  1.24k|          *it++ = static_cast<Char>(p & 0xff);
 2120|  2.46k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2121|  2.46k|        return copy<Char>(begin, end, it);
 2122|  2.46k|      });
_ZN3fmt3v126detail13arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3683|  11.6k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3684|  11.6k|    detail::write<Char>(out, value, specs, locale);
 3685|  11.6k|  }
_ZN3fmt3v126detail5writeIcyTnNSt3__19enable_ifIXaaaasr11is_integralIT0_EE5valuentsr3std7is_sameIS5_bEE5valuentsr3std7is_sameIS5_T_EE5valueEiE4typeELi0EEENS0_14basic_appenderIS6_EESA_S5_RKNS0_12format_specsENS0_10locale_refE:
 2139|  11.6k|    -> basic_appender<Char> {
 2140|  11.6k|  if (specs.localized() && write_loc(out, value, specs, loc)) return out;
  ------------------
  |  Branch (2140:7): [True: 3.74k, False: 7.90k]
  |  Branch (2140:28): [True: 3.74k, False: 0]
  ------------------
 2141|  7.90k|  return write_int_noinline<Char>(out, make_write_int_arg(value, specs.sign()),
 2142|  7.90k|                                  specs);
 2143|  11.6k|}
_ZN3fmt3v129loc_valueC2IyTnNSt3__19enable_ifIXntsr6detail11is_float128IT_EE5valueEiE4typeELi0EEES5_:
 3880|  3.74k|  loc_value(T value) : value_(value) {}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EERKNS0_12format_specsENS0_10locale_refE:
 2278|  5.36k|                         const format_specs& specs, locale_ref) -> OutputIt {
 2279|  5.36k|  return write<Char>(out, s, specs);
 2280|  5.36k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsE:
 2172|  5.36k|                         const format_specs& specs) -> OutputIt {
 2173|  5.36k|  bool is_debug = specs.type() == presentation_type::debug;
 2174|  5.36k|  if (specs.precision < 0 && specs.width == 0) {
  ------------------
  |  Branch (2174:7): [True: 4.61k, False: 748]
  |  Branch (2174:30): [True: 1.08k, False: 3.53k]
  ------------------
 2175|  1.08k|    auto&& it = reserve(out, s.size());
 2176|  1.08k|    return is_debug ? write_escaped_string(it, s) : copy<char>(s, it);
  ------------------
  |  Branch (2176:12): [True: 893, False: 189]
  ------------------
 2177|  1.08k|  }
 2178|       |
 2179|  4.28k|  size_t display_width_limit =
 2180|  4.28k|      specs.precision < 0 ? SIZE_MAX : to_unsigned(specs.precision);
  ------------------
  |  Branch (2180:7): [True: 3.53k, False: 748]
  ------------------
 2181|  4.28k|  size_t display_width =
 2182|  4.28k|      !is_debug || specs.precision == 0 ? 0 : 1;  // Account for opening '"'.
  ------------------
  |  Branch (2182:7): [True: 289, False: 3.99k]
  |  Branch (2182:20): [True: 162, False: 3.83k]
  ------------------
 2183|  4.28k|  size_t size = !is_debug || specs.precision == 0 ? 0 : 1;
  ------------------
  |  Branch (2183:17): [True: 289, False: 3.99k]
  |  Branch (2183:30): [True: 162, False: 3.83k]
  ------------------
 2184|  4.28k|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2185|  4.28k|    if (is_debug && needs_escape(cp)) {
 2186|  4.28k|      counting_buffer<char> buf;
 2187|  4.28k|      write_escaped_cp(basic_appender<char>(buf),
 2188|  4.28k|                       find_escape_result<char>{sv.begin(), sv.end(), cp});
 2189|       |      // We're reinterpreting bytes as display width. That's okay
 2190|       |      // because write_escaped_cp() only writes ASCII characters.
 2191|  4.28k|      size_t cp_width = buf.count();
 2192|  4.28k|      if (display_width + cp_width <= display_width_limit) {
 2193|  4.28k|        display_width += cp_width;
 2194|  4.28k|        size += cp_width;
 2195|       |        // If this is the end of the string, account for closing '"'.
 2196|  4.28k|        if (display_width < display_width_limit && sv.end() == s.end()) {
 2197|  4.28k|          ++display_width;
 2198|  4.28k|          ++size;
 2199|  4.28k|        }
 2200|  4.28k|        return true;
 2201|  4.28k|      }
 2202|       |
 2203|  4.28k|      size += display_width_limit - display_width;
 2204|  4.28k|      display_width = display_width_limit;
 2205|  4.28k|      return false;
 2206|  4.28k|    }
 2207|       |
 2208|  4.28k|    size_t cp_width = display_width_of(cp);
 2209|  4.28k|    if (cp_width + display_width <= display_width_limit) {
 2210|  4.28k|      display_width += cp_width;
 2211|  4.28k|      size += sv.size();
 2212|       |      // If this is the end of the string, account for closing '"'.
 2213|  4.28k|      if (is_debug && display_width < display_width_limit &&
 2214|  4.28k|          sv.end() == s.end()) {
 2215|  4.28k|        ++display_width;
 2216|  4.28k|        ++size;
 2217|  4.28k|      }
 2218|  4.28k|      return true;
 2219|  4.28k|    }
 2220|       |
 2221|  4.28k|    return false;
 2222|  4.28k|  });
 2223|       |
 2224|  4.28k|  struct bounded_output_iterator {
 2225|  4.28k|    reserve_iterator<OutputIt> underlying_iterator;
 2226|  4.28k|    size_t bound;
 2227|       |
 2228|  4.28k|    FMT_CONSTEXPR auto operator*() -> bounded_output_iterator& { return *this; }
 2229|  4.28k|    FMT_CONSTEXPR auto operator++() -> bounded_output_iterator& {
 2230|  4.28k|      return *this;
 2231|  4.28k|    }
 2232|  4.28k|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2233|  4.28k|      return *this;
 2234|  4.28k|    }
 2235|  4.28k|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2236|  4.28k|      if (bound > 0) {
 2237|  4.28k|        *underlying_iterator++ = c;
 2238|  4.28k|        --bound;
 2239|  4.28k|      }
 2240|  4.28k|      return *this;
 2241|  4.28k|    }
 2242|  4.28k|  };
 2243|       |
 2244|  4.28k|  return write_padded<char>(
 2245|  4.28k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2246|  4.28k|        return is_debug
 2247|  4.28k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2248|  4.28k|                         .underlying_iterator
 2249|  4.28k|                   : copy<char>(s.data(), s.data() + size, it);
 2250|  4.28k|      });
 2251|  5.36k|}
_ZN3fmt3v126detail20write_escaped_stringIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 1827|    893|    -> OutputIt {
 1828|    893|  *out++ = static_cast<Char>('"');
 1829|    893|  auto begin = str.begin(), end = str.end();
 1830|  18.9M|  do {
 1831|  18.9M|    auto escape = find_escape(begin, end);
 1832|  18.9M|    out = copy<Char>(begin, escape.begin, out);
 1833|  18.9M|    begin = escape.end;
 1834|  18.9M|    if (!begin) break;
  ------------------
  |  Branch (1834:9): [True: 401, False: 18.9M]
  ------------------
 1835|  18.9M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1836|  18.9M|  } while (begin != end);
  ------------------
  |  Branch (1836:12): [True: 18.9M, False: 492]
  ------------------
 1837|    893|  *out++ = static_cast<Char>('"');
 1838|    893|  return out;
 1839|    893|}
_ZN3fmt3v126detail11find_escapeEPKcS3_:
 1764|  42.1M|    -> find_escape_result<char> {
 1765|  42.1M|  if (const_check(!use_utf8)) return find_escape<char>(begin, end);
  ------------------
  |  Branch (1765:7): [Folded, False: 42.1M]
  ------------------
 1766|  42.1M|  auto result = find_escape_result<char>{end, nullptr, 0};
 1767|  42.1M|  for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
 1768|  42.1M|                     [&](uint32_t cp, string_view sv) {
 1769|  42.1M|                       if (needs_escape(cp)) {
 1770|  42.1M|                         result = {sv.begin(), sv.end(), cp};
 1771|  42.1M|                         return false;
 1772|  42.1M|                       }
 1773|  42.1M|                       return true;
 1774|  42.1M|                     });
 1775|  42.1M|  return result;
 1776|  42.1M|}
_ZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_:
  636|  42.1M|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  637|  42.1M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|  42.1M|    auto cp = uint32_t();
  639|  42.1M|    auto error = 0;
  640|  42.1M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|  42.1M|    bool result = f(error ? invalid_code_point : cp,
  642|  42.1M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  643|  42.1M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  644|  42.1M|  };
  645|       |
  646|  42.1M|  auto p = s.data();
  647|  42.1M|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  648|  42.1M|  if (s.size() >= block_size) {
  ------------------
  |  Branch (648:7): [True: 42.1M, False: 10.1k]
  ------------------
  649|  49.7M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (649:52): [True: 49.7M, False: 1.03k]
  ------------------
  650|  49.7M|      p = decode(p, p);
  651|  49.7M|      if (!p) return;
  ------------------
  |  Branch (651:11): [True: 42.1M, False: 7.55M]
  ------------------
  652|  49.7M|    }
  653|  42.1M|  }
  654|  11.1k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  655|  11.1k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (655:7): [True: 593, False: 10.5k]
  ------------------
  656|       |
  657|       |  // Suppress bogus -Wstringop-overflow.
  658|  10.5k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  10.5k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 10.5k]
  |  |  ------------------
  ------------------
  659|  10.5k|  char buf[2 * block_size - 1] = {};
  660|  10.5k|  copy<char>(p, p + num_chars_left, buf);
  661|  10.5k|  const char* buf_ptr = buf;
  662|  12.7k|  do {
  663|  12.7k|    auto end = decode(buf_ptr, p);
  664|  12.7k|    if (!end) return;
  ------------------
  |  Branch (664:9): [True: 8.97k, False: 3.75k]
  ------------------
  665|  3.75k|    p += end - buf_ptr;
  666|  3.75k|    buf_ptr = end;
  667|  3.75k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (667:12): [True: 2.13k, False: 1.61k]
  ------------------
  668|  10.5k|}
_ZZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_ENKUlS4_S4_E_clES4_S4_:
  637|  49.7M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|  49.7M|    auto cp = uint32_t();
  639|  49.7M|    auto error = 0;
  640|  49.7M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|  49.7M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (641:21): [True: 6.69M, False: 43.0M]
  ------------------
  642|  49.7M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (642:38): [True: 6.69M, False: 43.0M]
  ------------------
  643|  49.7M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (643:12): [True: 7.55M, False: 42.1M]
  |  Branch (643:22): [True: 0, False: 7.55M]
  ------------------
  644|  49.7M|  };
_ZN3fmt3v126detail11utf8_decodeEPKcPjPi:
  595|  80.3M|    -> const char* {
  596|  80.3M|  constexpr int masks[] = {0x00, 0x7f, 0x1f, 0x0f, 0x07};
  597|  80.3M|  constexpr uint32_t mins[] = {4194304, 0, 128, 2048, 65536};
  598|  80.3M|  constexpr int shiftc[] = {0, 18, 12, 6, 0};
  599|  80.3M|  constexpr int shifte[] = {0, 6, 4, 2, 0};
  600|       |
  601|  80.3M|  int len = "\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\0\0\0\0\0\0\0\0\2\2\2\2\3\3\4"
  602|  80.3M|      [static_cast<unsigned char>(*s) >> 3];
  603|       |  // Compute the pointer to the next character early so that the next
  604|       |  // iteration can start working on the next character. Neither Clang
  605|       |  // nor GCC figure out this reordering on their own.
  606|  80.3M|  const char* next = s + len + !len;
  607|       |
  608|  80.3M|  using uchar = unsigned char;
  609|       |
  610|       |  // Assume a four-byte character and load four bytes. Unused bits are
  611|       |  // shifted out.
  612|  80.3M|  *c = uint32_t(uchar(s[0]) & masks[len]) << 18;
  613|  80.3M|  *c |= uint32_t(uchar(s[1]) & 0x3f) << 12;
  614|  80.3M|  *c |= uint32_t(uchar(s[2]) & 0x3f) << 6;
  615|  80.3M|  *c |= uint32_t(uchar(s[3]) & 0x3f) << 0;
  616|  80.3M|  *c >>= shiftc[len];
  617|       |
  618|       |  // Accumulate the various error conditions.
  619|  80.3M|  *e = (*c < mins[len]) << 6;       // non-canonical encoding
  620|  80.3M|  *e |= ((*c >> 11) == 0x1b) << 7;  // surrogate half?
  621|  80.3M|  *e |= (*c > 0x10FFFF) << 8;       // out of range?
  622|  80.3M|  *e |= (uchar(s[1]) & 0xc0) >> 2;
  623|  80.3M|  *e |= (uchar(s[2]) & 0xc0) >> 4;
  624|  80.3M|  *e |= uchar(s[3]) >> 6;
  625|  80.3M|  *e ^= 0x2a;  // top two bits of each tail byte correct?
  626|  80.3M|  *e >>= shifte[len];
  627|       |
  628|  80.3M|  return next;
  629|  80.3M|}
_ZZN3fmt3v126detail11find_escapeEPKcS3_ENKUljNS0_17basic_string_viewIcEEE_clEjS5_:
 1768|  49.7M|                     [&](uint32_t cp, string_view sv) {
 1769|  49.7M|                       if (needs_escape(cp)) {
  ------------------
  |  Branch (1769:28): [True: 42.1M, False: 7.55M]
  ------------------
 1770|  42.1M|                         result = {sv.begin(), sv.end(), cp};
 1771|  42.1M|                         return false;
 1772|  42.1M|                       }
 1773|  7.55M|                       return true;
 1774|  49.7M|                     });
_ZN3fmt3v126detail18for_each_codepointIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEEUljNSC_IcEEE_EEvSH_S8_:
  636|  4.28k|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  637|  4.28k|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|  4.28k|    auto cp = uint32_t();
  639|  4.28k|    auto error = 0;
  640|  4.28k|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|  4.28k|    bool result = f(error ? invalid_code_point : cp,
  642|  4.28k|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  643|  4.28k|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  644|  4.28k|  };
  645|       |
  646|  4.28k|  auto p = s.data();
  647|  4.28k|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  648|  4.28k|  if (s.size() >= block_size) {
  ------------------
  |  Branch (648:7): [True: 3.37k, False: 911]
  ------------------
  649|  30.5M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (649:52): [True: 30.5M, False: 2.78k]
  ------------------
  650|  30.5M|      p = decode(p, p);
  651|  30.5M|      if (!p) return;
  ------------------
  |  Branch (651:11): [True: 583, False: 30.5M]
  ------------------
  652|  30.5M|    }
  653|  3.37k|  }
  654|  3.70k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  655|  3.70k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (655:7): [True: 292, False: 3.40k]
  ------------------
  656|       |
  657|       |  // Suppress bogus -Wstringop-overflow.
  658|  3.40k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  3.40k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 3.40k]
  |  |  ------------------
  ------------------
  659|  3.40k|  char buf[2 * block_size - 1] = {};
  660|  3.40k|  copy<char>(p, p + num_chars_left, buf);
  661|  3.40k|  const char* buf_ptr = buf;
  662|  9.87k|  do {
  663|  9.87k|    auto end = decode(buf_ptr, p);
  664|  9.87k|    if (!end) return;
  ------------------
  |  Branch (664:9): [True: 163, False: 9.71k]
  ------------------
  665|  9.71k|    p += end - buf_ptr;
  666|  9.71k|    buf_ptr = end;
  667|  9.71k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (667:12): [True: 6.46k, False: 3.24k]
  ------------------
  668|  3.40k|}
_ZZN3fmt3v126detail18for_each_codepointIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEEUljNSC_IcEEE_EEvSH_S8_ENKUlPKcSK_E_clESK_SK_:
  637|  30.6M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|  30.6M|    auto cp = uint32_t();
  639|  30.6M|    auto error = 0;
  640|  30.6M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|  30.6M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (641:21): [True: 4.73M, False: 25.8M]
  ------------------
  642|  30.6M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (642:38): [True: 4.73M, False: 25.8M]
  ------------------
  643|  30.6M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (643:12): [True: 30.6M, False: 746]
  |  Branch (643:22): [True: 4.73M, False: 25.8M]
  ------------------
  644|  30.6M|  };
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUljNSB_IcEEE_clEjSG_:
 2184|  30.6M|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2185|  30.6M|    if (is_debug && needs_escape(cp)) {
  ------------------
  |  Branch (2185:9): [True: 27.9M, False: 2.64M]
  |  Branch (2185:21): [True: 22.9M, False: 5.00M]
  ------------------
 2186|  22.9M|      counting_buffer<char> buf;
 2187|  22.9M|      write_escaped_cp(basic_appender<char>(buf),
 2188|  22.9M|                       find_escape_result<char>{sv.begin(), sv.end(), cp});
 2189|       |      // We're reinterpreting bytes as display width. That's okay
 2190|       |      // because write_escaped_cp() only writes ASCII characters.
 2191|  22.9M|      size_t cp_width = buf.count();
 2192|  22.9M|      if (display_width + cp_width <= display_width_limit) {
  ------------------
  |  Branch (2192:11): [True: 22.9M, False: 452]
  ------------------
 2193|  22.9M|        display_width += cp_width;
 2194|  22.9M|        size += cp_width;
 2195|       |        // If this is the end of the string, account for closing '"'.
 2196|  22.9M|        if (display_width < display_width_limit && sv.end() == s.end()) {
  ------------------
  |  Branch (2196:13): [True: 22.9M, False: 208]
  |  Branch (2196:52): [True: 1.60k, False: 22.9M]
  ------------------
 2197|  1.60k|          ++display_width;
 2198|  1.60k|          ++size;
 2199|  1.60k|        }
 2200|  22.9M|        return true;
 2201|  22.9M|      }
 2202|       |
 2203|    452|      size += display_width_limit - display_width;
 2204|    452|      display_width = display_width_limit;
 2205|    452|      return false;
 2206|  22.9M|    }
 2207|       |
 2208|  7.64M|    size_t cp_width = display_width_of(cp);
 2209|  7.64M|    if (cp_width + display_width <= display_width_limit) {
  ------------------
  |  Branch (2209:9): [True: 7.64M, False: 294]
  ------------------
 2210|  7.64M|      display_width += cp_width;
 2211|  7.64M|      size += sv.size();
 2212|       |      // If this is the end of the string, account for closing '"'.
 2213|  7.64M|      if (is_debug && display_width < display_width_limit &&
  ------------------
  |  Branch (2213:11): [True: 5.00M, False: 2.64M]
  |  Branch (2213:23): [True: 5.00M, False: 131]
  ------------------
 2214|  5.00M|          sv.end() == s.end()) {
  ------------------
  |  Branch (2214:11): [True: 1.36k, False: 4.99M]
  ------------------
 2215|  1.36k|        ++display_width;
 2216|  1.36k|        ++size;
 2217|  1.36k|      }
 2218|  7.64M|      return true;
 2219|  7.64M|    }
 2220|       |
 2221|    294|    return false;
 2222|  7.64M|  });
_ZN3fmt3v126detail16display_width_ofEj:
  670|  7.64M|FMT_CONSTEXPR inline auto display_width_of(uint32_t cp) noexcept -> size_t {
  671|  7.64M|  return to_unsigned(
  672|  7.64M|      1 + (cp >= 0x1100 &&
  ------------------
  |  Branch (672:12): [True: 369k, False: 7.27M]
  ------------------
  673|   369k|           (cp <= 0x115f ||  // Hangul Jamo init. consonants
  ------------------
  |  Branch (673:13): [True: 0, False: 369k]
  ------------------
  674|   369k|            cp == 0x2329 ||  // LEFT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (674:13): [True: 0, False: 369k]
  ------------------
  675|   369k|            cp == 0x232a ||  // RIGHT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (675:13): [True: 36, False: 369k]
  ------------------
  676|       |            // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE:
  677|   369k|            (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) ||
  ------------------
  |  Branch (677:14): [True: 368k, False: 503]
  |  Branch (677:30): [True: 332, False: 368k]
  |  Branch (677:46): [True: 332, False: 0]
  ------------------
  678|   368k|            (cp >= 0xac00 && cp <= 0xd7a3) ||    // Hangul Syllables
  ------------------
  |  Branch (678:14): [True: 368k, False: 505]
  |  Branch (678:30): [True: 308, False: 368k]
  ------------------
  679|   368k|            (cp >= 0xf900 && cp <= 0xfaff) ||    // CJK Compatibility Ideographs
  ------------------
  |  Branch (679:14): [True: 366k, False: 2.07k]
  |  Branch (679:30): [True: 123, False: 366k]
  ------------------
  680|   368k|            (cp >= 0xfe10 && cp <= 0xfe19) ||    // Vertical Forms
  ------------------
  |  Branch (680:14): [True: 366k, False: 2.12k]
  |  Branch (680:30): [True: 0, False: 366k]
  ------------------
  681|   368k|            (cp >= 0xfe30 && cp <= 0xfe6f) ||    // CJK Compatibility Forms
  ------------------
  |  Branch (681:14): [True: 366k, False: 2.12k]
  |  Branch (681:30): [True: 0, False: 366k]
  ------------------
  682|   368k|            (cp >= 0xff00 && cp <= 0xff60) ||    // Fullwidth Forms
  ------------------
  |  Branch (682:14): [True: 366k, False: 2.12k]
  |  Branch (682:30): [True: 182, False: 366k]
  ------------------
  683|   368k|            (cp >= 0xffe0 && cp <= 0xffe6) ||    // Fullwidth Forms
  ------------------
  |  Branch (683:14): [True: 365k, False: 2.26k]
  |  Branch (683:30): [True: 226, False: 365k]
  ------------------
  684|   367k|            (cp >= 0x20000 && cp <= 0x2fffd) ||  // CJK
  ------------------
  |  Branch (684:14): [True: 364k, False: 3.82k]
  |  Branch (684:31): [True: 184, False: 363k]
  ------------------
  685|   367k|            (cp >= 0x30000 && cp <= 0x3fffd) ||
  ------------------
  |  Branch (685:14): [True: 363k, False: 3.82k]
  |  Branch (685:31): [True: 4, False: 363k]
  ------------------
  686|       |            // Miscellaneous Symbols and Pictographs + Emoticons:
  687|   367k|            (cp >= 0x1f300 && cp <= 0x1f64f) ||
  ------------------
  |  Branch (687:14): [True: 364k, False: 3.01k]
  |  Branch (687:31): [True: 473, False: 364k]
  ------------------
  688|       |            // Supplemental Symbols and Pictographs:
  689|   367k|            (cp >= 0x1f900 && cp <= 0x1f9ff))));
  ------------------
  |  Branch (689:14): [True: 364k, False: 3.01k]
  |  Branch (689:31): [True: 327, False: 363k]
  ------------------
  690|  7.64M|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_5writeIcS5_TnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SC_NS0_17basic_string_viewIS9_EERKNS0_12format_specsEEUlS5_E_EET1_SJ_SH_mmOT2_:
 1688|  4.28k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  4.28k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  4.28k|                "");
 1691|  4.28k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  4.28k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 247, False: 4.03k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  4.28k|  auto* shifts =
 1696|  4.28k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [True: 4.28k, Folded]
  ------------------
 1697|  4.28k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  4.28k|  size_t right_padding = padding - left_padding;
 1699|  4.28k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  4.28k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 0, False: 4.28k]
  ------------------
 1701|  4.28k|  it = f(it);
 1702|  4.28k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 247, False: 4.03k]
  ------------------
 1703|  4.28k|  return base_iterator(out, it);
 1704|  4.28k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2245|  4.28k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2246|  4.28k|        return is_debug
  ------------------
  |  Branch (2246:16): [True: 3.99k, False: 289]
  ------------------
 2247|  4.28k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2248|  3.99k|                         .underlying_iterator
 2249|  4.28k|                   : copy<char>(s.data(), s.data() + size, it);
 2250|  4.28k|      });
_ZN3fmt3v126detail20write_escaped_stringIcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEESB_SB_SD_:
 1827|  3.99k|    -> OutputIt {
 1828|  3.99k|  *out++ = static_cast<Char>('"');
 1829|  3.99k|  auto begin = str.begin(), end = str.end();
 1830|  23.2M|  do {
 1831|  23.2M|    auto escape = find_escape(begin, end);
 1832|  23.2M|    out = copy<Char>(begin, escape.begin, out);
 1833|  23.2M|    begin = escape.end;
 1834|  23.2M|    if (!begin) break;
  ------------------
  |  Branch (1834:9): [True: 1.80k, False: 23.2M]
  ------------------
 1835|  23.2M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1836|  23.2M|  } while (begin != end);
  ------------------
  |  Branch (1836:12): [True: 23.2M, False: 2.18k]
  ------------------
 1837|  3.99k|  *out++ = static_cast<Char>('"');
 1838|  3.99k|  return out;
 1839|  3.99k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratorppEi:
 2232|  90.4M|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2233|  90.4M|      return *this;
 2234|  90.4M|    }
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratordeEv:
 2228|  90.4M|    FMT_CONSTEXPR auto operator*() -> bounded_output_iterator& { return *this; }
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratoraSEc:
 2235|  90.4M|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2236|  90.4M|      if (bound > 0) {
  ------------------
  |  Branch (2236:11): [True: 89.3M, False: 1.10M]
  ------------------
 2237|  89.3M|        *underlying_iterator++ = c;
 2238|  89.3M|        --bound;
 2239|  89.3M|      }
 2240|  90.4M|      return *this;
 2241|  90.4M|    }
_ZN3fmt3v126detail16write_escaped_cpIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorcEES8_S8_RKNS1_18find_escape_resultISB_EE:
 1790|  23.2M|    -> OutputIt {
 1791|  23.2M|  auto c = static_cast<Char>(escape.cp);
 1792|  23.2M|  switch (escape.cp) {
 1793|   277k|  case '\n':
  ------------------
  |  Branch (1793:3): [True: 277k, False: 22.9M]
  ------------------
 1794|   277k|    *out++ = static_cast<Char>('\\');
 1795|   277k|    c = static_cast<Char>('n');
 1796|   277k|    break;
 1797|  69.5k|  case '\r':
  ------------------
  |  Branch (1797:3): [True: 69.5k, False: 23.1M]
  ------------------
 1798|  69.5k|    *out++ = static_cast<Char>('\\');
 1799|  69.5k|    c = static_cast<Char>('r');
 1800|  69.5k|    break;
 1801|  3.44M|  case '\t':
  ------------------
  |  Branch (1801:3): [True: 3.44M, False: 19.7M]
  ------------------
 1802|  3.44M|    *out++ = static_cast<Char>('\\');
 1803|  3.44M|    c = static_cast<Char>('t');
 1804|  3.44M|    break;
 1805|  8.73k|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|  8.73k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1805:3): [True: 8.73k, False: 23.2M]
  ------------------
 1806|  8.73k|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|  8.73k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1806:3): [True: 0, False: 23.2M]
  ------------------
 1807|  9.95k|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1807:3): [True: 1.22k, False: 23.2M]
  ------------------
 1808|  19.4M|  default:
  ------------------
  |  Branch (1808:3): [True: 19.4M, False: 3.80M]
  ------------------
 1809|  19.4M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1809:9): [True: 14.9M, False: 4.42M]
  ------------------
 1810|  4.42M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1810:9): [True: 14.6k, False: 4.40M]
  ------------------
 1811|  14.6k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1812|  4.40M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1812:9): [True: 10.3k, False: 4.39M]
  ------------------
 1813|  10.3k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1814|  4.39M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1814:27): [True: 4.39M, False: 4.39M]
  ------------------
 1815|  4.39M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1816|  4.39M|      out = write_codepoint<2, Char>(out, 'x',
 1817|  4.39M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1818|  4.39M|    }
 1819|  4.39M|    return out;
 1820|  23.2M|  }
 1821|  3.80M|  *out++ = c;
 1822|  3.80M|  return out;
 1823|  23.2M|}
_ZN3fmt3v126detail15write_codepointILm2EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|  19.3M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  19.3M|  *out++ = static_cast<Char>('\\');
 1781|  19.3M|  *out++ = static_cast<Char>(prefix);
 1782|  19.3M|  Char buf[width];
 1783|  19.3M|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  19.3M|  format_base2e(4, buf, cp, width);
 1785|  19.3M|  return copy<Char>(buf, buf + width, out);
 1786|  19.3M|}
_ZN3fmt3v126detail15write_codepointILm4EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|  14.6k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  14.6k|  *out++ = static_cast<Char>('\\');
 1781|  14.6k|  *out++ = static_cast<Char>(prefix);
 1782|  14.6k|  Char buf[width];
 1783|  14.6k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  14.6k|  format_base2e(4, buf, cp, width);
 1785|  14.6k|  return copy<Char>(buf, buf + width, out);
 1786|  14.6k|}
_ZN3fmt3v126detail15write_codepointILm8EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|  10.3k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  10.3k|  *out++ = static_cast<Char>('\\');
 1781|  10.3k|  *out++ = static_cast<Char>(prefix);
 1782|  10.3k|  Char buf[width];
 1783|  10.3k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  10.3k|  format_base2e(4, buf, cp, width);
 1785|  10.3k|  return copy<Char>(buf, buf + width, out);
 1786|  10.3k|}
_ZN3fmt3v126detail13arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3683|  5.36k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3684|  5.36k|    detail::write<Char>(out, value, specs, locale);
 3685|  5.36k|  }
_ZN3fmt3v126detail14format_handlerIcE8on_errorEPKc:
 3804|     72|  FMT_NORETURN void on_error(const char* message) { report_error(message); }
_ZN3fmt3v1210format_intC2Ej:
 4196|  25.4k|      : str_(format_unsigned(value)) {}
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE6resizeEm:
  907|    250|  FMT_CONSTEXPR void resize(size_t count) { this->try_resize(count); }
_ZN3fmt3v1210format_intC2Em:
 4198|   411k|      : str_(format_unsigned(value)) {}
_ZN3fmt3v1210format_int15format_unsignedImEEPcT_:
 4174|   427k|  FMT_CONSTEXPR20 auto format_unsigned(UInt value) -> char* {
 4175|   427k|    auto n = static_cast<detail::uint32_or_64_or_128_t<UInt>>(value);
 4176|   427k|    return detail::do_format_decimal(buffer_, n, buffer_size - 1);
 4177|   427k|  }
_ZN3fmt3v1210format_intC2Ex:
 4194|  16.5k|      : str_(format_signed(value)) {}
_ZN3fmt3v1210format_int13format_signedIxEEPcT_:
 4180|  16.5k|  FMT_CONSTEXPR20 auto format_signed(Int value) -> char* {
 4181|  16.5k|    auto abs_value = static_cast<detail::uint32_or_64_or_128_t<Int>>(value);
 4182|  16.5k|    bool negative = value < 0;
 4183|  16.5k|    if (negative) abs_value = 0 - abs_value;
  ------------------
  |  Branch (4183:9): [True: 0, False: 16.5k]
  ------------------
 4184|  16.5k|    auto begin = format_unsigned(abs_value);
 4185|  16.5k|    if (negative) *--begin = '-';
  ------------------
  |  Branch (4185:9): [True: 0, False: 16.5k]
  ------------------
 4186|  16.5k|    return begin;
 4187|  16.5k|  }

_ZN6spdlog9formatterD2Ev:
   13|  1.58k|    virtual ~formatter() = default;

_ZNK6spdlog6logger4nameEv:
   68|     26|SPDLOG_INLINE const std::string &logger::name() const { return name_; }
_ZN6spdlog6logger13set_formatterENSt3__110unique_ptrINS_9formatterENS1_14default_deleteIS3_EEEE:
   72|  1.05k|SPDLOG_INLINE void logger::set_formatter(std::unique_ptr<formatter> f) {
   73|  1.05k|    for (auto it = sinks_.begin(); it != sinks_.end(); ++it) {
  ------------------
  |  Branch (73:36): [True: 1.05k, False: 0]
  ------------------
   74|  1.05k|        if (std::next(it) == sinks_.end()) {
  ------------------
  |  Branch (74:13): [True: 1.05k, False: 0]
  ------------------
   75|       |            // last element - we can be move it.
   76|  1.05k|            (*it)->set_formatter(std::move(f));
   77|  1.05k|            break;  // to prevent clang-tidy warning
   78|  1.05k|        } else {
   79|      0|            (*it)->set_formatter(f->clone());
   80|      0|        }
   81|  1.05k|    }
   82|  1.05k|}
_ZN6spdlog6logger8sink_it_ERKNS_7details7log_msgE:
  135|    343|SPDLOG_INLINE void logger::sink_it_(const details::log_msg &msg) {
  136|    343|    for (auto &sink : sinks_) {
  ------------------
  |  Branch (136:21): [True: 343, False: 343]
  ------------------
  137|    343|        if (sink->should_log(msg.level)) {
  ------------------
  |  Branch (137:13): [True: 343, False: 0]
  ------------------
  138|    343|            SPDLOG_TRY { sink->log(msg); }
  ------------------
  |  |  116|    343|#define SPDLOG_TRY try
  ------------------
  139|    343|            SPDLOG_LOGGER_CATCH(msg.source)
  ------------------
  |  |   32|    343|    catch (const std::exception &ex) {                                                \
  |  |   33|      0|        if (location.filename) {                                                      \
  |  |  ------------------
  |  |  |  Branch (33:13): [True: 0, False: 0]
  |  |  ------------------
  |  |   34|      0|            err_handler_(fmt_lib::format(SPDLOG_FMT_STRING("{} [{}({})]"), ex.what(), \
  |  |  ------------------
  |  |  |  |   55|      0|#define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4251|      0|#define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4226|      0|    [] {                                                                     \
  |  |  |  |  |  |  |  | 4227|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  |  |  | 4228|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  |  |  | 4229|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  |  |  | 4230|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  |  |  | 4231|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  |  |  | 4232|      0|            const {                                                          \
  |  |  |  |  |  |  |  | 4233|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  |  |  | 4234|      0|        }                                                                    \
  |  |  |  |  |  |  |  | 4235|      0|      };                                                                     \
  |  |  |  |  |  |  |  | 4236|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  |  |  | 4237|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  |  |  | 4238|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  |  |  | 4239|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  |  |  | 4240|      0|    }()
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   35|      0|                                         location.filename, location.line));          \
  |  |   36|      0|        } else {                                                                      \
  |  |   37|      0|            err_handler_(ex.what());                                                  \
  |  |   38|      0|        }                                                                             \
  |  |   39|      0|    }                                                                                 \
  |  |   40|    343|    catch (...) {                                                                     \
  |  |   41|      0|        err_handler_("Rethrowing unknown exception in logger");                       \
  |  |   42|      0|        throw;                                                                        \
  |  |   43|      0|    }
  ------------------
  140|    343|        }
  141|    343|    }
  142|       |
  143|    343|    if (should_flush_(msg)) {
  ------------------
  |  Branch (143:9): [True: 0, False: 343]
  ------------------
  144|      0|        flush_();
  145|      0|    }
  146|    343|}
_ZNK6spdlog6logger12err_handler_ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  170|    184|SPDLOG_INLINE void logger::err_handler_(const std::string &msg) const {
  171|    184|    if (custom_err_handler_) {
  ------------------
  |  Branch (171:9): [True: 0, False: 184]
  ------------------
  172|      0|        custom_err_handler_(msg);
  173|    184|    } else {
  174|    184|        using std::chrono::system_clock;
  175|    184|        static std::mutex mutex;
  176|    184|        static std::chrono::system_clock::time_point last_report_time;
  177|    184|        static size_t err_counter = 0;
  178|    184|        std::lock_guard<std::mutex> lk{mutex};
  179|    184|        auto now = system_clock::now();
  180|    184|        err_counter++;
  181|    184|        if (now - last_report_time < std::chrono::seconds(1)) {
  ------------------
  |  Branch (181:13): [True: 161, False: 23]
  ------------------
  182|    161|            return;
  183|    161|        }
  184|     23|        last_report_time = now;
  185|     23|        auto tm_time = details::os::localtime(system_clock::to_time_t(now));
  186|     23|        char date_buf[64];
  187|     23|        std::strftime(date_buf, sizeof(date_buf), "%Y-%m-%d %H:%M:%S", &tm_time);
  188|       |#if defined(USING_R) && defined(R_R_H)  // if in R environment
  189|       |        REprintf("[*** LOG ERROR #%04zu ***] [%s] [%s] %s\n", err_counter, date_buf, name().c_str(),
  190|       |                 msg.c_str());
  191|       |#else
  192|       |        std::fprintf(stderr, "[*** LOG ERROR #%04zu ***] [%s] [%s] %s\n", err_counter, date_buf,
  193|     23|                     name().c_str(), msg.c_str());
  194|     23|#endif
  195|     23|    }
  196|    184|}
_ZNK6spdlog6logger13should_flush_ERKNS_7details7log_msgE:
  166|    343|SPDLOG_INLINE bool logger::should_flush_(const details::log_msg &msg) const {
  167|    343|    return (msg.level >= flush_level()) && (msg.level != level::off);
  ------------------
  |  Branch (167:12): [True: 0, False: 343]
  |  Branch (167:44): [True: 0, False: 0]
  ------------------
  168|    343|}
_ZNK6spdlog6logger11flush_levelEv:
  102|    343|SPDLOG_INLINE level::level_enum logger::flush_level() const {
  103|    343|    return static_cast<level::level_enum>(flush_level_.load(std::memory_order_relaxed));
  104|    343|}
_ZN6spdlog6logger9set_levelENS_5level10level_enumE:
   62|      1|SPDLOG_INLINE void logger::set_level(level::level_enum log_level) { level_.store(log_level); }
_ZN6spdlog6logger8flush_onENS_5level10level_enumE:
  100|      1|SPDLOG_INLINE void logger::flush_on(level::level_enum log_level) { flush_level_.store(log_level); }
_ZN6spdlog6logger7log_it_ERKNS_7details7log_msgEbb:
  126|    343|                                   bool traceback_enabled) {
  127|    343|    if (log_enabled) {
  ------------------
  |  Branch (127:9): [True: 343, False: 0]
  ------------------
  128|    343|        sink_it_(log_msg);
  129|    343|    }
  130|    343|    if (traceback_enabled) {
  ------------------
  |  Branch (130:9): [True: 0, False: 343]
  ------------------
  131|      0|        tracer_.push_back(log_msg);
  132|      0|    }
  133|    343|}

_ZN6spdlog6loggerC2ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS1_10shared_ptrINS_5sinks4sinkEEE:
   65|      2|        : logger(std::move(name), {std::move(single_sink)}) {}
_ZN6spdlog6loggerC2ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEESt16initializer_listINS1_10shared_ptrINS_5sinks4sinkEEEE:
   69|      2|        : logger(std::move(name), sinks.begin(), sinks.end()) {}
_ZN6spdlog6loggerC2IPKNSt3__110shared_ptrINS_5sinks4sinkEEEEENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEET_SF_:
   60|      2|        : name_(std::move(name)),
   61|      2|          sinks_(begin, end) {}
_ZN6spdlog6loggerD2Ev:
   71|      2|    virtual ~logger() = default;
_ZN6spdlog6logger4infoIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSG_:
  143|    527|    void info(format_string_t<Args...> fmt, Args &&...args) {
  144|    527|        log(level::info, fmt, std::forward<Args>(args)...);
  145|    527|    }
_ZN6spdlog6logger3logIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_5level10level_enumEN3fmt3v127fstringIJDpT_EE1tEDpOSI_:
   88|    527|    void log(level::level_enum lvl, format_string_t<Args...> fmt, Args &&...args) {
   89|    527|        log(source_loc{}, lvl, fmt, std::forward<Args>(args)...);
   90|    527|    }
_ZN6spdlog6logger3logIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v127fstringIJDpT_EE1tEDpOSJ_:
   79|    527|    void log(source_loc loc, level::level_enum lvl, format_string_t<Args...> fmt, Args &&...args) {
   80|       |#if defined(SPDLOG_USE_STD_FORMAT) && __cpp_lib_format < 202207L
   81|       |        log_(loc, lvl, fmt, std::forward<Args>(args)...);
   82|       |#else
   83|    527|        log_(loc, lvl, fmt.get(), std::forward<Args>(args)...);
   84|    527|#endif
   85|    527|    }
_ZN6spdlog6logger4log_IJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1217basic_string_viewIcEEDpOT_:
  325|    527|    void log_(source_loc loc, level::level_enum lvl, string_view_t fmt, Args &&...args) {
  326|    527|        bool log_enabled = should_log(lvl);
  327|    527|        bool traceback_enabled = tracer_.enabled();
  328|    527|        if (!log_enabled && !traceback_enabled) {
  ------------------
  |  Branch (328:13): [True: 0, False: 527]
  |  Branch (328:29): [True: 0, False: 0]
  ------------------
  329|      0|            return;
  330|      0|        }
  331|    527|        SPDLOG_TRY {
  ------------------
  |  |  116|    527|#define SPDLOG_TRY try
  ------------------
  332|    527|            memory_buf_t buf;
  333|       |#ifdef SPDLOG_USE_STD_FORMAT
  334|       |            fmt_lib::vformat_to(std::back_inserter(buf), fmt, fmt_lib::make_format_args(args...));
  335|       |#else
  336|    527|            fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(args...));
  337|    527|#endif
  338|       |
  339|    527|            details::log_msg log_msg(loc, name_, lvl, string_view_t(buf.data(), buf.size()));
  340|    527|            log_it_(log_msg, log_enabled, traceback_enabled);
  341|    527|        }
  342|    527|        SPDLOG_LOGGER_CATCH(loc)
  ------------------
  |  |   32|    527|    catch (const std::exception &ex) {                                                \
  |  |   33|    184|        if (location.filename) {                                                      \
  |  |  ------------------
  |  |  |  Branch (33:13): [True: 0, False: 184]
  |  |  ------------------
  |  |   34|      0|            err_handler_(fmt_lib::format(SPDLOG_FMT_STRING("{} [{}({})]"), ex.what(), \
  |  |  ------------------
  |  |  |  |   55|      0|#define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4251|      0|#define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4226|      0|    [] {                                                                     \
  |  |  |  |  |  |  |  | 4227|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  |  |  | 4228|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  |  |  | 4229|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  |  |  | 4230|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  |  |  | 4231|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  |  |  | 4232|      0|            const {                                                          \
  |  |  |  |  |  |  |  | 4233|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  |  |  | 4234|      0|        }                                                                    \
  |  |  |  |  |  |  |  | 4235|      0|      };                                                                     \
  |  |  |  |  |  |  |  | 4236|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  |  |  | 4237|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  |  |  | 4238|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  |  |  | 4239|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  |  |  | 4240|      0|    }()
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   35|      0|                                         location.filename, location.line));          \
  |  |   36|    184|        } else {                                                                      \
  |  |   37|    184|            err_handler_(ex.what());                                                  \
  |  |   38|    184|        }                                                                             \
  |  |   39|    184|    }                                                                                 \
  |  |   40|    527|    catch (...) {                                                                     \
  |  |   41|      0|        err_handler_("Rethrowing unknown exception in logger");                       \
  |  |   42|      0|        throw;                                                                        \
  |  |   43|      0|    }
  ------------------
  343|    527|    }
_ZNK6spdlog6logger10should_logENS_5level10level_enumE:
  270|    527|    bool should_log(level::level_enum msg_level) const {
  271|    527|        return msg_level >= level_.load(std::memory_order_relaxed);
  272|    527|    }

_ZN6spdlog3mdc11get_contextEv:
   46|   631k|    static mdc_map_t &get_context() {
   47|   631k|        static thread_local mdc_map_t context;
   48|   631k|        context_created() = true;
   49|   631k|        return context;
   50|   631k|    }
_ZN6spdlog3mdc15context_createdEv:
   58|   750k|    static bool &context_created() noexcept {
   59|   750k|        static thread_local bool created = false;
   60|   750k|        return created;
   61|   750k|    }
_ZN6spdlog3mdc11has_contextEv:
   55|   118k|    static bool has_context() noexcept { return context_created(); }

_ZNK6spdlog17pattern_formatter5cloneEv:
  980|  1.05k|SPDLOG_INLINE std::unique_ptr<formatter> pattern_formatter::clone() const {
  981|  1.05k|    custom_flags cloned_custom_formatters;
  982|  1.05k|    for (auto &it : custom_handlers_) {
  ------------------
  |  Branch (982:19): [True: 1.05k, False: 1.05k]
  ------------------
  983|  1.05k|        cloned_custom_formatters[it.first] = it.second->clone();
  984|  1.05k|    }
  985|  1.05k|    auto cloned = details::make_unique<pattern_formatter>(pattern_, pattern_time_type_, eol_,
  986|  1.05k|                                                          std::move(cloned_custom_formatters));
  987|  1.05k|    cloned->need_localtime(need_localtime_);
  988|  1.05k|#if defined(__GNUC__) && __GNUC__ < 5
  989|  1.05k|    return std::move(cloned);
  990|       |#else
  991|       |    return cloned;
  992|       |#endif
  993|  1.05k|}
_ZN6spdlog17pattern_formatter14need_localtimeEb:
 1018|  1.05k|SPDLOG_INLINE void pattern_formatter::need_localtime(bool need) { need_localtime_ = need; }
_ZN6spdlog17pattern_formatterC2ENS_17pattern_time_typeENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  971|    530|    : pattern_("%+"),
  972|    530|      eol_(std::move(eol)),
  973|    530|      pattern_time_type_(time_type),
  974|    530|      need_localtime_(true),
  975|    530|      last_log_secs_(0) {
  976|    530|    std::memset(&cached_tm_, 0, sizeof(cached_tm_));
  977|    530|    formatters_.push_back(details::make_unique<details::full_formatter>(details::padding_info{}));
  978|    530|}
_ZN6spdlog7details14full_formatterC2ENS0_12padding_infoE:
  856|   358k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13mdc_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  816|  1.89M|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13mdc_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  818|   512k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  819|   512k|        const auto &mdc_map = mdc::get_context();
  820|   512k|        if (mdc_map.empty()) {
  ------------------
  |  Branch (820:13): [True: 512k, False: 0]
  ------------------
  821|   512k|            ScopedPadder p(0, padinfo_, dest);
  822|   512k|            return;
  823|   512k|        } else {
  824|      0|            format_mdc(mdc_map, dest);
  825|      0|        }
  826|   512k|    }
_ZN6spdlog7details18null_scoped_padderC2EmRKNS0_12padding_infoERN3fmt3v1219basic_memory_bufferIcLm250ENS6_6detail9allocatorIcEEEE:
   95|  1.18M|                       memory_buf_t & /*dest*/) {}
_ZN6spdlog7details14full_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  858|   118k|    void format(const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override {
  859|   118k|        using std::chrono::duration_cast;
  860|   118k|        using std::chrono::milliseconds;
  861|   118k|        using std::chrono::seconds;
  862|       |
  863|       |        // cache the date/time part for the next second.
  864|   118k|        auto duration = msg.time.time_since_epoch();
  865|   118k|        auto secs = duration_cast<seconds>(duration);
  866|       |
  867|   118k|        if (cache_timestamp_ != secs || cached_datetime_.size() == 0) {
  ------------------
  |  Branch (867:13): [True: 118k, False: 0]
  |  Branch (867:41): [True: 0, False: 0]
  ------------------
  868|   118k|            cached_datetime_.clear();
  869|   118k|            cached_datetime_.push_back('[');
  870|   118k|            fmt_helper::append_int(tm_time.tm_year + 1900, cached_datetime_);
  871|   118k|            cached_datetime_.push_back('-');
  872|       |
  873|   118k|            fmt_helper::pad2(tm_time.tm_mon + 1, cached_datetime_);
  874|   118k|            cached_datetime_.push_back('-');
  875|       |
  876|   118k|            fmt_helper::pad2(tm_time.tm_mday, cached_datetime_);
  877|   118k|            cached_datetime_.push_back(' ');
  878|       |
  879|   118k|            fmt_helper::pad2(tm_time.tm_hour, cached_datetime_);
  880|   118k|            cached_datetime_.push_back(':');
  881|       |
  882|   118k|            fmt_helper::pad2(tm_time.tm_min, cached_datetime_);
  883|   118k|            cached_datetime_.push_back(':');
  884|       |
  885|   118k|            fmt_helper::pad2(tm_time.tm_sec, cached_datetime_);
  886|   118k|            cached_datetime_.push_back('.');
  887|       |
  888|   118k|            cache_timestamp_ = secs;
  889|   118k|        }
  890|   118k|        dest.append(cached_datetime_.begin(), cached_datetime_.end());
  891|       |
  892|   118k|        auto millis = fmt_helper::time_fraction<milliseconds>(msg.time);
  893|   118k|        fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
  894|   118k|        dest.push_back(']');
  895|   118k|        dest.push_back(' ');
  896|       |
  897|       |        // append logger name if exists
  898|   118k|        if (msg.logger_name.size() > 0) {
  ------------------
  |  Branch (898:13): [True: 118k, False: 0]
  ------------------
  899|   118k|            dest.push_back('[');
  900|   118k|            fmt_helper::append_string_view(msg.logger_name, dest);
  901|   118k|            dest.push_back(']');
  902|   118k|            dest.push_back(' ');
  903|   118k|        }
  904|       |
  905|   118k|        dest.push_back('[');
  906|       |        // wrap the level name with color
  907|   118k|        msg.color_range_start = dest.size();
  908|       |        // fmt_helper::append_string_view(level::to_c_str(msg.level), dest);
  909|   118k|        fmt_helper::append_string_view(level::to_string_view(msg.level), dest);
  910|   118k|        msg.color_range_end = dest.size();
  911|   118k|        dest.push_back(']');
  912|   118k|        dest.push_back(' ');
  913|       |
  914|       |        // add source location if present
  915|   118k|        if (!msg.source.empty()) {
  ------------------
  |  Branch (915:13): [True: 0, False: 118k]
  ------------------
  916|      0|            dest.push_back('[');
  917|      0|            const char *filename =
  918|      0|                details::short_filename_formatter<details::null_scoped_padder>::basename(
  919|      0|                    msg.source.filename);
  920|      0|            fmt_helper::append_string_view(filename, dest);
  921|      0|            dest.push_back(':');
  922|      0|            fmt_helper::append_int(msg.source.line, dest);
  923|      0|            dest.push_back(']');
  924|      0|            dest.push_back(' ');
  925|      0|        }
  926|       |
  927|   118k|#ifndef SPDLOG_NO_TLS
  928|       |        // add mdc if present, but avoid constructing the thread local context when mdc was never
  929|       |        // used on this thread
  930|   118k|        if (mdc::has_context()) {
  ------------------
  |  Branch (930:13): [True: 118k, False: 3]
  ------------------
  931|   118k|            auto &mdc_map = mdc::get_context();
  932|   118k|            if (!mdc_map.empty()) {
  ------------------
  |  Branch (932:17): [True: 0, False: 118k]
  ------------------
  933|      0|                dest.push_back('[');
  934|      0|                mdc_formatter_.format_mdc(mdc_map, dest);
  935|      0|                dest.push_back(']');
  936|      0|                dest.push_back(' ');
  937|      0|            }
  938|   118k|        }
  939|   118k|#endif
  940|       |        // fmt_helper::append_string_view(msg.msg(), dest);
  941|   118k|        fmt_helper::append_string_view(msg.payload, dest);
  942|   118k|    }
_ZN6spdlog17pattern_formatterC2ENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEENS_17pattern_time_typeES7_NS1_13unordered_mapIcNS1_10unique_ptrINS_21custom_flag_formatterENS1_14default_deleteISB_EEEENS1_4hashIcEENS1_8equal_toIcEENS5_INS1_4pairIKcSE_EEEEEE:
  959|  1.05k|    : pattern_(std::move(pattern)),
  960|  1.05k|      eol_(std::move(eol)),
  961|  1.05k|      pattern_time_type_(time_type),
  962|  1.05k|      need_localtime_(false),
  963|  1.05k|      last_log_secs_(0),
  964|  1.05k|      custom_handlers_(std::move(custom_user_flags)) {
  965|  1.05k|    std::memset(&cached_tm_, 0, sizeof(cached_tm_));
  966|  1.05k|    compile_pattern_(pattern_);
  967|  1.05k|}
_ZN6spdlog17pattern_formatter16compile_pattern_ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1321|  1.58k|SPDLOG_INLINE void pattern_formatter::compile_pattern_(const std::string &pattern) {
 1322|  1.58k|    auto end = pattern.end();
 1323|  1.58k|    std::unique_ptr<details::aggregate_formatter> user_chars;
 1324|  1.58k|    formatters_.clear();
 1325|  66.4M|    for (auto it = pattern.begin(); it != end; ++it) {
  ------------------
  |  Branch (1325:37): [True: 66.4M, False: 1.29k]
  ------------------
 1326|  66.4M|        if (*it == '%') {
  ------------------
  |  Branch (1326:13): [True: 6.55M, False: 59.8M]
  ------------------
 1327|  6.55M|            if (user_chars)  // append user chars found so far
  ------------------
  |  Branch (1327:17): [True: 1.57M, False: 4.97M]
  ------------------
 1328|  1.57M|            {
 1329|  1.57M|                formatters_.push_back(std::move(user_chars));
 1330|  1.57M|            }
 1331|       |
 1332|  6.55M|            auto padding = handle_padspec_(++it, end);
 1333|       |
 1334|  6.55M|            if (it != end) {
  ------------------
  |  Branch (1334:17): [True: 6.55M, False: 288]
  ------------------
 1335|  6.55M|                if (padding.enabled()) {
  ------------------
  |  Branch (1335:21): [True: 1.73M, False: 4.81M]
  ------------------
 1336|  1.73M|                    handle_flag_<details::scoped_padder>(*it, padding);
 1337|  4.81M|                } else {
 1338|  4.81M|                    handle_flag_<details::null_scoped_padder>(*it, padding);
 1339|  4.81M|                }
 1340|  6.55M|            } else {
 1341|    288|                break;
 1342|    288|            }
 1343|  6.55M|        } else  // chars not following the % sign should be displayed as is
 1344|  59.8M|        {
 1345|  59.8M|            if (!user_chars) {
  ------------------
  |  Branch (1345:17): [True: 1.58M, False: 58.3M]
  ------------------
 1346|  1.58M|                user_chars = details::make_unique<details::aggregate_formatter>();
 1347|  1.58M|            }
 1348|  59.8M|            user_chars->add_ch(*it);
 1349|  59.8M|        }
 1350|  66.4M|    }
 1351|  1.58k|    if (user_chars)  // append raw chars found so far
  ------------------
  |  Branch (1351:9): [True: 780, False: 802]
  ------------------
 1352|    780|    {
 1353|    780|        formatters_.push_back(std::move(user_chars));
 1354|    780|    }
 1355|  1.58k|}
_ZN6spdlog17pattern_formatter15handle_padspec_ERNSt3__111__wrap_iterIPKcEES5_:
 1277|  6.55M|    std::string::const_iterator &it, std::string::const_iterator end) {
 1278|  6.55M|    using details::padding_info;
 1279|  6.55M|    using details::scoped_padder;
 1280|  6.55M|    const size_t max_width = 64;
 1281|  6.55M|    if (it == end) {
  ------------------
  |  Branch (1281:9): [True: 240, False: 6.55M]
  ------------------
 1282|    240|        return padding_info{};
 1283|    240|    }
 1284|       |
 1285|  6.55M|    padding_info::pad_side side;
 1286|  6.55M|    switch (*it) {
 1287|  51.5k|        case '-':
  ------------------
  |  Branch (1287:9): [True: 51.5k, False: 6.50M]
  ------------------
 1288|  51.5k|            side = padding_info::pad_side::right;
 1289|  51.5k|            ++it;
 1290|  51.5k|            break;
 1291|   116k|        case '=':
  ------------------
  |  Branch (1291:9): [True: 116k, False: 6.43M]
  ------------------
 1292|   116k|            side = padding_info::pad_side::center;
 1293|   116k|            ++it;
 1294|   116k|            break;
 1295|  6.38M|        default:
  ------------------
  |  Branch (1295:9): [True: 6.38M, False: 168k]
  ------------------
 1296|  6.38M|            side = details::padding_info::pad_side::left;
 1297|  6.38M|            break;
 1298|  6.55M|    }
 1299|       |
 1300|  6.55M|    if (it == end || !std::isdigit(static_cast<unsigned char>(*it))) {
  ------------------
  |  Branch (1300:9): [True: 3, False: 6.55M]
  |  Branch (1300:22): [True: 4.81M, False: 1.73M]
  ------------------
 1301|  4.81M|        return padding_info{};  // no padding if no digit found here
 1302|  4.81M|    }
 1303|       |
 1304|  1.73M|    auto width = static_cast<size_t>(*it) - '0';
 1305|  2.35M|    for (++it; it != end && std::isdigit(static_cast<unsigned char>(*it)); ++it) {
  ------------------
  |  Branch (1305:16): [True: 2.35M, False: 45]
  |  Branch (1305:29): [True: 622k, False: 1.73M]
  ------------------
 1306|   622k|        auto digit = static_cast<size_t>(*it) - '0';
 1307|   622k|        width = width * 10 + digit;
 1308|   622k|    }
 1309|       |
 1310|       |    // search for the optional truncate marker '!'
 1311|  1.73M|    bool truncate;
 1312|  1.73M|    if (it != end && *it == '!') {
  ------------------
  |  Branch (1312:9): [True: 1.73M, False: 45]
  |  Branch (1312:22): [True: 3.47k, False: 1.73M]
  ------------------
 1313|  3.47k|        truncate = true;
 1314|  3.47k|        ++it;
 1315|  1.73M|    } else {
 1316|  1.73M|        truncate = false;
 1317|  1.73M|    }
 1318|  1.73M|    return details::padding_info{std::min<size_t>(width, max_width), side, truncate};
 1319|  6.55M|}
_ZN6spdlog17pattern_formatter12handle_flag_INS_7details13scoped_padderEEEvcNS2_12padding_infoE:
 1028|  1.73M|SPDLOG_INLINE void pattern_formatter::handle_flag_(char flag, details::padding_info padding) {
 1029|       |    // process custom flags
 1030|  1.73M|    auto it = custom_handlers_.find(flag);
 1031|  1.73M|    if (it != custom_handlers_.end()) {
  ------------------
  |  Branch (1031:9): [True: 1.99k, False: 1.73M]
  ------------------
 1032|  1.99k|        auto custom_handler = it->second->clone();
 1033|  1.99k|        custom_handler->set_padding_info(padding);
 1034|  1.99k|        formatters_.push_back(std::move(custom_handler));
 1035|  1.99k|        return;
 1036|  1.99k|    }
 1037|       |
 1038|       |    // process built-in flags
 1039|  1.73M|    switch (flag) {
 1040|  10.3k|        case ('+'):  // default formatter
  ------------------
  |  Branch (1040:9): [True: 10.3k, False: 1.72M]
  ------------------
 1041|  10.3k|            formatters_.push_back(details::make_unique<details::full_formatter>(padding));
 1042|  10.3k|            need_localtime_ = true;
 1043|  10.3k|            break;
 1044|       |
 1045|  15.5k|        case 'n':  // logger name
  ------------------
  |  Branch (1045:9): [True: 15.5k, False: 1.71M]
  ------------------
 1046|  15.5k|            formatters_.push_back(details::make_unique<details::name_formatter<Padder>>(padding));
 1047|  15.5k|            break;
 1048|       |
 1049|  4.36k|        case 'l':  // level
  ------------------
  |  Branch (1049:9): [True: 4.36k, False: 1.73M]
  ------------------
 1050|  4.36k|            formatters_.push_back(details::make_unique<details::level_formatter<Padder>>(padding));
 1051|  4.36k|            break;
 1052|       |
 1053|  71.6k|        case 'L':  // short level
  ------------------
  |  Branch (1053:9): [True: 71.6k, False: 1.66M]
  ------------------
 1054|  71.6k|            formatters_.push_back(
 1055|  71.6k|                details::make_unique<details::short_level_formatter<Padder>>(padding));
 1056|  71.6k|            break;
 1057|       |
 1058|  4.60k|        case ('t'):  // thread id
  ------------------
  |  Branch (1058:9): [True: 4.60k, False: 1.73M]
  ------------------
 1059|  4.60k|            formatters_.push_back(details::make_unique<details::t_formatter<Padder>>(padding));
 1060|  4.60k|            break;
 1061|       |
 1062|  2.73k|        case ('v'):  // the message text
  ------------------
  |  Branch (1062:9): [True: 2.73k, False: 1.73M]
  ------------------
 1063|  2.73k|            formatters_.push_back(details::make_unique<details::v_formatter<Padder>>(padding));
 1064|  2.73k|            break;
 1065|       |
 1066|  5.34k|        case ('a'):  // weekday
  ------------------
  |  Branch (1066:9): [True: 5.34k, False: 1.72M]
  ------------------
 1067|  5.34k|            formatters_.push_back(details::make_unique<details::a_formatter<Padder>>(padding));
 1068|  5.34k|            need_localtime_ = true;
 1069|  5.34k|            break;
 1070|       |
 1071|  2.58k|        case ('A'):  // short weekday
  ------------------
  |  Branch (1071:9): [True: 2.58k, False: 1.73M]
  ------------------
 1072|  2.58k|            formatters_.push_back(details::make_unique<details::A_formatter<Padder>>(padding));
 1073|  2.58k|            need_localtime_ = true;
 1074|  2.58k|            break;
 1075|       |
 1076|  6.18k|        case ('b'):
  ------------------
  |  Branch (1076:9): [True: 6.18k, False: 1.72M]
  ------------------
 1077|  6.92k|        case ('h'):  // month
  ------------------
  |  Branch (1077:9): [True: 747, False: 1.73M]
  ------------------
 1078|  6.92k|            formatters_.push_back(details::make_unique<details::b_formatter<Padder>>(padding));
 1079|  6.92k|            need_localtime_ = true;
 1080|  6.92k|            break;
 1081|       |
 1082|   118k|        case ('B'):  // short month
  ------------------
  |  Branch (1082:9): [True: 118k, False: 1.61M]
  ------------------
 1083|   118k|            formatters_.push_back(details::make_unique<details::B_formatter<Padder>>(padding));
 1084|   118k|            need_localtime_ = true;
 1085|   118k|            break;
 1086|       |
 1087|  11.8k|        case ('c'):  // datetime
  ------------------
  |  Branch (1087:9): [True: 11.8k, False: 1.72M]
  ------------------
 1088|  11.8k|            formatters_.push_back(details::make_unique<details::c_formatter<Padder>>(padding));
 1089|  11.8k|            need_localtime_ = true;
 1090|  11.8k|            break;
 1091|       |
 1092|    639|        case ('C'):  // year 2 digits
  ------------------
  |  Branch (1092:9): [True: 639, False: 1.73M]
  ------------------
 1093|    639|            formatters_.push_back(details::make_unique<details::C_formatter<Padder>>(padding));
 1094|    639|            need_localtime_ = true;
 1095|    639|            break;
 1096|       |
 1097|  33.5k|        case ('Y'):  // year 4 digits
  ------------------
  |  Branch (1097:9): [True: 33.5k, False: 1.70M]
  ------------------
 1098|  33.5k|            formatters_.push_back(details::make_unique<details::Y_formatter<Padder>>(padding));
 1099|  33.5k|            need_localtime_ = true;
 1100|  33.5k|            break;
 1101|       |
 1102|  8.28k|        case ('D'):
  ------------------
  |  Branch (1102:9): [True: 8.28k, False: 1.72M]
  ------------------
 1103|  11.4k|        case ('x'):  // datetime MM/DD/YY
  ------------------
  |  Branch (1103:9): [True: 3.12k, False: 1.73M]
  ------------------
 1104|  11.4k|            formatters_.push_back(details::make_unique<details::D_formatter<Padder>>(padding));
 1105|  11.4k|            need_localtime_ = true;
 1106|  11.4k|            break;
 1107|       |
 1108|  22.7k|        case ('m'):  // month 1-12
  ------------------
  |  Branch (1108:9): [True: 22.7k, False: 1.71M]
  ------------------
 1109|  22.7k|            formatters_.push_back(details::make_unique<details::m_formatter<Padder>>(padding));
 1110|  22.7k|            need_localtime_ = true;
 1111|  22.7k|            break;
 1112|       |
 1113|  36.2k|        case ('d'):  // day of month 1-31
  ------------------
  |  Branch (1113:9): [True: 36.2k, False: 1.69M]
  ------------------
 1114|  36.2k|            formatters_.push_back(details::make_unique<details::d_formatter<Padder>>(padding));
 1115|  36.2k|            need_localtime_ = true;
 1116|  36.2k|            break;
 1117|       |
 1118|  26.9k|        case ('H'):  // hours 24
  ------------------
  |  Branch (1118:9): [True: 26.9k, False: 1.70M]
  ------------------
 1119|  26.9k|            formatters_.push_back(details::make_unique<details::H_formatter<Padder>>(padding));
 1120|  26.9k|            need_localtime_ = true;
 1121|  26.9k|            break;
 1122|       |
 1123|  45.4k|        case ('I'):  // hours 12
  ------------------
  |  Branch (1123:9): [True: 45.4k, False: 1.68M]
  ------------------
 1124|  45.4k|            formatters_.push_back(details::make_unique<details::I_formatter<Padder>>(padding));
 1125|  45.4k|            need_localtime_ = true;
 1126|  45.4k|            break;
 1127|       |
 1128|  61.0k|        case ('M'):  // minutes
  ------------------
  |  Branch (1128:9): [True: 61.0k, False: 1.67M]
  ------------------
 1129|  61.0k|            formatters_.push_back(details::make_unique<details::M_formatter<Padder>>(padding));
 1130|  61.0k|            need_localtime_ = true;
 1131|  61.0k|            break;
 1132|       |
 1133|  1.03k|        case ('S'):  // seconds
  ------------------
  |  Branch (1133:9): [True: 1.03k, False: 1.73M]
  ------------------
 1134|  1.03k|            formatters_.push_back(details::make_unique<details::S_formatter<Padder>>(padding));
 1135|  1.03k|            need_localtime_ = true;
 1136|  1.03k|            break;
 1137|       |
 1138|   138k|        case ('e'):  // milliseconds
  ------------------
  |  Branch (1138:9): [True: 138k, False: 1.59M]
  ------------------
 1139|   138k|            formatters_.push_back(details::make_unique<details::e_formatter<Padder>>(padding));
 1140|   138k|            break;
 1141|       |
 1142|  21.4k|        case ('f'):  // microseconds
  ------------------
  |  Branch (1142:9): [True: 21.4k, False: 1.71M]
  ------------------
 1143|  21.4k|            formatters_.push_back(details::make_unique<details::f_formatter<Padder>>(padding));
 1144|  21.4k|            break;
 1145|       |
 1146|  22.6k|        case ('F'):  // nanoseconds
  ------------------
  |  Branch (1146:9): [True: 22.6k, False: 1.71M]
  ------------------
 1147|  22.6k|            formatters_.push_back(details::make_unique<details::F_formatter<Padder>>(padding));
 1148|  22.6k|            break;
 1149|       |
 1150|  3.39k|        case ('E'):  // seconds since epoch
  ------------------
  |  Branch (1150:9): [True: 3.39k, False: 1.73M]
  ------------------
 1151|  3.39k|            formatters_.push_back(details::make_unique<details::E_formatter<Padder>>(padding));
 1152|  3.39k|            break;
 1153|       |
 1154|  27.7k|        case ('p'):  // am/pm
  ------------------
  |  Branch (1154:9): [True: 27.7k, False: 1.70M]
  ------------------
 1155|  27.7k|            formatters_.push_back(details::make_unique<details::p_formatter<Padder>>(padding));
 1156|  27.7k|            need_localtime_ = true;
 1157|  27.7k|            break;
 1158|       |
 1159|  15.9k|        case ('r'):  // 12 hour clock 02:55:02 pm
  ------------------
  |  Branch (1159:9): [True: 15.9k, False: 1.71M]
  ------------------
 1160|  15.9k|            formatters_.push_back(details::make_unique<details::r_formatter<Padder>>(padding));
 1161|  15.9k|            need_localtime_ = true;
 1162|  15.9k|            break;
 1163|       |
 1164|  1.84k|        case ('R'):  // 24-hour HH:MM time
  ------------------
  |  Branch (1164:9): [True: 1.84k, False: 1.73M]
  ------------------
 1165|  1.84k|            formatters_.push_back(details::make_unique<details::R_formatter<Padder>>(padding));
 1166|  1.84k|            need_localtime_ = true;
 1167|  1.84k|            break;
 1168|       |
 1169|  18.7k|        case ('T'):
  ------------------
  |  Branch (1169:9): [True: 18.7k, False: 1.71M]
  ------------------
 1170|  20.6k|        case ('X'):  // ISO 8601 time format (HH:MM:SS)
  ------------------
  |  Branch (1170:9): [True: 1.87k, False: 1.73M]
  ------------------
 1171|  20.6k|            formatters_.push_back(details::make_unique<details::T_formatter<Padder>>(padding));
 1172|  20.6k|            need_localtime_ = true;
 1173|  20.6k|            break;
 1174|  22.7k|        case ('z'):  // timezone
  ------------------
  |  Branch (1174:9): [True: 22.7k, False: 1.71M]
  ------------------
 1175|  22.7k|            formatters_.push_back(
 1176|  22.7k|                details::make_unique<details::z_formatter<Padder>>(padding, pattern_time_type_));
 1177|  22.7k|            need_localtime_ = true;
 1178|  22.7k|            break;
 1179|    531|        case ('P'):  // pid
  ------------------
  |  Branch (1179:9): [True: 531, False: 1.73M]
  ------------------
 1180|    531|            formatters_.push_back(details::make_unique<details::pid_formatter<Padder>>(padding));
 1181|    531|            break;
 1182|       |
 1183|  17.2k|        case ('^'):  // color range start
  ------------------
  |  Branch (1183:9): [True: 17.2k, False: 1.71M]
  ------------------
 1184|  17.2k|            formatters_.push_back(details::make_unique<details::color_start_formatter>(padding));
 1185|  17.2k|            break;
 1186|       |
 1187|  24.3k|        case ('$'):  // color range end
  ------------------
  |  Branch (1187:9): [True: 24.3k, False: 1.71M]
  ------------------
 1188|  24.3k|            formatters_.push_back(details::make_unique<details::color_stop_formatter>(padding));
 1189|  24.3k|            break;
 1190|       |
 1191|  12.3k|        case ('@'):  // source location (filename:filenumber)
  ------------------
  |  Branch (1191:9): [True: 12.3k, False: 1.72M]
  ------------------
 1192|  12.3k|            formatters_.push_back(
 1193|  12.3k|                details::make_unique<details::source_location_formatter<Padder>>(padding));
 1194|  12.3k|            break;
 1195|       |
 1196|  1.71k|        case ('s'):  // short source filename - without directory name
  ------------------
  |  Branch (1196:9): [True: 1.71k, False: 1.73M]
  ------------------
 1197|  1.71k|            formatters_.push_back(
 1198|  1.71k|                details::make_unique<details::short_filename_formatter<Padder>>(padding));
 1199|  1.71k|            break;
 1200|       |
 1201|  29.9k|        case ('g'):  // full source filename
  ------------------
  |  Branch (1201:9): [True: 29.9k, False: 1.70M]
  ------------------
 1202|  29.9k|            formatters_.push_back(
 1203|  29.9k|                details::make_unique<details::source_filename_formatter<Padder>>(padding));
 1204|  29.9k|            break;
 1205|       |
 1206|  5.34k|        case ('#'):  // source line number
  ------------------
  |  Branch (1206:9): [True: 5.34k, False: 1.72M]
  ------------------
 1207|  5.34k|            formatters_.push_back(
 1208|  5.34k|                details::make_unique<details::source_linenum_formatter<Padder>>(padding));
 1209|  5.34k|            break;
 1210|       |
 1211|    258|        case ('!'):  // source funcname
  ------------------
  |  Branch (1211:9): [True: 258, False: 1.73M]
  ------------------
 1212|    258|            formatters_.push_back(
 1213|    258|                details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1214|    258|            break;
 1215|       |
 1216|  20.9k|        case ('%'):  // % char
  ------------------
  |  Branch (1216:9): [True: 20.9k, False: 1.71M]
  ------------------
 1217|  20.9k|            formatters_.push_back(details::make_unique<details::ch_formatter>('%'));
 1218|  20.9k|            break;
 1219|       |
 1220|  16.5k|        case ('u'):  // elapsed time since last log message in nanos
  ------------------
  |  Branch (1220:9): [True: 16.5k, False: 1.71M]
  ------------------
 1221|  16.5k|            formatters_.push_back(
 1222|  16.5k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::nanoseconds>>(
 1223|  16.5k|                    padding));
 1224|  16.5k|            break;
 1225|       |
 1226|   658k|        case ('i'):  // elapsed time since last log message in micros
  ------------------
  |  Branch (1226:9): [True: 658k, False: 1.07M]
  ------------------
 1227|   658k|            formatters_.push_back(
 1228|   658k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::microseconds>>(
 1229|   658k|                    padding));
 1230|   658k|            break;
 1231|       |
 1232|  2.21k|        case ('o'):  // elapsed time since last log message in millis
  ------------------
  |  Branch (1232:9): [True: 2.21k, False: 1.73M]
  ------------------
 1233|  2.21k|            formatters_.push_back(
 1234|  2.21k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::milliseconds>>(
 1235|  2.21k|                    padding));
 1236|  2.21k|            break;
 1237|       |
 1238|  41.9k|        case ('O'):  // elapsed time since last log message in seconds
  ------------------
  |  Branch (1238:9): [True: 41.9k, False: 1.69M]
  ------------------
 1239|  41.9k|            formatters_.push_back(
 1240|  41.9k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::seconds>>(
 1241|  41.9k|                    padding));
 1242|  41.9k|            break;
 1243|       |
 1244|      0|#ifndef SPDLOG_NO_TLS  // mdc formatter requires TLS support
 1245|    852|        case ('&'):
  ------------------
  |  Branch (1245:9): [True: 852, False: 1.73M]
  ------------------
 1246|    852|            formatters_.push_back(details::make_unique<details::mdc_formatter<Padder>>(padding));
 1247|    852|            break;
 1248|      0|#endif
 1249|       |
 1250|   134k|        default:  // Unknown flag appears as is
  ------------------
  |  Branch (1250:9): [True: 134k, False: 1.60M]
  ------------------
 1251|   134k|            auto unknown_flag = details::make_unique<details::aggregate_formatter>();
 1252|       |
 1253|   134k|            if (!padding.truncate_) {
  ------------------
  |  Branch (1253:17): [True: 132k, False: 2.01k]
  ------------------
 1254|   132k|                unknown_flag->add_ch('%');
 1255|   132k|                unknown_flag->add_ch(flag);
 1256|   132k|                formatters_.push_back((std::move(unknown_flag)));
 1257|   132k|            }
 1258|       |            // fix issue #1617 (prev char was '!' and should have been treated as funcname flag
 1259|       |            // instead of truncating flag) spdlog::set_pattern("[%10!] %v") => "[      main] some
 1260|       |            // message" spdlog::set_pattern("[%3!!] %v") => "[mai] some message"
 1261|  2.01k|            else {
 1262|  2.01k|                padding.truncate_ = false;
 1263|  2.01k|                formatters_.push_back(
 1264|  2.01k|                    details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1265|  2.01k|                unknown_flag->add_ch(flag);
 1266|  2.01k|                formatters_.push_back((std::move(unknown_flag)));
 1267|  2.01k|            }
 1268|       |
 1269|   134k|            break;
 1270|  1.73M|    }
 1271|  1.73M|}
_ZN6spdlog7details14name_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  107|  15.5k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details14name_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  109|  5.18k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  110|  5.18k|        ScopedPadder p(msg.logger_name.size(), padinfo_, dest);
  111|  5.18k|        fmt_helper::append_string_view(msg.logger_name, dest);
  112|  5.18k|    }
_ZN6spdlog7details13scoped_padderC2EmRKNS0_12padding_infoERN3fmt3v1219basic_memory_bufferIcLm250ENS6_6detail9allocatorIcEEEE:
   45|   509k|        : padinfo_(padinfo),
   46|   509k|          dest_(dest) {
   47|   509k|        remaining_pad_ = static_cast<long>(padinfo.width_) - static_cast<long>(wrapped_size);
   48|   509k|        if (remaining_pad_ <= 0) {
  ------------------
  |  Branch (48:13): [True: 377k, False: 131k]
  ------------------
   49|   377k|            return;
   50|   377k|        }
   51|       |
   52|   131k|        if (padinfo_.side_ == padding_info::pad_side::left) {
  ------------------
  |  Branch (52:13): [True: 86.2k, False: 45.7k]
  ------------------
   53|  86.2k|            pad_it(remaining_pad_);
   54|  86.2k|            remaining_pad_ = 0;
   55|  86.2k|        } else if (padinfo_.side_ == padding_info::pad_side::center) {
  ------------------
  |  Branch (55:20): [True: 30.2k, False: 15.4k]
  ------------------
   56|  30.2k|            auto half_pad = remaining_pad_ / 2;
   57|  30.2k|            auto reminder = remaining_pad_ & 1;
   58|  30.2k|            pad_it(half_pad);
   59|  30.2k|            remaining_pad_ = half_pad + reminder;  // for the right side
   60|  30.2k|        }
   61|   131k|    }
_ZN6spdlog7details13scoped_padder6pad_itEl:
   81|   259k|    void pad_it(long count) {
   82|   259k|        fmt_helper::append_string_view(string_view_t(spaces_.data(), static_cast<size_t>(count)),
   83|   259k|                                       dest_);
   84|   259k|    }
_ZN6spdlog7details13scoped_padderD2Ev:
   68|   509k|    ~scoped_padder() {
   69|   509k|        if (remaining_pad_ >= 0) {
  ------------------
  |  Branch (69:13): [True: 143k, False: 365k]
  ------------------
   70|   143k|            pad_it(remaining_pad_);
   71|   365k|        } else if (padinfo_.truncate_) {
  ------------------
  |  Branch (71:20): [True: 250, False: 365k]
  ------------------
   72|    250|            long new_size = static_cast<long>(dest_.size()) + remaining_pad_;
   73|    250|            if (new_size < 0) {
  ------------------
  |  Branch (73:17): [True: 0, False: 250]
  ------------------
   74|      0|                new_size = 0;
   75|      0|            }
   76|    250|            dest_.resize(static_cast<size_t>(new_size));
   77|    250|        }
   78|   509k|    }
_ZN6spdlog7details15level_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  120|  4.36k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details15level_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  122|  1.45k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  123|  1.45k|        const string_view_t &level_name = level::to_string_view(msg.level);
  124|  1.45k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  125|  1.45k|        fmt_helper::append_string_view(level_name, dest);
  126|  1.45k|    }
_ZN6spdlog7details21short_level_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  134|  71.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details21short_level_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  136|  23.8k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  137|  23.8k|        string_view_t level_name{level::to_short_c_str(msg.level)};
  138|  23.8k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  139|  23.8k|        fmt_helper::append_string_view(level_name, dest);
  140|  23.8k|    }
_ZN6spdlog7details11t_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  575|  4.60k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11t_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  577|  1.53k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  578|  1.53k|        const auto field_size = ScopedPadder::count_digits(msg.thread_id);
  579|  1.53k|        ScopedPadder p(field_size, padinfo_, dest);
  580|  1.53k|        fmt_helper::append_int(msg.thread_id, dest);
  581|  1.53k|    }
_ZN6spdlog7details13scoped_padder12count_digitsImEEjT_:
   64|   241k|    static unsigned int count_digits(T n) {
   65|   241k|        return fmt_helper::count_digits(n);
   66|   241k|    }
_ZN6spdlog7details11v_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  603|  2.73k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11v_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  605|    912|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  606|    912|        ScopedPadder p(msg.payload.size(), padinfo_, dest);
  607|    912|        fmt_helper::append_string_view(msg.payload, dest);
  608|    912|    }
_ZN6spdlog7details11a_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  158|  5.34k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11a_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  160|  1.78k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  161|  1.78k|        string_view_t field_value{days[static_cast<size_t>(tm_time.tm_wday)]};
  162|  1.78k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  163|  1.78k|        fmt_helper::append_string_view(field_value, dest);
  164|  1.78k|    }
_ZN6spdlog7details11A_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  175|  2.58k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11A_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  177|    862|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  178|    862|        string_view_t field_value{full_days[static_cast<size_t>(tm_time.tm_wday)]};
  179|    862|        ScopedPadder p(field_value.size(), padinfo_, dest);
  180|    862|        fmt_helper::append_string_view(field_value, dest);
  181|    862|    }
_ZN6spdlog7details11b_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  192|  6.92k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11b_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  194|  2.28k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  195|  2.28k|        string_view_t field_value{months[static_cast<size_t>(tm_time.tm_mon)]};
  196|  2.28k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  197|  2.28k|        fmt_helper::append_string_view(field_value, dest);
  198|  2.28k|    }
_ZN6spdlog7details11B_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  210|   118k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11B_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  212|  39.4k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  213|  39.4k|        string_view_t field_value{full_months[static_cast<size_t>(tm_time.tm_mon)]};
  214|  39.4k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  215|  39.4k|        fmt_helper::append_string_view(field_value, dest);
  216|  39.4k|    }
_ZN6spdlog7details11c_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  224|  11.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11c_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  226|  3.96k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  227|  3.96k|        const size_t field_size = 18 + ScopedPadder::count_digits(tm_time.tm_mday) +
  228|  3.96k|                                  ScopedPadder::count_digits(tm_time.tm_year + 1900);
  229|  3.96k|        ScopedPadder p(field_size, padinfo_, dest);
  230|       |
  231|  3.96k|        fmt_helper::append_string_view(days[static_cast<size_t>(tm_time.tm_wday)], dest);
  232|  3.96k|        dest.push_back(' ');
  233|  3.96k|        fmt_helper::append_string_view(months[static_cast<size_t>(tm_time.tm_mon)], dest);
  234|  3.96k|        dest.push_back(' ');
  235|  3.96k|        fmt_helper::append_int(tm_time.tm_mday, dest);
  236|  3.96k|        dest.push_back(' ');
  237|       |        // time
  238|       |
  239|  3.96k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  240|  3.96k|        dest.push_back(':');
  241|  3.96k|        fmt_helper::pad2(tm_time.tm_min, dest);
  242|  3.96k|        dest.push_back(':');
  243|  3.96k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  244|  3.96k|        dest.push_back(' ');
  245|  3.96k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  246|  3.96k|    }
_ZN6spdlog7details13scoped_padder12count_digitsIiEEjT_:
   64|  7.93k|    static unsigned int count_digits(T n) {
   65|  7.93k|        return fmt_helper::count_digits(n);
   66|  7.93k|    }
_ZN6spdlog7details11C_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  254|    639|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11C_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  256|    213|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  257|    213|        const size_t field_size = 2;
  258|    213|        ScopedPadder p(field_size, padinfo_, dest);
  259|    213|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  260|    213|    }
_ZN6spdlog7details11Y_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  287|  33.5k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11Y_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  289|  11.1k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  290|  11.1k|        const size_t field_size = 4;
  291|  11.1k|        ScopedPadder p(field_size, padinfo_, dest);
  292|  11.1k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  293|  11.1k|    }
_ZN6spdlog7details11D_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  268|  11.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11D_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  270|  3.75k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  271|  3.75k|        const size_t field_size = 8;
  272|  3.75k|        ScopedPadder p(field_size, padinfo_, dest);
  273|       |
  274|  3.75k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  275|  3.75k|        dest.push_back('/');
  276|  3.75k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  277|  3.75k|        dest.push_back('/');
  278|  3.75k|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  279|  3.75k|    }
_ZN6spdlog7details11m_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  301|  22.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11m_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  303|  7.54k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  304|  7.54k|        const size_t field_size = 2;
  305|  7.54k|        ScopedPadder p(field_size, padinfo_, dest);
  306|  7.54k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  307|  7.54k|    }
_ZN6spdlog7details11d_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  315|  36.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11d_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  317|  12.0k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  318|  12.0k|        const size_t field_size = 2;
  319|  12.0k|        ScopedPadder p(field_size, padinfo_, dest);
  320|  12.0k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  321|  12.0k|    }
_ZN6spdlog7details11H_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  329|  26.9k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11H_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  331|  8.96k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  332|  8.96k|        const size_t field_size = 2;
  333|  8.96k|        ScopedPadder p(field_size, padinfo_, dest);
  334|  8.96k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  335|  8.96k|    }
_ZN6spdlog7details11I_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  343|  45.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11I_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  345|  15.1k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  346|  15.1k|        const size_t field_size = 2;
  347|  15.1k|        ScopedPadder p(field_size, padinfo_, dest);
  348|  15.1k|        fmt_helper::pad2(to12h(tm_time), dest);
  349|  15.1k|    }
format_fuzzer.cc:_ZN6spdlog7detailsL5to12hERK2tm:
  149|  43.0k|static int to12h(const tm &t) { return t.tm_hour % 12 == 0 ? 12 : t.tm_hour % 12; }
  ------------------
  |  Branch (149:40): [True: 0, False: 43.0k]
  ------------------
_ZN6spdlog7details11M_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  357|  61.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11M_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  359|  20.3k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  360|  20.3k|        const size_t field_size = 2;
  361|  20.3k|        ScopedPadder p(field_size, padinfo_, dest);
  362|  20.3k|        fmt_helper::pad2(tm_time.tm_min, dest);
  363|  20.3k|    }
_ZN6spdlog7details11S_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  371|  1.03k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11S_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  373|    345|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  374|    345|        const size_t field_size = 2;
  375|    345|        ScopedPadder p(field_size, padinfo_, dest);
  376|    345|        fmt_helper::pad2(tm_time.tm_sec, dest);
  377|    345|    }
_ZN6spdlog7details11e_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  385|   138k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11e_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  387|  46.1k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  388|  46.1k|        auto millis = fmt_helper::time_fraction<std::chrono::milliseconds>(msg.time);
  389|  46.1k|        const size_t field_size = 3;
  390|  46.1k|        ScopedPadder p(field_size, padinfo_, dest);
  391|  46.1k|        fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
  392|  46.1k|    }
_ZN6spdlog7details11f_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  400|  21.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11f_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  402|  7.12k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  403|  7.12k|        auto micros = fmt_helper::time_fraction<std::chrono::microseconds>(msg.time);
  404|       |
  405|  7.12k|        const size_t field_size = 6;
  406|  7.12k|        ScopedPadder p(field_size, padinfo_, dest);
  407|  7.12k|        fmt_helper::pad6(static_cast<size_t>(micros.count()), dest);
  408|  7.12k|    }
_ZN6spdlog7details11F_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  416|  22.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11F_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  418|  7.53k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  419|  7.53k|        auto ns = fmt_helper::time_fraction<std::chrono::nanoseconds>(msg.time);
  420|  7.53k|        const size_t field_size = 9;
  421|  7.53k|        ScopedPadder p(field_size, padinfo_, dest);
  422|  7.53k|        fmt_helper::pad9(static_cast<size_t>(ns.count()), dest);
  423|  7.53k|    }
_ZN6spdlog7details11E_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  431|  3.39k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11E_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  433|  1.13k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  434|  1.13k|        auto duration = msg.time.time_since_epoch();
  435|  1.13k|        auto seconds = std::chrono::duration_cast<std::chrono::seconds>(duration).count();
  436|  1.13k|        const auto field_size = ScopedPadder::count_digits(seconds);
  437|  1.13k|        ScopedPadder p(field_size, padinfo_, dest);
  438|  1.13k|        fmt_helper::append_int(seconds, dest);
  439|  1.13k|    }
_ZN6spdlog7details13scoped_padder12count_digitsIxEEjT_:
   64|  1.13k|    static unsigned int count_digits(T n) {
   65|  1.13k|        return fmt_helper::count_digits(n);
   66|  1.13k|    }
_ZN6spdlog7details11p_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  447|  27.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11p_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  449|  9.09k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  450|  9.09k|        const size_t field_size = 2;
  451|  9.09k|        ScopedPadder p(field_size, padinfo_, dest);
  452|  9.09k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  453|  9.09k|    }
format_fuzzer.cc:_ZN6spdlog7detailsL4ampmERK2tm:
  147|  22.3k|static const char *ampm(const tm &t) { return t.tm_hour >= 12 ? "PM" : "AM"; }
  ------------------
  |  Branch (147:47): [True: 0, False: 22.3k]
  ------------------
_ZN6spdlog7details11r_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  461|  15.9k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11r_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  463|  5.03k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  464|  5.03k|        const size_t field_size = 11;
  465|  5.03k|        ScopedPadder p(field_size, padinfo_, dest);
  466|       |
  467|  5.03k|        fmt_helper::pad2(to12h(tm_time), dest);
  468|  5.03k|        dest.push_back(':');
  469|  5.03k|        fmt_helper::pad2(tm_time.tm_min, dest);
  470|  5.03k|        dest.push_back(':');
  471|  5.03k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  472|  5.03k|        dest.push_back(' ');
  473|  5.03k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  474|  5.03k|    }
_ZN6spdlog7details11R_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  482|  1.84k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11R_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  484|    611|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  485|    611|        const size_t field_size = 5;
  486|    611|        ScopedPadder p(field_size, padinfo_, dest);
  487|       |
  488|    611|        fmt_helper::pad2(tm_time.tm_hour, dest);
  489|    611|        dest.push_back(':');
  490|    611|        fmt_helper::pad2(tm_time.tm_min, dest);
  491|    611|    }
_ZN6spdlog7details11T_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  499|  20.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11T_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  501|  6.88k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  502|  6.88k|        const size_t field_size = 8;
  503|  6.88k|        ScopedPadder p(field_size, padinfo_, dest);
  504|       |
  505|  6.88k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  506|  6.88k|        dest.push_back(':');
  507|  6.88k|        fmt_helper::pad2(tm_time.tm_min, dest);
  508|  6.88k|        dest.push_back(':');
  509|  6.88k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  510|  6.88k|    }
_ZN6spdlog7details11z_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoENS_17pattern_time_typeE:
  519|  22.7k|        : flag_formatter(padinfo),
  520|  22.7k|          time_type_(time_type) {}
_ZN6spdlog7details11z_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  526|  7.47k|    void format(const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override {
  527|  7.47k|        const size_t field_size = 6;
  528|  7.47k|        ScopedPadder p(field_size, padinfo_, dest);
  529|       |#ifdef SPDLOG_NO_TZ_OFFSET
  530|       |        (void)msg;
  531|       |        (void)tm_time;
  532|       |        const char *str = "+??:??";
  533|       |        dest.append(str, str + 6);
  534|       |#else
  535|  7.47k|        if (time_type_ == pattern_time_type::utc) {
  ------------------
  |  Branch (535:13): [True: 0, False: 7.47k]
  ------------------
  536|      0|            const char *zeroes = "+00:00";
  537|      0|            dest.append(zeroes, zeroes + 6);
  538|      0|            return;
  539|      0|        }
  540|  7.47k|        auto total_minutes = get_cached_offset(msg, tm_time);
  541|  7.47k|        bool is_negative = total_minutes < 0;
  542|  7.47k|        if (is_negative) {
  ------------------
  |  Branch (542:13): [True: 0, False: 7.47k]
  ------------------
  543|      0|            total_minutes = -total_minutes;
  544|      0|            dest.push_back('-');
  545|  7.47k|        } else {
  546|  7.47k|            dest.push_back('+');
  547|  7.47k|        }
  548|       |
  549|  7.47k|        fmt_helper::pad2(total_minutes / 60, dest);  // hours
  550|  7.47k|        dest.push_back(':');
  551|  7.47k|        fmt_helper::pad2(total_minutes % 60, dest);  // minutes
  552|  7.47k|#endif  // SPDLOG_NO_TZ_OFFSET
  553|  7.47k|    }
_ZN6spdlog7details11z_formatterINS0_13scoped_padderEE17get_cached_offsetERKNS0_7log_msgERK2tm:
  560|  7.47k|    int get_cached_offset(const log_msg &msg, const std::tm &tm_time) {
  561|       |        // refresh every 10 seconds
  562|  7.47k|        if (msg.time - last_update_ >= std::chrono::seconds(10)) {
  ------------------
  |  Branch (562:13): [True: 7.47k, False: 0]
  ------------------
  563|  7.47k|            offset_minutes_ = os::utc_minutes_offset(tm_time);
  564|  7.47k|            last_update_ = msg.time;
  565|  7.47k|        }
  566|  7.47k|        return offset_minutes_;
  567|  7.47k|    }
_ZN6spdlog7details13pid_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  589|    531|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13pid_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  591|    157|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  592|    157|        const auto pid = static_cast<uint32_t>(details::os::pid());
  593|    157|        auto field_size = ScopedPadder::count_digits(pid);
  594|    157|        ScopedPadder p(field_size, padinfo_, dest);
  595|    157|        fmt_helper::append_int(pid, dest);
  596|    157|    }
_ZN6spdlog7details13scoped_padder12count_digitsIjEEjT_:
   64|    157|    static unsigned int count_digits(T n) {
   65|    157|        return fmt_helper::count_digits(n);
   66|    157|    }
_ZN6spdlog7details21color_start_formatterC2ENS0_12padding_infoE:
  642|  26.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details21color_start_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  644|  8.78k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  645|  8.78k|        msg.color_range_start = dest.size();
  646|  8.78k|    }
_ZN6spdlog7details20color_stop_formatterC2ENS0_12padding_infoE:
  652|  33.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details20color_stop_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  654|  11.1k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  655|  11.1k|        msg.color_range_end = dest.size();
  656|  11.1k|    }
_ZN6spdlog7details25source_location_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  664|  12.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_location_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  666|  4.07k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  667|  4.07k|        if (msg.source.empty()) {
  ------------------
  |  Branch (667:13): [True: 4.07k, False: 0]
  ------------------
  668|  4.07k|            ScopedPadder p(0, padinfo_, dest);
  669|  4.07k|            return;
  670|  4.07k|        }
  671|       |
  672|      0|        size_t text_size;
  673|      0|        if (padinfo_.enabled()) {
  ------------------
  |  Branch (673:13): [True: 0, False: 0]
  ------------------
  674|       |            // calc text size for padding based on "filename:line"
  675|      0|            text_size = std::char_traits<char>::length(msg.source.filename) +
  676|      0|                        ScopedPadder::count_digits(msg.source.line) + 1;
  677|      0|        } else {
  678|      0|            text_size = 0;
  679|      0|        }
  680|       |
  681|      0|        ScopedPadder p(text_size, padinfo_, dest);
  682|      0|        fmt_helper::append_string_view(msg.source.filename, dest);
  683|      0|        dest.push_back(':');
  684|      0|        fmt_helper::append_int(msg.source.line, dest);
  685|      0|    }
_ZN6spdlog7details24short_filename_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  711|  1.71k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24short_filename_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  736|    570|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  737|    570|        if (msg.source.empty()) {
  ------------------
  |  Branch (737:13): [True: 570, False: 0]
  ------------------
  738|    570|            ScopedPadder p(0, padinfo_, dest);
  739|    570|            return;
  740|    570|        }
  741|      0|        auto filename = basename(msg.source.filename);
  742|      0|        size_t text_size = padinfo_.enabled() ? std::char_traits<char>::length(filename) : 0;
  ------------------
  |  Branch (742:28): [True: 0, False: 0]
  ------------------
  743|      0|        ScopedPadder p(text_size, padinfo_, dest);
  744|      0|        fmt_helper::append_string_view(filename, dest);
  745|      0|    }
_ZN6spdlog7details25source_filename_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  693|  29.9k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_filename_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  695|  9.99k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  696|  9.99k|        if (msg.source.empty()) {
  ------------------
  |  Branch (696:13): [True: 9.99k, False: 0]
  ------------------
  697|  9.99k|            ScopedPadder p(0, padinfo_, dest);
  698|  9.99k|            return;
  699|  9.99k|        }
  700|      0|        size_t text_size =
  701|      0|            padinfo_.enabled() ? std::char_traits<char>::length(msg.source.filename) : 0;
  ------------------
  |  Branch (701:13): [True: 0, False: 0]
  ------------------
  702|      0|        ScopedPadder p(text_size, padinfo_, dest);
  703|      0|        fmt_helper::append_string_view(msg.source.filename, dest);
  704|      0|    }
_ZN6spdlog7details24source_linenum_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  752|  5.34k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24source_linenum_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  754|  1.78k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  755|  1.78k|        if (msg.source.empty()) {
  ------------------
  |  Branch (755:13): [True: 1.78k, False: 0]
  ------------------
  756|  1.78k|            ScopedPadder p(0, padinfo_, dest);
  757|  1.78k|            return;
  758|  1.78k|        }
  759|       |
  760|      0|        auto field_size = ScopedPadder::count_digits(msg.source.line);
  761|      0|        ScopedPadder p(field_size, padinfo_, dest);
  762|      0|        fmt_helper::append_int(msg.source.line, dest);
  763|      0|    }
_ZN6spdlog7details25source_funcname_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  771|  2.27k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_funcname_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  773|    722|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  774|    722|        if (msg.source.empty()) {
  ------------------
  |  Branch (774:13): [True: 722, False: 0]
  ------------------
  775|    722|            ScopedPadder p(0, padinfo_, dest);
  776|    722|            return;
  777|    722|        }
  778|      0|        size_t text_size =
  779|      0|            padinfo_.enabled() ? std::char_traits<char>::length(msg.source.funcname) : 0;
  ------------------
  |  Branch (779:13): [True: 0, False: 0]
  ------------------
  780|      0|        ScopedPadder p(text_size, padinfo_, dest);
  781|      0|        fmt_helper::append_string_view(msg.source.funcname, dest);
  782|      0|    }
_ZN6spdlog7details12ch_formatterC2Ec:
  614|   573k|        : ch_(ch) {}
_ZN6spdlog7details12ch_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  616|   191k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  617|   191k|        dest.push_back(ch_);
  618|   191k|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEEC2ENS0_12padding_infoE:
  792|  16.5k|        : flag_formatter(padinfo),
  793|  16.5k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|  5.44k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|  5.44k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|  5.44k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|  5.44k|        last_message_time_ = msg.time;
  799|  5.44k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|  5.44k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|  5.44k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|  5.44k|        fmt_helper::append_int(delta_count, dest);
  803|  5.44k|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEEC2ENS0_12padding_infoE:
  792|   658k|        : flag_formatter(padinfo),
  793|   658k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|   219k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|   219k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|   219k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|   219k|        last_message_time_ = msg.time;
  799|   219k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|   219k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|   219k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|   219k|        fmt_helper::append_int(delta_count, dest);
  803|   219k|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEC2ENS0_12padding_infoE:
  792|  2.21k|        : flag_formatter(padinfo),
  793|  2.21k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|    739|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|    739|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|    739|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|    739|        last_message_time_ = msg.time;
  799|    739|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|    739|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|    739|        ScopedPadder p(n_digits, padinfo_, dest);
  802|    739|        fmt_helper::append_int(delta_count, dest);
  803|    739|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEEC2ENS0_12padding_infoE:
  792|  41.9k|        : flag_formatter(padinfo),
  793|  41.9k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|  13.9k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|  13.9k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|  13.9k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|  13.9k|        last_message_time_ = msg.time;
  799|  13.9k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|  13.9k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|  13.9k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|  13.9k|        fmt_helper::append_int(delta_count, dest);
  803|  13.9k|    }
_ZN6spdlog7details13mdc_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  816|    852|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13mdc_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  818|    284|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  819|    284|        const auto &mdc_map = mdc::get_context();
  820|    284|        if (mdc_map.empty()) {
  ------------------
  |  Branch (820:13): [True: 284, False: 0]
  ------------------
  821|    284|            ScopedPadder p(0, padinfo_, dest);
  822|    284|            return;
  823|    284|        } else {
  824|      0|            format_mdc(mdc_map, dest);
  825|      0|        }
  826|    284|    }
_ZN6spdlog17pattern_formatter12handle_flag_INS_7details18null_scoped_padderEEEvcNS2_12padding_infoE:
 1028|  4.81M|SPDLOG_INLINE void pattern_formatter::handle_flag_(char flag, details::padding_info padding) {
 1029|       |    // process custom flags
 1030|  4.81M|    auto it = custom_handlers_.find(flag);
 1031|  4.81M|    if (it != custom_handlers_.end()) {
  ------------------
  |  Branch (1031:9): [True: 14.0k, False: 4.80M]
  ------------------
 1032|  14.0k|        auto custom_handler = it->second->clone();
 1033|  14.0k|        custom_handler->set_padding_info(padding);
 1034|  14.0k|        formatters_.push_back(std::move(custom_handler));
 1035|  14.0k|        return;
 1036|  14.0k|    }
 1037|       |
 1038|       |    // process built-in flags
 1039|  4.80M|    switch (flag) {
 1040|   347k|        case ('+'):  // default formatter
  ------------------
  |  Branch (1040:9): [True: 347k, False: 4.45M]
  ------------------
 1041|   347k|            formatters_.push_back(details::make_unique<details::full_formatter>(padding));
 1042|   347k|            need_localtime_ = true;
 1043|   347k|            break;
 1044|       |
 1045|  58.6k|        case 'n':  // logger name
  ------------------
  |  Branch (1045:9): [True: 58.6k, False: 4.74M]
  ------------------
 1046|  58.6k|            formatters_.push_back(details::make_unique<details::name_formatter<Padder>>(padding));
 1047|  58.6k|            break;
 1048|       |
 1049|  95.0k|        case 'l':  // level
  ------------------
  |  Branch (1049:9): [True: 95.0k, False: 4.71M]
  ------------------
 1050|  95.0k|            formatters_.push_back(details::make_unique<details::level_formatter<Padder>>(padding));
 1051|  95.0k|            break;
 1052|       |
 1053|  64.1k|        case 'L':  // short level
  ------------------
  |  Branch (1053:9): [True: 64.1k, False: 4.74M]
  ------------------
 1054|  64.1k|            formatters_.push_back(
 1055|  64.1k|                details::make_unique<details::short_level_formatter<Padder>>(padding));
 1056|  64.1k|            break;
 1057|       |
 1058|  28.5k|        case ('t'):  // thread id
  ------------------
  |  Branch (1058:9): [True: 28.5k, False: 4.77M]
  ------------------
 1059|  28.5k|            formatters_.push_back(details::make_unique<details::t_formatter<Padder>>(padding));
 1060|  28.5k|            break;
 1061|       |
 1062|  19.1k|        case ('v'):  // the message text
  ------------------
  |  Branch (1062:9): [True: 19.1k, False: 4.78M]
  ------------------
 1063|  19.1k|            formatters_.push_back(details::make_unique<details::v_formatter<Padder>>(padding));
 1064|  19.1k|            break;
 1065|       |
 1066|   193k|        case ('a'):  // weekday
  ------------------
  |  Branch (1066:9): [True: 193k, False: 4.61M]
  ------------------
 1067|   193k|            formatters_.push_back(details::make_unique<details::a_formatter<Padder>>(padding));
 1068|   193k|            need_localtime_ = true;
 1069|   193k|            break;
 1070|       |
 1071|  28.6k|        case ('A'):  // short weekday
  ------------------
  |  Branch (1071:9): [True: 28.6k, False: 4.77M]
  ------------------
 1072|  28.6k|            formatters_.push_back(details::make_unique<details::A_formatter<Padder>>(padding));
 1073|  28.6k|            need_localtime_ = true;
 1074|  28.6k|            break;
 1075|       |
 1076|   194k|        case ('b'):
  ------------------
  |  Branch (1076:9): [True: 194k, False: 4.61M]
  ------------------
 1077|   323k|        case ('h'):  // month
  ------------------
  |  Branch (1077:9): [True: 129k, False: 4.67M]
  ------------------
 1078|   323k|            formatters_.push_back(details::make_unique<details::b_formatter<Padder>>(padding));
 1079|   323k|            need_localtime_ = true;
 1080|   323k|            break;
 1081|       |
 1082|  65.0k|        case ('B'):  // short month
  ------------------
  |  Branch (1082:9): [True: 65.0k, False: 4.74M]
  ------------------
 1083|  65.0k|            formatters_.push_back(details::make_unique<details::B_formatter<Padder>>(padding));
 1084|  65.0k|            need_localtime_ = true;
 1085|  65.0k|            break;
 1086|       |
 1087|  32.0k|        case ('c'):  // datetime
  ------------------
  |  Branch (1087:9): [True: 32.0k, False: 4.77M]
  ------------------
 1088|  32.0k|            formatters_.push_back(details::make_unique<details::c_formatter<Padder>>(padding));
 1089|  32.0k|            need_localtime_ = true;
 1090|  32.0k|            break;
 1091|       |
 1092|  17.9k|        case ('C'):  // year 2 digits
  ------------------
  |  Branch (1092:9): [True: 17.9k, False: 4.78M]
  ------------------
 1093|  17.9k|            formatters_.push_back(details::make_unique<details::C_formatter<Padder>>(padding));
 1094|  17.9k|            need_localtime_ = true;
 1095|  17.9k|            break;
 1096|       |
 1097|  6.02k|        case ('Y'):  // year 4 digits
  ------------------
  |  Branch (1097:9): [True: 6.02k, False: 4.79M]
  ------------------
 1098|  6.02k|            formatters_.push_back(details::make_unique<details::Y_formatter<Padder>>(padding));
 1099|  6.02k|            need_localtime_ = true;
 1100|  6.02k|            break;
 1101|       |
 1102|  5.02k|        case ('D'):
  ------------------
  |  Branch (1102:9): [True: 5.02k, False: 4.80M]
  ------------------
 1103|  50.0k|        case ('x'):  // datetime MM/DD/YY
  ------------------
  |  Branch (1103:9): [True: 44.9k, False: 4.76M]
  ------------------
 1104|  50.0k|            formatters_.push_back(details::make_unique<details::D_formatter<Padder>>(padding));
 1105|  50.0k|            need_localtime_ = true;
 1106|  50.0k|            break;
 1107|       |
 1108|  20.7k|        case ('m'):  // month 1-12
  ------------------
  |  Branch (1108:9): [True: 20.7k, False: 4.78M]
  ------------------
 1109|  20.7k|            formatters_.push_back(details::make_unique<details::m_formatter<Padder>>(padding));
 1110|  20.7k|            need_localtime_ = true;
 1111|  20.7k|            break;
 1112|       |
 1113|  22.3k|        case ('d'):  // day of month 1-31
  ------------------
  |  Branch (1113:9): [True: 22.3k, False: 4.78M]
  ------------------
 1114|  22.3k|            formatters_.push_back(details::make_unique<details::d_formatter<Padder>>(padding));
 1115|  22.3k|            need_localtime_ = true;
 1116|  22.3k|            break;
 1117|       |
 1118|  33.1k|        case ('H'):  // hours 24
  ------------------
  |  Branch (1118:9): [True: 33.1k, False: 4.77M]
  ------------------
 1119|  33.1k|            formatters_.push_back(details::make_unique<details::H_formatter<Padder>>(padding));
 1120|  33.1k|            need_localtime_ = true;
 1121|  33.1k|            break;
 1122|       |
 1123|  54.9k|        case ('I'):  // hours 12
  ------------------
  |  Branch (1123:9): [True: 54.9k, False: 4.75M]
  ------------------
 1124|  54.9k|            formatters_.push_back(details::make_unique<details::I_formatter<Padder>>(padding));
 1125|  54.9k|            need_localtime_ = true;
 1126|  54.9k|            break;
 1127|       |
 1128|  43.9k|        case ('M'):  // minutes
  ------------------
  |  Branch (1128:9): [True: 43.9k, False: 4.76M]
  ------------------
 1129|  43.9k|            formatters_.push_back(details::make_unique<details::M_formatter<Padder>>(padding));
 1130|  43.9k|            need_localtime_ = true;
 1131|  43.9k|            break;
 1132|       |
 1133|  37.3k|        case ('S'):  // seconds
  ------------------
  |  Branch (1133:9): [True: 37.3k, False: 4.76M]
  ------------------
 1134|  37.3k|            formatters_.push_back(details::make_unique<details::S_formatter<Padder>>(padding));
 1135|  37.3k|            need_localtime_ = true;
 1136|  37.3k|            break;
 1137|       |
 1138|  72.1k|        case ('e'):  // milliseconds
  ------------------
  |  Branch (1138:9): [True: 72.1k, False: 4.73M]
  ------------------
 1139|  72.1k|            formatters_.push_back(details::make_unique<details::e_formatter<Padder>>(padding));
 1140|  72.1k|            break;
 1141|       |
 1142|  24.3k|        case ('f'):  // microseconds
  ------------------
  |  Branch (1142:9): [True: 24.3k, False: 4.78M]
  ------------------
 1143|  24.3k|            formatters_.push_back(details::make_unique<details::f_formatter<Padder>>(padding));
 1144|  24.3k|            break;
 1145|       |
 1146|   135k|        case ('F'):  // nanoseconds
  ------------------
  |  Branch (1146:9): [True: 135k, False: 4.66M]
  ------------------
 1147|   135k|            formatters_.push_back(details::make_unique<details::F_formatter<Padder>>(padding));
 1148|   135k|            break;
 1149|       |
 1150|  46.2k|        case ('E'):  // seconds since epoch
  ------------------
  |  Branch (1150:9): [True: 46.2k, False: 4.75M]
  ------------------
 1151|  46.2k|            formatters_.push_back(details::make_unique<details::E_formatter<Padder>>(padding));
 1152|  46.2k|            break;
 1153|       |
 1154|  11.2k|        case ('p'):  // am/pm
  ------------------
  |  Branch (1154:9): [True: 11.2k, False: 4.79M]
  ------------------
 1155|  11.2k|            formatters_.push_back(details::make_unique<details::p_formatter<Padder>>(padding));
 1156|  11.2k|            need_localtime_ = true;
 1157|  11.2k|            break;
 1158|       |
 1159|  14.1k|        case ('r'):  // 12 hour clock 02:55:02 pm
  ------------------
  |  Branch (1159:9): [True: 14.1k, False: 4.79M]
  ------------------
 1160|  14.1k|            formatters_.push_back(details::make_unique<details::r_formatter<Padder>>(padding));
 1161|  14.1k|            need_localtime_ = true;
 1162|  14.1k|            break;
 1163|       |
 1164|  49.6k|        case ('R'):  // 24-hour HH:MM time
  ------------------
  |  Branch (1164:9): [True: 49.6k, False: 4.75M]
  ------------------
 1165|  49.6k|            formatters_.push_back(details::make_unique<details::R_formatter<Padder>>(padding));
 1166|  49.6k|            need_localtime_ = true;
 1167|  49.6k|            break;
 1168|       |
 1169|  41.3k|        case ('T'):
  ------------------
  |  Branch (1169:9): [True: 41.3k, False: 4.76M]
  ------------------
 1170|  51.8k|        case ('X'):  // ISO 8601 time format (HH:MM:SS)
  ------------------
  |  Branch (1170:9): [True: 10.4k, False: 4.79M]
  ------------------
 1171|  51.8k|            formatters_.push_back(details::make_unique<details::T_formatter<Padder>>(padding));
 1172|  51.8k|            need_localtime_ = true;
 1173|  51.8k|            break;
 1174|  56.5k|        case ('z'):  // timezone
  ------------------
  |  Branch (1174:9): [True: 56.5k, False: 4.74M]
  ------------------
 1175|  56.5k|            formatters_.push_back(
 1176|  56.5k|                details::make_unique<details::z_formatter<Padder>>(padding, pattern_time_type_));
 1177|  56.5k|            need_localtime_ = true;
 1178|  56.5k|            break;
 1179|  75.7k|        case ('P'):  // pid
  ------------------
  |  Branch (1179:9): [True: 75.7k, False: 4.72M]
  ------------------
 1180|  75.7k|            formatters_.push_back(details::make_unique<details::pid_formatter<Padder>>(padding));
 1181|  75.7k|            break;
 1182|       |
 1183|  9.12k|        case ('^'):  // color range start
  ------------------
  |  Branch (1183:9): [True: 9.12k, False: 4.79M]
  ------------------
 1184|  9.12k|            formatters_.push_back(details::make_unique<details::color_start_formatter>(padding));
 1185|  9.12k|            break;
 1186|       |
 1187|  9.03k|        case ('$'):  // color range end
  ------------------
  |  Branch (1187:9): [True: 9.03k, False: 4.79M]
  ------------------
 1188|  9.03k|            formatters_.push_back(details::make_unique<details::color_stop_formatter>(padding));
 1189|  9.03k|            break;
 1190|       |
 1191|  2.33k|        case ('@'):  // source location (filename:filenumber)
  ------------------
  |  Branch (1191:9): [True: 2.33k, False: 4.80M]
  ------------------
 1192|  2.33k|            formatters_.push_back(
 1193|  2.33k|                details::make_unique<details::source_location_formatter<Padder>>(padding));
 1194|  2.33k|            break;
 1195|       |
 1196|  1.78k|        case ('s'):  // short source filename - without directory name
  ------------------
  |  Branch (1196:9): [True: 1.78k, False: 4.80M]
  ------------------
 1197|  1.78k|            formatters_.push_back(
 1198|  1.78k|                details::make_unique<details::short_filename_formatter<Padder>>(padding));
 1199|  1.78k|            break;
 1200|       |
 1201|  4.33k|        case ('g'):  // full source filename
  ------------------
  |  Branch (1201:9): [True: 4.33k, False: 4.80M]
  ------------------
 1202|  4.33k|            formatters_.push_back(
 1203|  4.33k|                details::make_unique<details::source_filename_formatter<Padder>>(padding));
 1204|  4.33k|            break;
 1205|       |
 1206|  7.26k|        case ('#'):  // source line number
  ------------------
  |  Branch (1206:9): [True: 7.26k, False: 4.79M]
  ------------------
 1207|  7.26k|            formatters_.push_back(
 1208|  7.26k|                details::make_unique<details::source_linenum_formatter<Padder>>(padding));
 1209|  7.26k|            break;
 1210|       |
 1211|  4.76k|        case ('!'):  // source funcname
  ------------------
  |  Branch (1211:9): [True: 4.76k, False: 4.80M]
  ------------------
 1212|  4.76k|            formatters_.push_back(
 1213|  4.76k|                details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1214|  4.76k|            break;
 1215|       |
 1216|   552k|        case ('%'):  // % char
  ------------------
  |  Branch (1216:9): [True: 552k, False: 4.25M]
  ------------------
 1217|   552k|            formatters_.push_back(details::make_unique<details::ch_formatter>('%'));
 1218|   552k|            break;
 1219|       |
 1220|  24.2k|        case ('u'):  // elapsed time since last log message in nanos
  ------------------
  |  Branch (1220:9): [True: 24.2k, False: 4.78M]
  ------------------
 1221|  24.2k|            formatters_.push_back(
 1222|  24.2k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::nanoseconds>>(
 1223|  24.2k|                    padding));
 1224|  24.2k|            break;
 1225|       |
 1226|  57.6k|        case ('i'):  // elapsed time since last log message in micros
  ------------------
  |  Branch (1226:9): [True: 57.6k, False: 4.74M]
  ------------------
 1227|  57.6k|            formatters_.push_back(
 1228|  57.6k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::microseconds>>(
 1229|  57.6k|                    padding));
 1230|  57.6k|            break;
 1231|       |
 1232|  2.38k|        case ('o'):  // elapsed time since last log message in millis
  ------------------
  |  Branch (1232:9): [True: 2.38k, False: 4.80M]
  ------------------
 1233|  2.38k|            formatters_.push_back(
 1234|  2.38k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::milliseconds>>(
 1235|  2.38k|                    padding));
 1236|  2.38k|            break;
 1237|       |
 1238|   193k|        case ('O'):  // elapsed time since last log message in seconds
  ------------------
  |  Branch (1238:9): [True: 193k, False: 4.61M]
  ------------------
 1239|   193k|            formatters_.push_back(
 1240|   193k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::seconds>>(
 1241|   193k|                    padding));
 1242|   193k|            break;
 1243|       |
 1244|      0|#ifndef SPDLOG_NO_TLS  // mdc formatter requires TLS support
 1245|  1.53M|        case ('&'):
  ------------------
  |  Branch (1245:9): [True: 1.53M, False: 3.26M]
  ------------------
 1246|  1.53M|            formatters_.push_back(details::make_unique<details::mdc_formatter<Padder>>(padding));
 1247|  1.53M|            break;
 1248|      0|#endif
 1249|       |
 1250|   318k|        default:  // Unknown flag appears as is
  ------------------
  |  Branch (1250:9): [True: 318k, False: 4.48M]
  ------------------
 1251|   318k|            auto unknown_flag = details::make_unique<details::aggregate_formatter>();
 1252|       |
 1253|   318k|            if (!padding.truncate_) {
  ------------------
  |  Branch (1253:17): [True: 318k, False: 0]
  ------------------
 1254|   318k|                unknown_flag->add_ch('%');
 1255|   318k|                unknown_flag->add_ch(flag);
 1256|   318k|                formatters_.push_back((std::move(unknown_flag)));
 1257|   318k|            }
 1258|       |            // fix issue #1617 (prev char was '!' and should have been treated as funcname flag
 1259|       |            // instead of truncating flag) spdlog::set_pattern("[%10!] %v") => "[      main] some
 1260|       |            // message" spdlog::set_pattern("[%3!!] %v") => "[mai] some message"
 1261|      0|            else {
 1262|      0|                padding.truncate_ = false;
 1263|      0|                formatters_.push_back(
 1264|      0|                    details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1265|      0|                unknown_flag->add_ch(flag);
 1266|      0|                formatters_.push_back((std::move(unknown_flag)));
 1267|      0|            }
 1268|       |
 1269|   318k|            break;
 1270|  4.80M|    }
 1271|  4.80M|}
_ZN6spdlog7details14name_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  107|  58.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details14name_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  109|  19.5k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  110|  19.5k|        ScopedPadder p(msg.logger_name.size(), padinfo_, dest);
  111|  19.5k|        fmt_helper::append_string_view(msg.logger_name, dest);
  112|  19.5k|    }
_ZN6spdlog7details15level_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  120|  95.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details15level_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  122|  31.6k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  123|  31.6k|        const string_view_t &level_name = level::to_string_view(msg.level);
  124|  31.6k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  125|  31.6k|        fmt_helper::append_string_view(level_name, dest);
  126|  31.6k|    }
_ZN6spdlog7details21short_level_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  134|  64.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details21short_level_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  136|  21.3k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  137|  21.3k|        string_view_t level_name{level::to_short_c_str(msg.level)};
  138|  21.3k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  139|  21.3k|        fmt_helper::append_string_view(level_name, dest);
  140|  21.3k|    }
_ZN6spdlog7details11t_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  575|  28.5k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11t_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  577|  9.52k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  578|  9.52k|        const auto field_size = ScopedPadder::count_digits(msg.thread_id);
  579|  9.52k|        ScopedPadder p(field_size, padinfo_, dest);
  580|  9.52k|        fmt_helper::append_int(msg.thread_id, dest);
  581|  9.52k|    }
_ZN6spdlog7details18null_scoped_padder12count_digitsImEEjT_:
   98|   102k|    static unsigned int count_digits(T /* number */) {
   99|   102k|        return 0;
  100|   102k|    }
_ZN6spdlog7details11v_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  603|  19.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11v_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  605|  6.39k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  606|  6.39k|        ScopedPadder p(msg.payload.size(), padinfo_, dest);
  607|  6.39k|        fmt_helper::append_string_view(msg.payload, dest);
  608|  6.39k|    }
_ZN6spdlog7details11a_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  158|   193k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11a_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  160|  64.4k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  161|  64.4k|        string_view_t field_value{days[static_cast<size_t>(tm_time.tm_wday)]};
  162|  64.4k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  163|  64.4k|        fmt_helper::append_string_view(field_value, dest);
  164|  64.4k|    }
_ZN6spdlog7details11A_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  175|  28.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11A_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  177|  9.45k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  178|  9.45k|        string_view_t field_value{full_days[static_cast<size_t>(tm_time.tm_wday)]};
  179|  9.45k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  180|  9.45k|        fmt_helper::append_string_view(field_value, dest);
  181|  9.45k|    }
_ZN6spdlog7details11b_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  192|   323k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11b_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  194|   107k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  195|   107k|        string_view_t field_value{months[static_cast<size_t>(tm_time.tm_mon)]};
  196|   107k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  197|   107k|        fmt_helper::append_string_view(field_value, dest);
  198|   107k|    }
_ZN6spdlog7details11B_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  210|  65.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11B_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  212|  21.6k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  213|  21.6k|        string_view_t field_value{full_months[static_cast<size_t>(tm_time.tm_mon)]};
  214|  21.6k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  215|  21.6k|        fmt_helper::append_string_view(field_value, dest);
  216|  21.6k|    }
_ZN6spdlog7details11c_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  224|  32.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11c_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  226|  10.4k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  227|  10.4k|        const size_t field_size = 18 + ScopedPadder::count_digits(tm_time.tm_mday) +
  228|  10.4k|                                  ScopedPadder::count_digits(tm_time.tm_year + 1900);
  229|  10.4k|        ScopedPadder p(field_size, padinfo_, dest);
  230|       |
  231|  10.4k|        fmt_helper::append_string_view(days[static_cast<size_t>(tm_time.tm_wday)], dest);
  232|  10.4k|        dest.push_back(' ');
  233|  10.4k|        fmt_helper::append_string_view(months[static_cast<size_t>(tm_time.tm_mon)], dest);
  234|  10.4k|        dest.push_back(' ');
  235|  10.4k|        fmt_helper::append_int(tm_time.tm_mday, dest);
  236|  10.4k|        dest.push_back(' ');
  237|       |        // time
  238|       |
  239|  10.4k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  240|  10.4k|        dest.push_back(':');
  241|  10.4k|        fmt_helper::pad2(tm_time.tm_min, dest);
  242|  10.4k|        dest.push_back(':');
  243|  10.4k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  244|  10.4k|        dest.push_back(' ');
  245|  10.4k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  246|  10.4k|    }
_ZN6spdlog7details18null_scoped_padder12count_digitsIiEEjT_:
   98|  20.8k|    static unsigned int count_digits(T /* number */) {
   99|  20.8k|        return 0;
  100|  20.8k|    }
_ZN6spdlog7details11C_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  254|  17.9k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11C_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  256|  5.97k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  257|  5.97k|        const size_t field_size = 2;
  258|  5.97k|        ScopedPadder p(field_size, padinfo_, dest);
  259|  5.97k|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  260|  5.97k|    }
_ZN6spdlog7details11Y_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  287|  6.02k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11Y_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  289|  1.99k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  290|  1.99k|        const size_t field_size = 4;
  291|  1.99k|        ScopedPadder p(field_size, padinfo_, dest);
  292|  1.99k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  293|  1.99k|    }
_ZN6spdlog7details11D_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  268|  50.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11D_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  270|  16.6k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  271|  16.6k|        const size_t field_size = 8;
  272|  16.6k|        ScopedPadder p(field_size, padinfo_, dest);
  273|       |
  274|  16.6k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  275|  16.6k|        dest.push_back('/');
  276|  16.6k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  277|  16.6k|        dest.push_back('/');
  278|  16.6k|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  279|  16.6k|    }
_ZN6spdlog7details11m_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  301|  20.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11m_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  303|  6.91k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  304|  6.91k|        const size_t field_size = 2;
  305|  6.91k|        ScopedPadder p(field_size, padinfo_, dest);
  306|  6.91k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  307|  6.91k|    }
_ZN6spdlog7details11d_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  315|  22.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11d_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  317|  7.39k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  318|  7.39k|        const size_t field_size = 2;
  319|  7.39k|        ScopedPadder p(field_size, padinfo_, dest);
  320|  7.39k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  321|  7.39k|    }
_ZN6spdlog7details11H_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  329|  33.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11H_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  331|  11.0k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  332|  11.0k|        const size_t field_size = 2;
  333|  11.0k|        ScopedPadder p(field_size, padinfo_, dest);
  334|  11.0k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  335|  11.0k|    }
_ZN6spdlog7details11I_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  343|  54.9k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11I_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  345|  18.2k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  346|  18.2k|        const size_t field_size = 2;
  347|  18.2k|        ScopedPadder p(field_size, padinfo_, dest);
  348|  18.2k|        fmt_helper::pad2(to12h(tm_time), dest);
  349|  18.2k|    }
_ZN6spdlog7details11M_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  357|  43.9k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11M_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  359|  14.6k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  360|  14.6k|        const size_t field_size = 2;
  361|  14.6k|        ScopedPadder p(field_size, padinfo_, dest);
  362|  14.6k|        fmt_helper::pad2(tm_time.tm_min, dest);
  363|  14.6k|    }
_ZN6spdlog7details11S_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  371|  37.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11S_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  373|  12.4k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  374|  12.4k|        const size_t field_size = 2;
  375|  12.4k|        ScopedPadder p(field_size, padinfo_, dest);
  376|  12.4k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  377|  12.4k|    }
_ZN6spdlog7details11e_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  385|  72.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11e_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  387|  24.0k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  388|  24.0k|        auto millis = fmt_helper::time_fraction<std::chrono::milliseconds>(msg.time);
  389|  24.0k|        const size_t field_size = 3;
  390|  24.0k|        ScopedPadder p(field_size, padinfo_, dest);
  391|  24.0k|        fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
  392|  24.0k|    }
_ZN6spdlog7details11f_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  400|  24.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11f_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  402|  8.09k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  403|  8.09k|        auto micros = fmt_helper::time_fraction<std::chrono::microseconds>(msg.time);
  404|       |
  405|  8.09k|        const size_t field_size = 6;
  406|  8.09k|        ScopedPadder p(field_size, padinfo_, dest);
  407|  8.09k|        fmt_helper::pad6(static_cast<size_t>(micros.count()), dest);
  408|  8.09k|    }
_ZN6spdlog7details11F_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  416|   135k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11F_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  418|  45.2k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  419|  45.2k|        auto ns = fmt_helper::time_fraction<std::chrono::nanoseconds>(msg.time);
  420|  45.2k|        const size_t field_size = 9;
  421|  45.2k|        ScopedPadder p(field_size, padinfo_, dest);
  422|  45.2k|        fmt_helper::pad9(static_cast<size_t>(ns.count()), dest);
  423|  45.2k|    }
_ZN6spdlog7details11E_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  431|  46.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11E_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  433|  15.4k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  434|  15.4k|        auto duration = msg.time.time_since_epoch();
  435|  15.4k|        auto seconds = std::chrono::duration_cast<std::chrono::seconds>(duration).count();
  436|  15.4k|        const auto field_size = ScopedPadder::count_digits(seconds);
  437|  15.4k|        ScopedPadder p(field_size, padinfo_, dest);
  438|  15.4k|        fmt_helper::append_int(seconds, dest);
  439|  15.4k|    }
_ZN6spdlog7details18null_scoped_padder12count_digitsIxEEjT_:
   98|  15.4k|    static unsigned int count_digits(T /* number */) {
   99|  15.4k|        return 0;
  100|  15.4k|    }
_ZN6spdlog7details11p_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  447|  11.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11p_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  449|  3.70k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  450|  3.70k|        const size_t field_size = 2;
  451|  3.70k|        ScopedPadder p(field_size, padinfo_, dest);
  452|  3.70k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  453|  3.70k|    }
_ZN6spdlog7details11r_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  461|  14.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11r_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  463|  4.54k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  464|  4.54k|        const size_t field_size = 11;
  465|  4.54k|        ScopedPadder p(field_size, padinfo_, dest);
  466|       |
  467|  4.54k|        fmt_helper::pad2(to12h(tm_time), dest);
  468|  4.54k|        dest.push_back(':');
  469|  4.54k|        fmt_helper::pad2(tm_time.tm_min, dest);
  470|  4.54k|        dest.push_back(':');
  471|  4.54k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  472|  4.54k|        dest.push_back(' ');
  473|  4.54k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  474|  4.54k|    }
_ZN6spdlog7details11R_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  482|  49.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11R_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  484|  16.5k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  485|  16.5k|        const size_t field_size = 5;
  486|  16.5k|        ScopedPadder p(field_size, padinfo_, dest);
  487|       |
  488|  16.5k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  489|  16.5k|        dest.push_back(':');
  490|  16.5k|        fmt_helper::pad2(tm_time.tm_min, dest);
  491|  16.5k|    }
_ZN6spdlog7details11T_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  499|  51.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11T_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  501|  17.2k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  502|  17.2k|        const size_t field_size = 8;
  503|  17.2k|        ScopedPadder p(field_size, padinfo_, dest);
  504|       |
  505|  17.2k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  506|  17.2k|        dest.push_back(':');
  507|  17.2k|        fmt_helper::pad2(tm_time.tm_min, dest);
  508|  17.2k|        dest.push_back(':');
  509|  17.2k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  510|  17.2k|    }
_ZN6spdlog7details11z_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoENS_17pattern_time_typeE:
  519|  56.5k|        : flag_formatter(padinfo),
  520|  56.5k|          time_type_(time_type) {}
_ZN6spdlog7details11z_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  526|  18.8k|    void format(const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override {
  527|  18.8k|        const size_t field_size = 6;
  528|  18.8k|        ScopedPadder p(field_size, padinfo_, dest);
  529|       |#ifdef SPDLOG_NO_TZ_OFFSET
  530|       |        (void)msg;
  531|       |        (void)tm_time;
  532|       |        const char *str = "+??:??";
  533|       |        dest.append(str, str + 6);
  534|       |#else
  535|  18.8k|        if (time_type_ == pattern_time_type::utc) {
  ------------------
  |  Branch (535:13): [True: 0, False: 18.8k]
  ------------------
  536|      0|            const char *zeroes = "+00:00";
  537|      0|            dest.append(zeroes, zeroes + 6);
  538|      0|            return;
  539|      0|        }
  540|  18.8k|        auto total_minutes = get_cached_offset(msg, tm_time);
  541|  18.8k|        bool is_negative = total_minutes < 0;
  542|  18.8k|        if (is_negative) {
  ------------------
  |  Branch (542:13): [True: 0, False: 18.8k]
  ------------------
  543|      0|            total_minutes = -total_minutes;
  544|      0|            dest.push_back('-');
  545|  18.8k|        } else {
  546|  18.8k|            dest.push_back('+');
  547|  18.8k|        }
  548|       |
  549|  18.8k|        fmt_helper::pad2(total_minutes / 60, dest);  // hours
  550|  18.8k|        dest.push_back(':');
  551|  18.8k|        fmt_helper::pad2(total_minutes % 60, dest);  // minutes
  552|  18.8k|#endif  // SPDLOG_NO_TZ_OFFSET
  553|  18.8k|    }
_ZN6spdlog7details11z_formatterINS0_18null_scoped_padderEE17get_cached_offsetERKNS0_7log_msgERK2tm:
  560|  18.8k|    int get_cached_offset(const log_msg &msg, const std::tm &tm_time) {
  561|       |        // refresh every 10 seconds
  562|  18.8k|        if (msg.time - last_update_ >= std::chrono::seconds(10)) {
  ------------------
  |  Branch (562:13): [True: 18.8k, False: 0]
  ------------------
  563|  18.8k|            offset_minutes_ = os::utc_minutes_offset(tm_time);
  564|  18.8k|            last_update_ = msg.time;
  565|  18.8k|        }
  566|  18.8k|        return offset_minutes_;
  567|  18.8k|    }
_ZN6spdlog7details13pid_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  589|  75.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13pid_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  591|  25.2k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  592|  25.2k|        const auto pid = static_cast<uint32_t>(details::os::pid());
  593|  25.2k|        auto field_size = ScopedPadder::count_digits(pid);
  594|  25.2k|        ScopedPadder p(field_size, padinfo_, dest);
  595|  25.2k|        fmt_helper::append_int(pid, dest);
  596|  25.2k|    }
_ZN6spdlog7details18null_scoped_padder12count_digitsIjEEjT_:
   98|  25.2k|    static unsigned int count_digits(T /* number */) {
   99|  25.2k|        return 0;
  100|  25.2k|    }
_ZN6spdlog7details25source_location_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  664|  2.33k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_location_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  666|    775|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  667|    775|        if (msg.source.empty()) {
  ------------------
  |  Branch (667:13): [True: 775, False: 0]
  ------------------
  668|    775|            ScopedPadder p(0, padinfo_, dest);
  669|    775|            return;
  670|    775|        }
  671|       |
  672|      0|        size_t text_size;
  673|      0|        if (padinfo_.enabled()) {
  ------------------
  |  Branch (673:13): [True: 0, False: 0]
  ------------------
  674|       |            // calc text size for padding based on "filename:line"
  675|      0|            text_size = std::char_traits<char>::length(msg.source.filename) +
  676|      0|                        ScopedPadder::count_digits(msg.source.line) + 1;
  677|      0|        } else {
  678|      0|            text_size = 0;
  679|      0|        }
  680|       |
  681|      0|        ScopedPadder p(text_size, padinfo_, dest);
  682|      0|        fmt_helper::append_string_view(msg.source.filename, dest);
  683|      0|        dest.push_back(':');
  684|      0|        fmt_helper::append_int(msg.source.line, dest);
  685|      0|    }
_ZN6spdlog7details24short_filename_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  711|  1.78k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24short_filename_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  736|    594|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  737|    594|        if (msg.source.empty()) {
  ------------------
  |  Branch (737:13): [True: 594, False: 0]
  ------------------
  738|    594|            ScopedPadder p(0, padinfo_, dest);
  739|    594|            return;
  740|    594|        }
  741|      0|        auto filename = basename(msg.source.filename);
  742|      0|        size_t text_size = padinfo_.enabled() ? std::char_traits<char>::length(filename) : 0;
  ------------------
  |  Branch (742:28): [True: 0, False: 0]
  ------------------
  743|      0|        ScopedPadder p(text_size, padinfo_, dest);
  744|      0|        fmt_helper::append_string_view(filename, dest);
  745|      0|    }
_ZN6spdlog7details25source_filename_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  693|  4.33k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_filename_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  695|  1.43k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  696|  1.43k|        if (msg.source.empty()) {
  ------------------
  |  Branch (696:13): [True: 1.43k, False: 0]
  ------------------
  697|  1.43k|            ScopedPadder p(0, padinfo_, dest);
  698|  1.43k|            return;
  699|  1.43k|        }
  700|      0|        size_t text_size =
  701|      0|            padinfo_.enabled() ? std::char_traits<char>::length(msg.source.filename) : 0;
  ------------------
  |  Branch (701:13): [True: 0, False: 0]
  ------------------
  702|      0|        ScopedPadder p(text_size, padinfo_, dest);
  703|      0|        fmt_helper::append_string_view(msg.source.filename, dest);
  704|      0|    }
_ZN6spdlog7details24source_linenum_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  752|  7.26k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24source_linenum_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  754|  2.41k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  755|  2.41k|        if (msg.source.empty()) {
  ------------------
  |  Branch (755:13): [True: 2.41k, False: 0]
  ------------------
  756|  2.41k|            ScopedPadder p(0, padinfo_, dest);
  757|  2.41k|            return;
  758|  2.41k|        }
  759|       |
  760|      0|        auto field_size = ScopedPadder::count_digits(msg.source.line);
  761|      0|        ScopedPadder p(field_size, padinfo_, dest);
  762|      0|        fmt_helper::append_int(msg.source.line, dest);
  763|      0|    }
_ZN6spdlog7details25source_funcname_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  771|  4.76k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_funcname_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  773|  1.58k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  774|  1.58k|        if (msg.source.empty()) {
  ------------------
  |  Branch (774:13): [True: 1.58k, False: 0]
  ------------------
  775|  1.58k|            ScopedPadder p(0, padinfo_, dest);
  776|  1.58k|            return;
  777|  1.58k|        }
  778|      0|        size_t text_size =
  779|      0|            padinfo_.enabled() ? std::char_traits<char>::length(msg.source.funcname) : 0;
  ------------------
  |  Branch (779:13): [True: 0, False: 0]
  ------------------
  780|      0|        ScopedPadder p(text_size, padinfo_, dest);
  781|      0|        fmt_helper::append_string_view(msg.source.funcname, dest);
  782|      0|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEEC2ENS0_12padding_infoE:
  792|  24.2k|        : flag_formatter(padinfo),
  793|  24.2k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|  7.95k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|  7.95k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|  7.95k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|  7.95k|        last_message_time_ = msg.time;
  799|  7.95k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|  7.95k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|  7.95k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|  7.95k|        fmt_helper::append_int(delta_count, dest);
  803|  7.95k|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEEC2ENS0_12padding_infoE:
  792|  57.6k|        : flag_formatter(padinfo),
  793|  57.6k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|  19.2k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|  19.2k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|  19.2k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|  19.2k|        last_message_time_ = msg.time;
  799|  19.2k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|  19.2k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|  19.2k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|  19.2k|        fmt_helper::append_int(delta_count, dest);
  803|  19.2k|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEC2ENS0_12padding_infoE:
  792|  2.38k|        : flag_formatter(padinfo),
  793|  2.38k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|    793|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|    793|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|    793|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|    793|        last_message_time_ = msg.time;
  799|    793|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|    793|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|    793|        ScopedPadder p(n_digits, padinfo_, dest);
  802|    793|        fmt_helper::append_int(delta_count, dest);
  803|    793|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEEC2ENS0_12padding_infoE:
  792|   193k|        : flag_formatter(padinfo),
  793|   193k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|  64.5k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|  64.5k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|  64.5k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|  64.5k|        last_message_time_ = msg.time;
  799|  64.5k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|  64.5k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|  64.5k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|  64.5k|        fmt_helper::append_int(delta_count, dest);
  803|  64.5k|    }
_ZN6spdlog7details19aggregate_formatterC2Ev:
  627|  2.03M|    aggregate_formatter() = default;
_ZN6spdlog7details19aggregate_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  630|   676k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  631|   676k|        fmt_helper::append_string_view(str_, dest);
  632|   676k|    }
_ZN6spdlog7details19aggregate_formatter6add_chEc:
  629|  60.7M|    void add_ch(char ch) { str_ += ch; }
_ZN6spdlog17pattern_formatter11set_patternENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1012|    527|SPDLOG_INLINE void pattern_formatter::set_pattern(std::string pattern) {
 1013|    527|    pattern_ = std::move(pattern);
 1014|    527|    need_localtime_ = false;
 1015|    527|    compile_pattern_(pattern_);
 1016|    527|}
_ZN6spdlog17pattern_formatter6formatERKNS_7details7log_msgERN3fmt3v1219basic_memory_bufferIcLm250ENS6_6detail9allocatorIcEEEE:
  995|    343|SPDLOG_INLINE void pattern_formatter::format(const details::log_msg &msg, memory_buf_t &dest) {
  996|    343|    if (need_localtime_) {
  ------------------
  |  Branch (996:9): [True: 273, False: 70]
  ------------------
  997|    273|        const auto secs =
  998|    273|            std::chrono::duration_cast<std::chrono::seconds>(msg.time.time_since_epoch());
  999|    273|        if (secs != last_log_secs_ || cached_tm_.tm_mday == 0) {
  ------------------
  |  Branch (999:13): [True: 273, False: 0]
  |  Branch (999:39): [True: 0, False: 0]
  ------------------
 1000|    273|            cached_tm_ = get_time_(msg);
 1001|    273|            last_log_secs_ = secs;
 1002|    273|        }
 1003|    273|    }
 1004|       |
 1005|  2.70M|    for (auto &f : formatters_) {
  ------------------
  |  Branch (1005:18): [True: 2.70M, False: 343]
  ------------------
 1006|  2.70M|        f->format(msg, cached_tm_, dest);
 1007|  2.70M|    }
 1008|       |    // write eol
 1009|    343|    details::fmt_helper::append_string_view(eol_, dest);
 1010|    343|}
_ZNK6spdlog17pattern_formatter9get_time_ERKNS_7details7log_msgE:
 1020|    273|SPDLOG_INLINE std::tm pattern_formatter::get_time_(const details::log_msg &msg) const {
 1021|    273|    if (pattern_time_type_ == pattern_time_type::local) {
  ------------------
  |  Branch (1021:9): [True: 273, False: 0]
  ------------------
 1022|    273|        return details::os::localtime(log_clock::to_time_t(msg.time));
 1023|    273|    }
 1024|      0|    return details::os::gmtime(log_clock::to_time_t(msg.time));
 1025|    273|}

_ZN6spdlog7details14flag_formatterC2ENS0_12padding_infoE:
   43|  5.87M|        : padinfo_(padinfo) {}
_ZN6spdlog7details14flag_formatterD2Ev:
   45|  8.49M|    virtual ~flag_formatter() = default;
_ZN6spdlog7details12padding_infoC2Ev:
   26|  7.80M|    padding_info() = default;
_ZN6spdlog7details12padding_infoC2EmNS1_8pad_sideEb:
   28|  1.73M|        : width_(width),
   29|  1.73M|          side_(side),
   30|  1.73M|          truncate_(truncate),
   31|  1.73M|          enabled_(true) {}
_ZNK6spdlog7details12padding_info7enabledEv:
   33|  6.55M|    bool enabled() const { return enabled_; }
_ZN6spdlog21custom_flag_formatter16set_padding_infoERKNS_7details12padding_infoE:
   60|  16.0k|    void set_padding_info(const details::padding_info &padding) {
   61|  16.0k|        flag_formatter::padinfo_ = padding;
   62|  16.0k|    }
_ZN6spdlog7details14flag_formatterC2Ev:
   44|  2.62M|    flag_formatter() = default;
_ZN6spdlog17pattern_formatter8add_flagI17my_formatter_flagJEEERS0_cDpOT0_:
   85|    527|    pattern_formatter &add_flag(char flag, Args &&...args) {
   86|    527|        custom_handlers_[flag] = details::make_unique<T>(std::forward<Args>(args)...);
   87|    527|        return *this;
   88|    527|    }

_ZN6spdlog5sinks21ansicolor_stdout_sinkINS_7details13console_mutexEEC2ENS_10color_modeE:
  134|      1|    : ansicolor_sink<ConsoleMutex>(stdout, mode) {}
_ZN6spdlog5sinks14ansicolor_sinkINS_7details13console_mutexEEC2EP8_IO_FILENS_10color_modeE:
   18|      1|    : target_file_(target_file),
   19|      1|      mutex_(ConsoleMutex::mutex()),
   20|      1|      formatter_(details::make_unique<pattern_formatter>())
   21|       |
   22|      1|{
   23|      1|    set_color_mode_(mode);
   24|      1|    colors_.at(level::trace) = to_string_(white);
   25|      1|    colors_.at(level::debug) = to_string_(cyan);
   26|      1|    colors_.at(level::info) = to_string_(green);
   27|      1|    colors_.at(level::warn) = to_string_(yellow_bold);
   28|      1|    colors_.at(level::err) = to_string_(red_bold);
   29|      1|    colors_.at(level::critical) = to_string_(bold_on_red);
   30|      1|    colors_.at(level::off) = to_string_(reset);
   31|      1|}
_ZN6spdlog5sinks14ansicolor_sinkINS_7details13console_mutexEE15set_color_mode_ENS_10color_modeE:
   96|      1|SPDLOG_INLINE void ansicolor_sink<ConsoleMutex>::set_color_mode_(color_mode mode) {
   97|      1|    switch (mode) {
   98|      0|        case color_mode::always:
  ------------------
  |  Branch (98:9): [True: 0, False: 1]
  ------------------
   99|      0|            should_do_colors_ = true;
  100|      0|            return;
  101|      1|        case color_mode::automatic:
  ------------------
  |  Branch (101:9): [True: 1, False: 0]
  ------------------
  102|      1|            should_do_colors_ =
  103|      1|                details::os::in_terminal(target_file_) && details::os::is_color_terminal();
  ------------------
  |  Branch (103:17): [True: 0, False: 1]
  |  Branch (103:59): [True: 0, False: 0]
  ------------------
  104|      1|            return;
  105|      0|        case color_mode::never:
  ------------------
  |  Branch (105:9): [True: 0, False: 1]
  ------------------
  106|      0|            should_do_colors_ = false;
  107|      0|            return;
  108|      0|        default:
  ------------------
  |  Branch (108:9): [True: 0, False: 1]
  ------------------
  109|      0|            should_do_colors_ = false;
  110|      1|    }
  111|      1|}
_ZN6spdlog5sinks14ansicolor_sinkINS_7details13console_mutexEE10to_string_ERKN3fmt3v1217basic_string_viewIcEE:
  127|      7|SPDLOG_INLINE std::string ansicolor_sink<ConsoleMutex>::to_string_(const string_view_t &sv) {
  128|      7|    return std::string(sv.data(), sv.size());
  129|      7|}
_ZN6spdlog5sinks14ansicolor_sinkINS_7details13console_mutexEE13set_formatterENSt3__110unique_ptrINS_9formatterENS5_14default_deleteIS7_EEEE:
   79|    527|    std::unique_ptr<formatter> sink_formatter) {
   80|    527|    std::lock_guard<mutex_t> lock(mutex_);
   81|    527|    formatter_ = std::move(sink_formatter);
   82|    527|}

_ZN6spdlog5sinks14ansicolor_sinkINS_7details13console_mutexEED2Ev:
   29|      1|    ~ansicolor_sink() override = default;

_ZN6spdlog5sinks9base_sinkINSt3__15mutexEEC2Ev:
   20|      1|    : formatter_{details::make_unique<pattern_formatter>()} {}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE3logERKNS_7details7log_msgE:
   28|    343|void SPDLOG_INLINE sinks::base_sink<Mutex>::log(const details::log_msg &msg) {
   29|    343|    std::lock_guard<Mutex> lock(mutex_);
   30|    343|    sink_it_(msg);
   31|    343|}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE13set_formatterENS2_10unique_ptrINS_9formatterENS2_14default_deleteIS6_EEEE:
   47|    528|sinks::base_sink<Mutex>::set_formatter(std::unique_ptr<formatter> sink_formatter) {
   48|    528|    std::lock_guard<Mutex> lock(mutex_);
   49|    528|    set_formatter_(std::move(sink_formatter));
   50|    528|}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE14set_formatter_ENS2_10unique_ptrINS_9formatterENS2_14default_deleteIS6_EEEE:
   59|    528|sinks::base_sink<Mutex>::set_formatter_(std::unique_ptr<formatter> sink_formatter) {
   60|    528|    formatter_ = std::move(sink_formatter);
   61|    528|}

_ZN6spdlog5sinks9base_sinkINSt3__15mutexEED2Ev:
   23|      1|    ~base_sink() override = default;

_ZN6spdlog5sinks15basic_file_sinkINSt3__15mutexEEC2ERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbRKNS_19file_event_handlersEm:
   21|      1|    : file_helper_{event_handlers} {
   22|      1|    file_helper_.set_buffer_size(buffer_size);
   23|      1|    file_helper_.open(filename, truncate);
   24|      1|}
_ZN6spdlog5sinks15basic_file_sinkINSt3__15mutexEE8sink_it_ERKNS_7details7log_msgE:
   50|    343|SPDLOG_INLINE void basic_file_sink<Mutex>::sink_it_(const details::log_msg &msg) {
   51|    343|    memory_buf_t formatted;
   52|    343|    base_sink<Mutex>::formatter_->format(msg, formatted);
   53|    343|    file_helper_.write(formatted);
   54|    343|}

_ZN6spdlog15basic_logger_mtINS_19synchronous_factoryEEENSt3__110shared_ptrINS_6loggerEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEESD_bRKNS_19file_event_handlersEm:
   52|      1|                                               size_t buffer_size = 0) {
   53|      1|    return Factory::template create<sinks::basic_file_sink_mt>(logger_name, filename, truncate,
   54|      1|                                                               event_handlers, buffer_size);
   55|      1|}

_ZNK6spdlog5sinks4sink10should_logENS_5level10level_enumE:
   14|    343|SPDLOG_INLINE bool sinks::sink::should_log(level::level_enum msg_level) const {
   15|    343|    return msg_level >= level_.load(std::memory_order_relaxed);
   16|    343|}

_ZN6spdlog5sinks4sinkD2Ev:
   14|      2|    virtual ~sink() = default;

_ZN6spdlog18set_default_loggerENSt3__110shared_ptrINS_6loggerEEE:
   92|      1|SPDLOG_INLINE void set_default_logger(std::shared_ptr<logger> default_logger) {
   93|      1|    details::registry::instance().set_default_logger(std::move(default_logger));
   94|      1|}
_ZN6spdlog13set_formatterENSt3__110unique_ptrINS_9formatterENS0_14default_deleteIS2_EEEE:
   23|    527|SPDLOG_INLINE void set_formatter(std::unique_ptr<formatter> formatter) {
   24|    527|    details::registry::instance().set_formatter(std::move(formatter));
   25|    527|}
_ZN6spdlog18default_logger_rawEv:
   88|    527|SPDLOG_INLINE logger *default_logger_raw() {
   89|    527|    return details::registry::instance().get_default_raw();
   90|    527|}

_ZN6spdlog4infoIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  175|    527|inline void info(format_string_t<Args...> fmt, Args &&...args) {
  176|    527|    default_logger_raw()->info(fmt, std::forward<Args>(args)...);
  177|    527|}

