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

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

_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|  84.2k|    SPDLOG_CONSTEXPR bool empty() const SPDLOG_NOEXCEPT { return line <= 0; }
_ZN6spdlog7details23conditional_static_castIiiTnNSt3__19enable_ifIXsr3std7is_sameIT_T0_EE5valueEiE4typeELi0EEES4_S5_:
  367|  20.9k|constexpr T conditional_static_cast(U value) {
  368|  20.9k|    return value;
  369|  20.9k|}
_ZN6spdlog10source_locC2Ev:
  318|    608|    SPDLOG_CONSTEXPR source_loc() = default;

_ZNK6spdlog7details10backtracer7enabledEv:
   41|    608|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|    380|SPDLOG_INLINE void file_helper::write(const memory_buf_t &buf) {
  125|    380|    if (fd_ == nullptr) return;
  ------------------
  |  Branch (125:9): [True: 0, False: 380]
  ------------------
  126|    380|    size_t msg_size = buf.size();
  127|    380|    auto data = buf.data();
  128|       |
  129|    380|    if (!details::os::fwrite_bytes(data, msg_size, fd_)) {
  ------------------
  |  Branch (129:9): [True: 0, False: 380]
  ------------------
  130|       |        throw_spdlog_ex("Failed writing to file " + os::filename_to_str(filename_), errno);
  131|      0|    }
  132|    380|}

_ZN6spdlog7details10fmt_helper18append_string_viewEN3fmt3v1217basic_string_viewIcEERNS3_19basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   21|  1.36M|inline void append_string_view(string_view_t view, memory_buf_t &dest) {
   22|  1.36M|    auto *buf_ptr = view.data();
   23|  1.36M|    dest.append(buf_ptr, buf_ptr + view.size());
   24|  1.36M|}
_ZN6spdlog7details10fmt_helper10append_intIiEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|   121k|inline void append_int(T n, memory_buf_t &dest) {
   43|   121k|    fmt::format_int i(n);
   44|   121k|    dest.append(i.data(), i.data() + i.size());
   45|   121k|}
_ZN6spdlog7details10fmt_helper4pad2EiRN3fmt3v1219basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   84|   772k|inline void pad2(int n, memory_buf_t &dest) {
   85|   772k|    if (n >= 0 && n < 100)  // 0-99
  ------------------
  |  Branch (85:9): [True: 772k, False: 0]
  |  Branch (85:19): [True: 772k, False: 0]
  ------------------
   86|   772k|    {
   87|   772k|        dest.push_back(static_cast<char>('0' + n / 10));
   88|   772k|        dest.push_back(static_cast<char>('0' + n % 10));
   89|   772k|    } 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)
  |  |  ------------------
  |  |  |  | 4273|      0|#  define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4245|      0|    [] {                                                                     \
  |  |  |  |  |  | 4246|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  | 4247|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  | 4248|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  | 4249|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  | 4250|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  | 4251|      0|            const {                                                          \
  |  |  |  |  |  | 4252|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  | 4253|      0|        }                                                                    \
  |  |  |  |  |  | 4254|      0|      };                                                                     \
  |  |  |  |  |  | 4255|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  | 4256|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  | 4257|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  | 4258|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  | 4259|      0|    }()
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|      0|    }
   93|   772k|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEET_NS4_10time_pointINS4_12system_clockENS5_IxNS6_ILl1ELl1000000EEEEEEE:
  131|  97.0k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|  97.0k|    using std::chrono::duration_cast;
  133|  97.0k|    using std::chrono::seconds;
  134|  97.0k|    auto duration = tp.time_since_epoch();
  135|  97.0k|    auto secs = duration_cast<seconds>(duration);
  136|  97.0k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|  97.0k|}
_ZN6spdlog7details10fmt_helper4pad3IjEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  105|  97.0k|inline void pad3(T n, memory_buf_t &dest) {
  106|  97.0k|    static_assert(std::is_unsigned<T>::value, "pad3 must get unsigned T");
  107|  97.0k|    if (n < 1000) {
  ------------------
  |  Branch (107:9): [True: 97.0k, False: 0]
  ------------------
  108|  97.0k|        dest.push_back(static_cast<char>(n / 100 + '0'));
  109|  97.0k|        n = n % 100;
  110|  97.0k|        dest.push_back(static_cast<char>((n / 10) + '0'));
  111|  97.0k|        dest.push_back(static_cast<char>((n % 10) + '0'));
  112|  97.0k|    } else {
  113|      0|        append_int(n, dest);
  114|      0|    }
  115|  97.0k|}
_ZN6spdlog7details10fmt_helper10append_intIjEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|  20.9k|inline void append_int(T n, memory_buf_t &dest) {
   43|  20.9k|    fmt::format_int i(n);
   44|  20.9k|    dest.append(i.data(), i.data() + i.size());
   45|  20.9k|}
_ZN6spdlog7details10fmt_helper12count_digitsImEEjT_:
   66|   261k|inline unsigned int count_digits(T n) {
   67|   261k|    using count_type =
   68|   261k|        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|   261k|    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|   261k|                                         detail
   79|   261k|#endif
   80|   261k|                                     ::count_digits(static_cast<count_type>(n)));
   81|   261k|#endif
   82|   261k|}
_ZN6spdlog7details10fmt_helper10append_intImEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|   306k|inline void append_int(T n, memory_buf_t &dest) {
   43|   306k|    fmt::format_int i(n);
   44|   306k|    dest.append(i.data(), i.data() + i.size());
   45|   306k|}
_ZN6spdlog7details10fmt_helper12count_digitsIiEEjT_:
   66|  4.63k|inline unsigned int count_digits(T n) {
   67|  4.63k|    using count_type =
   68|  4.63k|        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|  4.63k|    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|  4.63k|                                         detail
   79|  4.63k|#endif
   80|  4.63k|                                     ::count_digits(static_cast<count_type>(n)));
   81|  4.63k|#endif
   82|  4.63k|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEEET_NS4_10time_pointINS4_12system_clockES8_EE:
  131|  8.56k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|  8.56k|    using std::chrono::duration_cast;
  133|  8.56k|    using std::chrono::seconds;
  134|  8.56k|    auto duration = tp.time_since_epoch();
  135|  8.56k|    auto secs = duration_cast<seconds>(duration);
  136|  8.56k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|  8.56k|}
_ZN6spdlog7details10fmt_helper4pad6ImEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  118|  8.56k|inline void pad6(T n, memory_buf_t &dest) {
  119|  8.56k|    pad_uint(n, 6, dest);
  120|  8.56k|}
_ZN6spdlog7details10fmt_helper8pad_uintImEEvT_jRN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   96|   149k|inline void pad_uint(T n, unsigned int width, memory_buf_t &dest) {
   97|   149k|    static_assert(std::is_unsigned<T>::value, "pad_uint must get unsigned T");
   98|   274k|    for (auto digits = count_digits(n); digits < width; digits++) {
  ------------------
  |  Branch (98:41): [True: 124k, False: 149k]
  ------------------
   99|   124k|        dest.push_back('0');
  100|   124k|    }
  101|   149k|    append_int(n, dest);
  102|   149k|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEEET_NS4_10time_pointINS4_12system_clockENS5_IxNS6_ILl1ELl1000000EEEEEEE:
  131|   140k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|   140k|    using std::chrono::duration_cast;
  133|   140k|    using std::chrono::seconds;
  134|   140k|    auto duration = tp.time_since_epoch();
  135|   140k|    auto secs = duration_cast<seconds>(duration);
  136|   140k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|   140k|}
_ZN6spdlog7details10fmt_helper4pad9ImEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  123|   140k|inline void pad9(T n, memory_buf_t &dest) {
  124|   140k|    pad_uint(n, 9, dest);
  125|   140k|}
_ZN6spdlog7details10fmt_helper12count_digitsIxEEjT_:
   66|    583|inline unsigned int count_digits(T n) {
   67|    583|    using count_type =
   68|    583|        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|    583|    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|    583|                                         detail
   79|    583|#endif
   80|    583|                                     ::count_digits(static_cast<count_type>(n)));
   81|    583|#endif
   82|    583|}
_ZN6spdlog7details10fmt_helper10append_intIxEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|  17.1k|inline void append_int(T n, memory_buf_t &dest) {
   43|  17.1k|    fmt::format_int i(n);
   44|  17.1k|    dest.append(i.data(), i.data() + i.size());
   45|  17.1k|}
_ZN6spdlog7details10fmt_helper12count_digitsIjEEjT_:
   66|    457|inline unsigned int count_digits(T n) {
   67|    457|    using count_type =
   68|    457|        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|    457|    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|    457|                                         detail
   79|    457|#endif
   80|    457|                                     ::count_digits(static_cast<count_type>(n)));
   81|    457|#endif
   82|    457|}

_ZN6spdlog7details7log_msgC2ENS_10source_locEN3fmt3v1217basic_string_viewIcEENS_5level10level_enumES6_:
   36|    380|    : 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|    380|    : logger_name(a_logger_name),
   21|    380|      level(lvl),
   22|    380|      time(log_time)
   23|       |#ifndef SPDLOG_NO_THREAD_ID
   24|       |      ,
   25|    380|      thread_id(os::thread_id())
   26|       |#endif
   27|       |      ,
   28|    380|      source(loc),
   29|    380|      payload(msg) {
   30|    380|}

_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|    380|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|    380|    return std::fwrite(ptr, 1, n_bytes, fp) == n_bytes;
  570|    380|#endif
  571|    380|}
_ZN6spdlog7details2os18utc_minutes_offsetERK2tm:
  268|  23.1k|SPDLOG_INLINE int utc_minutes_offset(const std::tm &tm) {
  269|  23.1k|    return static_cast<int>(tm.tm_gmtoff / 60);
  270|  23.1k|}
_ZN6spdlog7details2os3pidEv:
  358|  20.9k|SPDLOG_INLINE int pid() SPDLOG_NOEXCEPT {
  359|       |#ifdef _WIN32
  360|       |    return conditional_static_cast<int>(::GetCurrentProcessId());
  361|       |#else
  362|  20.9k|    return conditional_static_cast<int>(::getpid());
  363|  20.9k|#endif
  364|  20.9k|}
_ZN6spdlog7details2os9localtimeERKl:
   87|    324|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|    324|    std::tm tm;
   93|    324|    ::localtime_r(&time_tt, &tm);
   94|    324|#endif
   95|    324|    return tm;
   96|    324|}
_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|    380|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|    380|    return log_clock::now();
   85|    380|#endif
   86|    380|}
_ZN6spdlog7details2os9thread_idEv:
  328|    380|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|    380|    static thread_local const size_t tid = _thread_id();
  333|    380|    return tid;
  334|    380|#endif
  335|    380|}
_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.21k|SPDLOG_INLINE registry &registry::instance() {
  242|  1.21k|    static registry s_instance;
  243|  1.21k|    return s_instance;
  244|  1.21k|}
_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|    608|SPDLOG_INLINE void registry::set_formatter(std::unique_ptr<formatter> formatter) {
  125|    608|    std::lock_guard<std::mutex> lock(logger_map_mutex_);
  126|    608|    formatter_ = std::move(formatter);
  127|  1.21k|    for (auto &l : loggers_) {
  ------------------
  |  Branch (127:18): [True: 1.21k, False: 608]
  ------------------
  128|  1.21k|        l.second->set_formatter(formatter_->clone());
  129|  1.21k|    }
  130|    608|}
_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|    608|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_:
  368|  4.42k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZNK3fmt3v126detail6bufferIcE8capacityEv:
 1792|  9.29k|  constexpr auto capacity() const noexcept -> size_t { return capacity_; }
_ZN3fmt3v126detail6bufferIcE4dataEv:
 1795|   208k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZNK3fmt3v126detail6bufferIcE4sizeEv:
 1789|  18.8M|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIcEC2EPFvRS3_mEPcmm:
 1764|  18.8M|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIcE3setEPcm:
 1770|   200k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1771|   200k|    ptr_ = buf_data;
 1772|   200k|    capacity_ = buf_capacity;
 1773|   200k|  }
_ZNK3fmt3v1217basic_string_viewIcE4dataEv:
  547|  30.6M|  constexpr auto data() const noexcept -> const Char* { return data_; }
_ZN3fmt3v126detail6bufferIcE6appendIcEEvPKT_S7_:
 1823|  39.5M|  FMT_CONSTEXPR20 void append(const U* begin, const U* end) {
 1824|  39.5M|    static_assert(std::is_same<T, U>() || std::is_same<U, char>(), "");
 1825|  69.3M|    while (begin != end) {
  ------------------
  |  Branch (1825:12): [True: 29.7M, False: 39.5M]
  ------------------
 1826|  29.7M|      auto size = size_;
 1827|  29.7M|      auto free_cap = capacity_ - size;
 1828|  29.7M|      auto count = to_unsigned(end - begin);
 1829|  29.7M|      if (free_cap < count) {
  ------------------
  |  Branch (1829:11): [True: 2.26k, False: 29.7M]
  ------------------
 1830|  2.26k|        grow_(*this, size + count);
 1831|  2.26k|        size = size_;
 1832|  2.26k|        free_cap = capacity_ - size;
 1833|  2.26k|        count = count < free_cap ? count : free_cap;
  ------------------
  |  Branch (1833:17): [True: 2.10k, False: 156]
  ------------------
 1834|  2.26k|      }
 1835|       |      // A loop is faster than memcpy on small sizes.
 1836|  29.7M|      T* out = ptr_ + size;
 1837|  3.80G|      for (size_t i = 0; i < count; ++i) out[i] = static_cast<T>(begin[i]);
  ------------------
  |  Branch (1837:26): [True: 3.77G, False: 29.7M]
  ------------------
 1838|  29.7M|      size_ += count;
 1839|  29.7M|      begin += count;
 1840|  29.7M|    }
 1841|  39.5M|  }
_ZN3fmt3v126detail11to_unsignedIlEENSt3__113make_unsignedIT_E4typeES5_:
  421|   125M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  422|   125M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  394|   250M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:7): [Folded, False: 125M]
  |  |  |  Branch (394:7): [True: 125M, False: 0]
  |  |  ------------------
  |  |  395|   125M|         ? (void)0                                                          \
  |  |  396|   125M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  423|   125M|  return static_cast<make_unsigned_t<Int>>(value);
  424|   125M|}
_ZNK3fmt3v1217basic_string_viewIcE4sizeEv:
  548|  70.7M|  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_:
  545|   489k|      : data_(s.data()), size_(s.size()) {}
_ZN3fmt3v1217basic_string_viewIcEC2EPKc:
  528|   239k|  FMT_CONSTEXPR basic_string_view(const Char* s) : data_(s) {
  529|   239k|#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
  530|   239k|    if (std::is_same<Char, char>::value && !detail::is_constant_evaluated()) {
  ------------------
  |  Branch (530:9): [True: 0, Folded]
  |  Branch (530:44): [True: 0, Folded]
  ------------------
  531|   239k|      size_ = __builtin_strlen(detail::narrow(s));  // strlen is not constexpr.
  532|   239k|      return;
  533|   239k|    }
  534|      0|#endif
  535|      0|    size_t len = 0;
  536|      0|    while (*s++) ++len;
  ------------------
  |  Branch (536:12): [True: 0, False: 0]
  ------------------
  537|      0|    size_ = len;
  538|      0|  }
_ZN3fmt3v126detail6narrowEPKc:
  451|   239k|constexpr FMT_ALWAYS_INLINE auto narrow(const char* s) -> const char* {
  452|   239k|  return s;
  453|   239k|}
_ZN3fmt3v126detail6bufferIcE5clearEv:
 1799|  63.0k|  FMT_CONSTEXPR void clear() { size_ = 0; }
_ZN3fmt3v126detail6bufferIcE9push_backERKc:
 1816|  3.91G|  FMT_CONSTEXPR void push_back(const T& value) {
 1817|  3.91G|    try_reserve(size_ + 1);
 1818|  3.91G|    ptr_[size_++] = value;
 1819|  3.91G|  }
_ZN3fmt3v126detail6bufferIcE11try_reserveEm:
 1812|  3.91G|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1813|  3.91G|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1813:9): [True: 2.16k, False: 3.91G]
  ------------------
 1814|  3.91G|  }
_ZN3fmt3v126detail11to_unsignedIiEENSt3__113make_unsignedIT_E4typeES5_:
  421|  11.1M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  422|  11.1M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  394|  22.3M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:7): [Folded, False: 11.1M]
  |  |  |  Branch (394:7): [True: 11.1M, False: 0]
  |  |  ------------------
  |  |  395|  11.1M|         ? (void)0                                                          \
  |  |  396|  11.1M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  423|  11.1M|  return static_cast<make_unsigned_t<Int>>(value);
  424|  11.1M|}
_ZN3fmt3v1214basic_appenderIcEC2ERNS0_6detail6bufferIcEE:
 2438|  18.6M|  constexpr basic_appender(detail::buffer<T>& buf) : container(&buf) {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE3getEi:
 2593|  21.7k|  FMT_CONSTEXPR auto get(int id) const -> format_arg {
 2594|  21.7k|    auto arg = format_arg();
 2595|  21.7k|    if (!is_packed()) {
  ------------------
  |  Branch (2595:9): [True: 0, False: 21.7k]
  ------------------
 2596|      0|      if (unsigned(id) < unsigned(max_size())) arg = args_[id];
  ------------------
  |  Branch (2596:11): [True: 0, False: 0]
  ------------------
 2597|      0|      return arg;
 2598|      0|    }
 2599|  21.7k|    if (unsigned(id) >= detail::max_packed_args) return arg;
  ------------------
  |  Branch (2599:9): [True: 13, False: 21.7k]
  ------------------
 2600|  21.7k|    arg.type_ = type(id);
 2601|  21.7k|    if (arg.type_ != detail::type::none_type) arg.value_ = values_[id];
  ------------------
  |  Branch (2601:9): [True: 21.7k, False: 2]
  ------------------
 2602|  21.7k|    return arg;
 2603|  21.7k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2Ev:
 2473|  21.7k|  constexpr basic_format_arg() : type_(detail::type::none_type) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ev:
 2158|  21.7k|  constexpr FMT_INLINE value() : no_value() {}
_ZN3fmt3v129monostateC2Ev:
  342|  21.7k|  constexpr monostate() {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE9is_packedEv:
 2549|  21.7k|  constexpr auto is_packed() const -> bool {
 2550|  21.7k|    return (desc_ & detail::is_unpacked_bit) == 0;
 2551|  21.7k|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE4typeEi:
 2556|  21.7k|  FMT_CONSTEXPR auto type(int index) const -> detail::type {
 2557|  21.7k|    int shift = index * detail::packed_arg_bits;
 2558|  21.7k|    unsigned mask = (1 << detail::packed_arg_bits) - 1;
 2559|  21.7k|    return static_cast<detail::type>((desc_ >> shift) & mask);
 2560|  21.7k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail21default_arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2491|  1.82k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2492|  1.82k|    using detail::map;
 2493|  1.82k|    switch (type_) {
  ------------------
  |  Branch (2493:13): [True: 1.82k, False: 0]
  ------------------
 2494|      3|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2494:5): [True: 3, False: 1.82k]
  ------------------
 2495|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2495:5): [True: 0, False: 1.82k]
  ------------------
 2496|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2496:5): [True: 0, False: 1.82k]
  ------------------
 2497|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2497:5): [True: 0, False: 1.82k]
  ------------------
 2498|  1.26k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2498:5): [True: 1.26k, False: 559]
  ------------------
 2499|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2499:5): [True: 0, False: 1.82k]
  ------------------
 2500|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2500:5): [True: 0, False: 1.82k]
  ------------------
 2501|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2501:5): [True: 0, False: 1.82k]
  ------------------
 2502|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2502:5): [True: 0, False: 1.82k]
  ------------------
 2503|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2503:5): [True: 0, False: 1.82k]
  ------------------
 2504|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2504:5): [True: 0, False: 1.82k]
  ------------------
 2505|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2505:5): [True: 0, False: 1.82k]
  ------------------
 2506|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2506:5): [True: 0, False: 1.82k]
  ------------------
 2507|    556|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2507:5): [True: 556, False: 1.27k]
  ------------------
 2508|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2508:5): [True: 0, False: 1.82k]
  ------------------
 2509|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2509:5): [True: 0, False: 1.82k]
  ------------------
 2510|  1.82k|    }
 2511|      3|    return vis(monostate());
 2512|  1.82k|  }
_ZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_:
  485|  37.6M|    typename OutputIt::container_type& {
  486|  37.6M|  struct accessor : OutputIt {
  487|  37.6M|    constexpr accessor(OutputIt base) : OutputIt(base) {}
  488|  37.6M|    using OutputIt::container;
  489|  37.6M|  };
  490|  37.6M|  return *accessor(it).container;
  491|  37.6M|}
_ZZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_EN8accessorC2ES4_:
  487|  37.6M|    constexpr accessor(OutputIt base) : OutputIt(base) {}
_ZN3fmt3v126detail6bufferIcE10try_resizeEm:
 1803|  4.87k|  FMT_CONSTEXPR void try_resize(size_t count) {
 1804|  4.87k|    try_reserve(count);
 1805|  4.87k|    size_ = min_of(count, capacity_);
 1806|  4.87k|  }
_ZN3fmt3v126min_ofImEET_S2_S2_:
  354|  4.87k|template <typename T> constexpr auto min_of(T a, T b) -> T {
  355|  4.87k|  return a < b ? a : b;
  ------------------
  |  Branch (355:10): [True: 4.87k, False: 2]
  ------------------
  356|  4.87k|}
_ZN3fmt3v1214basic_appenderIcEppEi:
 2446|  3.90G|  FMT_CONSTEXPR auto operator++(int) -> basic_appender { return *this; }
_ZN3fmt3v1214basic_appenderIcEdeEv:
 2444|  3.90G|  FMT_CONSTEXPR auto operator*() -> basic_appender& { return *this; }
_ZN3fmt3v1214basic_appenderIcEaSEc:
 2440|  3.90G|  FMT_CONSTEXPR auto operator=(T c) -> basic_appender& {
 2441|  3.90G|    container->push_back(c);
 2442|  3.90G|    return *this;
 2443|  3.90G|  }
_ZN3fmt3v126detail4copyIcPcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaacvNS1_23is_back_insert_iteratorIT1_NS6_17integral_constantIbLb1EEEEE_EcvNS1_10has_appendIS9_T0_vEE_EEiE4typeELi0EEES9_SE_SE_S9_:
 1897|  27.3M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1898|  27.3M|  get_container(out).append(begin, end);
 1899|  27.3M|  return out;
 1900|  27.3M|}
_ZNK3fmt3v1211basic_specs4typeEv:
  723|  20.5k|  constexpr auto type() const -> presentation_type {
  724|  20.5k|    return static_cast<presentation_type>(data_ & type_mask);
  725|  20.5k|  }
_ZNK3fmt3v1211basic_specs9localizedEv:
  770|  13.9k|  constexpr auto localized() const -> bool {
  771|  13.9k|    return (data_ & localized_mask) != 0;
  772|  13.9k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitIRNS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 2491|  3.61k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2492|  3.61k|    using detail::map;
 2493|  3.61k|    switch (type_) {
  ------------------
  |  Branch (2493:13): [True: 3.61k, False: 0]
  ------------------
 2494|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2494:5): [True: 0, False: 3.61k]
  ------------------
 2495|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2495:5): [True: 0, False: 3.61k]
  ------------------
 2496|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2496:5): [True: 0, False: 3.61k]
  ------------------
 2497|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2497:5): [True: 0, False: 3.61k]
  ------------------
 2498|  3.61k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2498:5): [True: 3.61k, False: 0]
  ------------------
 2499|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2499:5): [True: 0, False: 3.61k]
  ------------------
 2500|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2500:5): [True: 0, False: 3.61k]
  ------------------
 2501|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2501:5): [True: 0, False: 3.61k]
  ------------------
 2502|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2502:5): [True: 0, False: 3.61k]
  ------------------
 2503|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2503:5): [True: 0, False: 3.61k]
  ------------------
 2504|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2504:5): [True: 0, False: 3.61k]
  ------------------
 2505|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2505:5): [True: 0, False: 3.61k]
  ------------------
 2506|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2506:5): [True: 0, False: 3.61k]
  ------------------
 2507|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2507:5): [True: 0, False: 3.61k]
  ------------------
 2508|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2508:5): [True: 0, False: 3.61k]
  ------------------
 2509|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2509:5): [True: 0, False: 3.61k]
  ------------------
 2510|  3.61k|    }
 2511|      0|    return vis(monostate());
 2512|  3.61k|  }
_ZNK3fmt3v1211basic_specs3altEv:
  766|  7.44k|  constexpr auto alt() const -> bool { return (data_ & alternate_mask) != 0; }
_ZNK3fmt3v1211basic_specs5upperEv:
  763|  4.55k|  constexpr auto upper() const -> bool { return (data_ & uppercase_mask) != 0; }
_ZNK3fmt3v1211basic_specs5alignEv:
  730|  15.1k|  constexpr auto align() const -> align {
  731|  15.1k|    return static_cast<fmt::align>((data_ & align_mask) >> align_shift);
  732|  15.1k|  }
_ZNK3fmt3v1211basic_specs9fill_sizeEv:
  775|  12.6k|  constexpr auto fill_size() const -> size_t {
  776|  12.6k|    return (data_ & fill_size_mask) >> fill_size_shift;
  777|  12.6k|  }
_ZNK3fmt3v1211basic_specs9fill_unitIcEET_v:
  788|  1.68k|  template <typename Char> constexpr auto fill_unit() const -> Char {
  789|  1.68k|    using uchar = unsigned char;
  790|  1.68k|    return Char(uchar(fill_data_[0]) | uchar(fill_data_[1]) << 8 |
  791|  1.68k|                uchar(fill_data_[2]) << 16);
  792|  1.68k|  }
_ZNK3fmt3v1211basic_specs4fillIcTnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEEPKS5_v:
  780|    137|  constexpr auto fill() const -> const Char* {
  781|    137|    return fill_data_;
  782|    137|  }
_ZN3fmt3v126detail4copyIcPKcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaacvNS1_23is_back_insert_iteratorIT1_NS7_17integral_constantIbLb1EEEEE_EcvNS1_10has_appendISA_T0_vEE_EEiE4typeELi0EEESA_SF_SF_SA_:
 1897|  10.2M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1898|  10.2M|  get_container(out).append(begin, end);
 1899|  10.2M|  return out;
 1900|  10.2M|}
_ZN3fmt3v126detail11to_unsignedImEENSt3__113make_unsignedIT_E4typeES5_:
  421|  46.1M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  422|  46.1M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  394|  46.1M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:7): [True: 46.1M, Folded]
  |  |  |  Branch (394:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  395|  46.1M|         ? (void)0                                                          \
  |  |  396|  46.1M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  423|  46.1M|  return static_cast<make_unsigned_t<Int>>(value);
  424|  46.1M|}
_ZN3fmt3v1217basic_string_viewIcEC2EPKcm:
  523|   120M|      : data_(s), size_(count) {}
_ZNK3fmt3v1217basic_string_viewIcE5beginEv:
  550|  70.0M|  constexpr auto begin() const noexcept -> iterator { return data_; }
_ZNK3fmt3v1217basic_string_viewIcE3endEv:
  551|   121M|  constexpr auto end() const noexcept -> iterator { return data_ + size_; }
_ZN3fmt3v126detail6bufferIiE4dataEv:
 1795|  2.99k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIiEC2EPFvRS3_mEPimm:
 1764|  2.99k|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIiE3setEPim:
 1770|  2.99k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1771|  2.99k|    ptr_ = buf_data;
 1772|  2.99k|    capacity_ = buf_capacity;
 1773|  2.99k|  }
_ZN3fmt3v126detail6bufferIiE9push_backERKi:
 1816|  2.99k|  FMT_CONSTEXPR void push_back(const T& value) {
 1817|  2.99k|    try_reserve(size_ + 1);
 1818|  2.99k|    ptr_[size_++] = value;
 1819|  2.99k|  }
_ZN3fmt3v126detail6bufferIiE11try_reserveEm:
 1812|  2.99k|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1813|  2.99k|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1813:9): [True: 0, False: 2.99k]
  ------------------
 1814|  2.99k|  }
_ZNK3fmt3v126detail6bufferIiE4sizeEv:
 1789|  2.99k|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIiEixIiEERiT_:
 1843|  74.7k|  template <typename Idx> FMT_CONSTEXPR auto operator[](Idx index) -> T& {
 1844|  74.7k|    return ptr_[index];
 1845|  74.7k|  }
_ZNK3fmt3v1217basic_string_viewIcEixEm:
  553|  77.7k|  constexpr auto operator[](size_t pos) const noexcept -> const Char& {
  554|  77.7k|    return data_[pos];
  555|  77.7k|  }
_ZNK3fmt3v1211basic_specs4signEv:
  756|  13.9k|  constexpr auto sign() const -> sign {
  757|  13.9k|    return static_cast<fmt::sign>((data_ & sign_mask) >> sign_shift);
  758|  13.9k|  }
_ZN3fmt3v1212format_specsC2Ev:
  826|  19.5k|  constexpr format_specs() : width(0), precision(-1) {}
_ZN3fmt3v1211basic_specs8set_fillEc:
  794|  1.48k|  FMT_CONSTEXPR void set_fill(char c) {
  795|  1.48k|    fill_data_[0] = c;
  796|  1.48k|    set_fill_size(1);
  797|  1.48k|  }
_ZN3fmt3v1211basic_specs13set_fill_sizeEm:
  718|  3.94k|  FMT_CONSTEXPR void set_fill_size(size_t size) {
  719|  3.94k|    data_ = (data_ & ~fill_size_mask) | (unsigned(size) << fill_size_shift);
  720|  3.94k|  }
_ZN3fmt3v1211basic_specs7set_altEv:
  767|  3.21k|  FMT_CONSTEXPR void set_alt() { data_ |= alternate_mask; }
_ZNK3fmt3v126detail12string_valueIcE3strEv:
 2112|  6.08k|  auto str() const -> basic_string_view<Char> { return {data, size}; }
_ZN3fmt3v126detail19parse_format_stringIcNS1_14format_handlerIcEEEEvNS0_17basic_string_viewIT_EEOT0_:
 1630|    608|                                       Handler&& handler) {
 1631|    608|  auto begin = fmt.data(), end = begin + fmt.size();
 1632|    608|  auto p = begin;
 1633|  6.06M|  while (p != end) {
  ------------------
  |  Branch (1633:10): [True: 6.06M, False: 591]
  ------------------
 1634|  6.06M|    auto c = *p++;
 1635|  6.06M|    if (c == '{') {
  ------------------
  |  Branch (1635:9): [True: 21.6k, False: 6.04M]
  ------------------
 1636|  21.6k|      handler.on_text(begin, p - 1);
 1637|  21.6k|      begin = p = parse_replacement_field(p - 1, end, handler);
 1638|  6.04M|    } else if (c == '}') {
  ------------------
  |  Branch (1638:16): [True: 55, False: 6.04M]
  ------------------
 1639|     55|      if (p == end || *p != '}')
  ------------------
  |  Branch (1639:11): [True: 0, False: 55]
  |  Branch (1639:23): [True: 17, False: 38]
  ------------------
 1640|     17|        return handler.on_error("unmatched '}' in format string");
 1641|     38|      handler.on_text(begin, p);
 1642|     38|      begin = ++p;
 1643|     38|    }
 1644|  6.06M|  }
 1645|    591|  handler.on_text(begin, end);
 1646|    591|}
_ZNK3fmt3v127context3outEv:
 2659|  43.5k|  constexpr auto out() const -> iterator { return out_; }
_ZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_:
 1585|  21.6k|    -> const Char* {
 1586|  21.6k|  ++begin;
 1587|  21.6k|  if (begin == end) {
  ------------------
  |  Branch (1587:7): [True: 3, False: 21.6k]
  ------------------
 1588|      3|    handler.on_error("invalid format string");
 1589|      3|    return end;
 1590|      3|  }
 1591|  21.6k|  int arg_id = 0;
 1592|  21.6k|  switch (*begin) {
 1593|      7|  case '}':
  ------------------
  |  Branch (1593:3): [True: 7, False: 21.6k]
  ------------------
 1594|      7|    handler.on_replacement_field(handler.on_arg_id(), begin);
 1595|      7|    return begin + 1;
 1596|    159|  case '{': handler.on_text(begin, begin + 1); return begin + 1;
  ------------------
  |  Branch (1596:3): [True: 159, False: 21.4k]
  ------------------
 1597|     55|  case ':': arg_id = handler.on_arg_id(); break;
  ------------------
  |  Branch (1597:3): [True: 55, False: 21.5k]
  ------------------
 1598|  21.4k|  default:  {
  ------------------
  |  Branch (1598:3): [True: 21.4k, False: 221]
  ------------------
 1599|  21.4k|    struct id_adapter {
 1600|  21.4k|      Handler& handler;
 1601|  21.4k|      int arg_id;
 1602|       |
 1603|  21.4k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
 1604|  21.4k|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1605|  21.4k|        arg_id = handler.on_arg_id(id);
 1606|  21.4k|      }
 1607|  21.4k|    } adapter = {handler, 0};
 1608|  21.4k|    begin = parse_arg_id(begin, end, adapter);
 1609|  21.4k|    arg_id = adapter.arg_id;
 1610|  21.4k|    Char c = begin != end ? *begin : Char();
  ------------------
  |  Branch (1610:14): [True: 21.3k, False: 68]
  ------------------
 1611|  21.4k|    if (c == '}') {
  ------------------
  |  Branch (1611:9): [True: 1.82k, False: 19.5k]
  ------------------
 1612|  1.82k|      handler.on_replacement_field(arg_id, begin);
 1613|  1.82k|      return begin + 1;
 1614|  1.82k|    }
 1615|  19.5k|    if (c != ':') {
  ------------------
  |  Branch (1615:9): [True: 0, False: 19.5k]
  ------------------
 1616|      0|      handler.on_error("missing '}' in format string");
 1617|      0|      return end;
 1618|      0|    }
 1619|  19.5k|    break;
 1620|  19.5k|  }
 1621|  21.6k|  }
 1622|  19.5k|  begin = handler.on_format_specs(arg_id, begin + 1, end);
 1623|  19.5k|  if (begin == end || *begin != '}')
  ------------------
  |  Branch (1623:7): [True: 107, False: 19.4k]
  |  Branch (1623:23): [True: 22, False: 19.4k]
  ------------------
 1624|     53|    return handler.on_error("unknown format specifier"), end;
 1625|  19.5k|  return begin + 1;
 1626|  19.5k|}
_ZNK3fmt3v127context3argEi:
 2649|  21.7k|  FMT_CONSTEXPR auto arg(int id) const -> format_arg { return args_.get(id); }
_ZN3fmt3v1213parse_contextIcE11next_arg_idEv:
  864|     71|  FMT_CONSTEXPR auto next_arg_id() -> int {
  865|     71|    if (next_arg_id_ < 0) {
  ------------------
  |  Branch (865:9): [True: 17, False: 54]
  ------------------
  866|     17|      report_error("cannot switch from manual to automatic argument indexing");
  867|     17|      return 0;
  868|     17|    }
  869|     54|    int id = next_arg_id_++;
  870|     54|    do_check_arg_id(id);
  871|     54|    return id;
  872|     71|  }
_ZN3fmt3v1213parse_contextIcE15do_check_arg_idEi:
 2411|  21.7k|FMT_CONSTEXPR void parse_context<Char>::do_check_arg_id(int arg_id) {
 2412|       |  // Argument id is only checked at compile time during parsing because
 2413|       |  // formatting has its own validation.
 2414|  21.7k|  if (detail::is_constant_evaluated() && use_constexpr_cast) {
  ------------------
  |  Branch (2414:7): [Folded, False: 21.7k]
  |  Branch (2414:42): [True: 0, Folded]
  ------------------
 2415|      0|    auto ctx = static_cast<detail::compile_parse_context<Char>*>(this);
 2416|      0|    if (arg_id >= ctx->num_args()) report_error("argument not found");
  ------------------
  |  Branch (2416:9): [True: 0, False: 0]
  ------------------
 2417|      0|  }
 2418|  21.7k|}
_ZN3fmt3v126detail12parse_arg_idIcRZNS1_23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S9_S9_OT0_E10id_adapterEES9_S9_S9_SB_:
 1332|  21.4k|                                Handler&& handler) -> const Char* {
 1333|  21.4k|  Char c = *begin;
 1334|  21.4k|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1334:7): [True: 21.3k, False: 24]
  |  Branch (1334:19): [True: 21.3k, False: 22]
  ------------------
 1335|  21.3k|    int index = 0;
 1336|  21.3k|    if (c != '0')
  ------------------
  |  Branch (1336:9): [True: 10.3k, False: 11.0k]
  ------------------
 1337|  10.3k|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1338|  11.0k|    else
 1339|  11.0k|      ++begin;
 1340|  21.3k|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1340:9): [True: 4, False: 21.3k]
  |  Branch (1340:26): [True: 19.5k, False: 1.82k]
  |  Branch (1340:43): [True: 18, False: 19.5k]
  ------------------
 1341|     22|      report_error("invalid format string");
 1342|  21.3k|    else
 1343|  21.3k|      handler.on_index(index);
 1344|  21.3k|    return begin;
 1345|  21.3k|  }
 1346|     46|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  295|     46|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1346:7): [Folded, False: 46]
  |  Branch (1346:32): [True: 36, False: 10]
  ------------------
 1347|     36|    report_error("invalid format string");
 1348|     36|    return begin;
 1349|     36|  }
 1350|     10|  auto it = begin;
 1351|  61.5k|  do {
 1352|  61.5k|    ++it;
 1353|  61.5k|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1353:12): [True: 61.5k, False: 3]
  |  Branch (1353:26): [True: 61.4k, False: 39]
  |  Branch (1353:49): [True: 36, False: 3]
  |  Branch (1353:63): [True: 32, False: 4]
  ------------------
 1354|     10|  handler.on_name({begin, to_unsigned(it - begin)});
 1355|     10|  return it;
 1356|     46|}
_ZN3fmt3v126detail21parse_nonnegative_intIcEEiRPKT_S5_i:
 1296|  18.4k|                                         int error_value) noexcept -> int {
 1297|  18.4k|  FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', "");
  ------------------
  |  |  394|  73.7k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:7): [True: 18.4k, False: 0]
  |  |  |  Branch (394:7): [True: 18.4k, False: 0]
  |  |  |  Branch (394:7): [True: 18.4k, False: 0]
  |  |  ------------------
  |  |  395|  18.4k|         ? (void)0                                                          \
  |  |  396|  18.4k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1298|  18.4k|  unsigned value = 0, prev = 0;
 1299|  18.4k|  auto p = begin;
 1300|  53.7k|  do {
 1301|  53.7k|    prev = value;
 1302|  53.7k|    value = value * 10 + unsigned(*p - '0');
 1303|  53.7k|    ++p;
 1304|  53.7k|  } while (p != end && '0' <= *p && *p <= '9');
  ------------------
  |  Branch (1304:12): [True: 53.7k, False: 7]
  |  Branch (1304:24): [True: 53.4k, False: 322]
  |  Branch (1304:37): [True: 35.3k, False: 18.0k]
  ------------------
 1305|  18.4k|  auto num_digits = p - begin;
 1306|  18.4k|  begin = p;
 1307|  18.4k|  int digits10 = int(sizeof(int) * CHAR_BIT * 3 / 10);
 1308|  18.4k|  if (num_digits <= digits10) return int(value);
  ------------------
  |  Branch (1308:7): [True: 18.4k, False: 13]
  ------------------
 1309|       |  // Check for overflow.
 1310|     13|  unsigned max = INT_MAX;
 1311|     13|  return num_digits == digits10 + 1 &&
  ------------------
  |  Branch (1311:10): [True: 6, False: 7]
  ------------------
 1312|      6|                 prev * 10ull + unsigned(p[-1] - '0') <= max
  ------------------
  |  Branch (1312:18): [True: 3, False: 3]
  ------------------
 1313|     13|             ? int(value)
 1314|     13|             : error_value;
 1315|  18.4k|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter8on_indexEi:
 1603|  21.3k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
_ZN3fmt3v1213parse_contextIcE12check_arg_idEi:
  876|  21.6k|  FMT_CONSTEXPR void check_arg_id(int id) {
  877|  21.6k|    if (next_arg_id_ > 0) {
  ------------------
  |  Branch (877:9): [True: 0, False: 21.6k]
  ------------------
  878|      0|      report_error("cannot switch from automatic to manual argument indexing");
  879|      0|      return;
  880|      0|    }
  881|  21.6k|    next_arg_id_ = -1;
  882|  21.6k|    do_check_arg_id(id);
  883|  21.6k|  }
_ZN3fmt3v126detail13is_name_startIcEEbT_:
 1326|   182k|template <typename Char> constexpr auto is_name_start(Char c) -> bool {
 1327|   182k|  return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '_';
  ------------------
  |  Branch (1327:11): [True: 182k, False: 77]
  |  Branch (1327:23): [True: 182k, False: 0]
  |  Branch (1327:37): [True: 2, False: 75]
  |  Branch (1327:49): [True: 1, False: 1]
  |  Branch (1327:62): [True: 0, False: 76]
  ------------------
 1328|   182k|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter7on_nameENS0_17basic_string_viewIcEE:
 1604|     10|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1605|     10|        arg_id = handler.on_arg_id(id);
 1606|     10|      }
_ZN3fmt3v1213parse_contextIcE12check_arg_idENS0_17basic_string_viewIcEE:
  884|     17|  FMT_CONSTEXPR void check_arg_id(basic_string_view<Char>) {
  885|     17|    next_arg_id_ = -1;
  886|     17|  }
_ZNK3fmt3v127context6arg_idENS0_17basic_string_viewIcEE:
 2653|     10|  FMT_CONSTEXPR auto arg_id(string_view name) const -> int {
 2654|     10|    return args_.get_id(name);
 2655|     10|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE6get_idIcEEiNS0_17basic_string_viewIT_EE:
 2612|     10|  FMT_CONSTEXPR auto get_id(basic_string_view<Char> name) const -> int {
 2613|     10|    if (!has_named_args()) return -1;
  ------------------
  |  Branch (2613:9): [True: 10, False: 0]
  ------------------
 2614|      0|    const auto& named_args =
 2615|      0|        (is_packed() ? values_[-1] : args_[-1].value_).named_args;
  ------------------
  |  Branch (2615:10): [True: 0, False: 0]
  ------------------
 2616|      0|    for (size_t i = 0; i < named_args.size; ++i) {
  ------------------
  |  Branch (2616:24): [True: 0, False: 0]
  ------------------
 2617|      0|      if (named_args.data[i].name == name) return named_args.data[i].id;
  ------------------
  |  Branch (2617:11): [True: 0, False: 0]
  ------------------
 2618|      0|    }
 2619|      0|    return -1;
 2620|      0|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE14has_named_argsEv:
 2552|     10|  constexpr auto has_named_args() const -> bool {
 2553|     10|    return (desc_ & detail::has_named_args_bit) != 0;
 2554|     10|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEEcvbEv:
 2480|  19.9k|  constexpr explicit operator bool() const noexcept {
 2481|  19.9k|    return type_ != detail::type::none_type;
 2482|  19.9k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEE13format_customEPKcRNS0_13parse_contextIcEERS2_:
 2516|  19.5k|      -> bool {
 2517|  19.5k|    if (type_ != detail::type::custom_type) return false;
  ------------------
  |  Branch (2517:9): [True: 19.5k, False: 0]
  ------------------
 2518|      0|    parse_ctx.advance_to(parse_begin);
 2519|      0|    value_.custom.format(value_.custom.value, parse_ctx, ctx);
 2520|      0|    return true;
 2521|  19.5k|  }
_ZN3fmt3v126detail7arg_refIcEC2Ei:
 1263|  39.4k|  FMT_CONSTEXPR arg_ref(int idx = 0) : index(idx) {}
_ZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeE:
 1447|  19.5k|    -> const Char* {
 1448|  19.5k|  auto c = '\0';
 1449|  19.5k|  if (end - begin > 1) {
  ------------------
  |  Branch (1449:7): [True: 19.5k, False: 17]
  ------------------
 1450|  19.5k|    auto next = to_ascii(begin[1]);
 1451|  19.5k|    c = parse_align(next) == align::none ? to_ascii(*begin) : '\0';
  ------------------
  |  Branch (1451:9): [True: 16.2k, False: 3.24k]
  ------------------
 1452|  19.5k|  } else {
 1453|     17|    if (begin == end) return begin;
  ------------------
  |  Branch (1453:9): [True: 11, False: 6]
  ------------------
 1454|      6|    c = to_ascii(*begin);
 1455|      6|  }
 1456|       |
 1457|  19.5k|  struct {
 1458|  19.5k|    state current_state = state::start;
 1459|  19.5k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1460|  19.5k|      if (current_state >= s || !valid)
 1461|  19.5k|        report_error("invalid format specifier");
 1462|  19.5k|      current_state = s;
 1463|  19.5k|    }
 1464|  19.5k|  } enter_state;
 1465|       |
 1466|  19.5k|  using pres = presentation_type;
 1467|  19.5k|  constexpr auto integral_set = sint_set | uint_set | bool_set | char_set;
 1468|  19.5k|  struct {
 1469|  19.5k|    const Char*& begin;
 1470|  19.5k|    format_specs& specs;
 1471|  19.5k|    type arg_type;
 1472|       |
 1473|  19.5k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1474|  19.5k|      if (!in(arg_type, set)) report_error("invalid format specifier");
 1475|  19.5k|      specs.set_type(pres_type);
 1476|  19.5k|      return begin + 1;
 1477|  19.5k|    }
 1478|  19.5k|  } parse_presentation_type{begin, specs, arg_type};
 1479|       |
 1480|  40.0k|  for (;;) {
 1481|  40.0k|    switch (c) {
 1482|    946|    case '<':
  ------------------
  |  Branch (1482:5): [True: 946, False: 39.0k]
  ------------------
 1483|  1.25k|    case '>':
  ------------------
  |  Branch (1483:5): [True: 305, False: 39.7k]
  ------------------
 1484|  1.26k|    case '^':
  ------------------
  |  Branch (1484:5): [True: 16, False: 40.0k]
  ------------------
 1485|  1.26k|      enter_state(state::align);
 1486|  1.26k|      specs.set_align(parse_align(c));
 1487|  1.26k|      ++begin;
 1488|  1.26k|      break;
 1489|     11|    case '+':
  ------------------
  |  Branch (1489:5): [True: 11, False: 40.0k]
  ------------------
 1490|     11|    case ' ':
  ------------------
  |  Branch (1490:5): [True: 0, False: 40.0k]
  ------------------
 1491|     11|      specs.set_sign(c == ' ' ? sign::space : sign::plus);
  ------------------
  |  Branch (1491:22): [True: 0, False: 11]
  ------------------
 1492|     11|      FMT_FALLTHROUGH;
  ------------------
  |  |  181|     11|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
 1493|     12|    case '-':
  ------------------
  |  Branch (1493:5): [True: 1, False: 40.0k]
  ------------------
 1494|     12|      enter_state(state::sign, in(arg_type, sint_set | float_set));
 1495|     12|      ++begin;
 1496|     12|      break;
 1497|  3.21k|    case '#':
  ------------------
  |  Branch (1497:5): [True: 3.21k, False: 36.8k]
  ------------------
 1498|  3.21k|      enter_state(state::hash, is_arithmetic_type(arg_type));
 1499|  3.21k|      specs.set_alt();
 1500|  3.21k|      ++begin;
 1501|  3.21k|      break;
 1502|  1.69k|    case '0':
  ------------------
  |  Branch (1502:5): [True: 1.69k, False: 38.3k]
  ------------------
 1503|  1.69k|      enter_state(state::zero);
 1504|  1.69k|      if (!is_arithmetic_type(arg_type))
  ------------------
  |  Branch (1504:11): [True: 0, False: 1.69k]
  ------------------
 1505|      0|        report_error("format specifier requires numeric argument");
 1506|  1.69k|      if (specs.align() == align::none) {
  ------------------
  |  Branch (1506:11): [True: 1.48k, False: 206]
  ------------------
 1507|       |        // Ignore 0 if align is specified for compatibility with std::format.
 1508|  1.48k|        specs.set_align(align::numeric);
 1509|  1.48k|        specs.set_fill('0');
 1510|  1.48k|      }
 1511|  1.69k|      ++begin;
 1512|  1.69k|      break;
 1513|       |      // clang-format off
 1514|  3.03k|    case '1': case '2': case '3': case '4': case '5':
  ------------------
  |  Branch (1514:5): [True: 1.08k, False: 38.9k]
  |  Branch (1514:15): [True: 494, False: 39.5k]
  |  Branch (1514:25): [True: 626, False: 39.4k]
  |  Branch (1514:35): [True: 356, False: 39.6k]
  |  Branch (1514:45): [True: 476, False: 39.5k]
  ------------------
 1515|  7.44k|    case '6': case '7': case '8': case '9': case '{':
  ------------------
  |  Branch (1515:5): [True: 634, False: 39.4k]
  |  Branch (1515:15): [True: 2.26k, False: 37.7k]
  |  Branch (1515:25): [True: 549, False: 39.4k]
  |  Branch (1515:35): [True: 604, False: 39.4k]
  |  Branch (1515:45): [True: 355, False: 39.6k]
  ------------------
 1516|       |      // clang-format on
 1517|  7.44k|      enter_state(state::width);
 1518|  7.44k|      begin = parse_width(begin, end, specs, specs.width_ref, ctx);
 1519|  7.44k|      break;
 1520|    847|    case '.':
  ------------------
  |  Branch (1520:5): [True: 847, False: 39.1k]
  ------------------
 1521|    847|      enter_state(state::precision,
 1522|    847|                  in(arg_type, float_set | string_set | cstring_set));
 1523|    847|      begin = parse_precision(begin, end, specs, specs.precision_ref, ctx);
 1524|    847|      break;
 1525|  3.61k|    case 'L':
  ------------------
  |  Branch (1525:5): [True: 3.61k, False: 36.4k]
  ------------------
 1526|  3.61k|      enter_state(state::locale, is_arithmetic_type(arg_type));
 1527|  3.61k|      specs.set_localized();
 1528|  3.61k|      ++begin;
 1529|  3.61k|      break;
 1530|    838|    case 'd': return parse_presentation_type(pres::dec, integral_set);
  ------------------
  |  Branch (1530:5): [True: 838, False: 39.2k]
  ------------------
 1531|  1.33k|    case 'X': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|  1.33k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1531:5): [True: 1.33k, False: 38.7k]
  ------------------
 1532|  2.54k|    case 'x': return parse_presentation_type(pres::hex, integral_set);
  ------------------
  |  Branch (1532:5): [True: 1.21k, False: 38.8k]
  ------------------
 1533|  2.98k|    case 'o': return parse_presentation_type(pres::oct, integral_set);
  ------------------
  |  Branch (1533:5): [True: 2.98k, False: 37.0k]
  ------------------
 1534|    437|    case 'B': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|    437|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1534:5): [True: 437, False: 39.6k]
  ------------------
 1535|  1.92k|    case 'b': return parse_presentation_type(pres::bin, integral_set);
  ------------------
  |  Branch (1535:5): [True: 1.48k, False: 38.5k]
  ------------------
 1536|      0|    case 'E': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1536:5): [True: 0, False: 40.0k]
  ------------------
 1537|      0|    case 'e': return parse_presentation_type(pres::exp, float_set);
  ------------------
  |  Branch (1537:5): [True: 0, False: 40.0k]
  ------------------
 1538|      0|    case 'F': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1538:5): [True: 0, False: 40.0k]
  ------------------
 1539|      0|    case 'f': return parse_presentation_type(pres::fixed, float_set);
  ------------------
  |  Branch (1539:5): [True: 0, False: 40.0k]
  ------------------
 1540|      0|    case 'G': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1540:5): [True: 0, False: 40.0k]
  ------------------
 1541|      0|    case 'g': return parse_presentation_type(pres::general, float_set);
  ------------------
  |  Branch (1541:5): [True: 0, False: 40.0k]
  ------------------
 1542|      0|    case 'A': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1542:5): [True: 0, False: 40.0k]
  ------------------
 1543|      2|    case 'a': return parse_presentation_type(pres::hexfloat, float_set);
  ------------------
  |  Branch (1543:5): [True: 2, False: 40.0k]
  ------------------
 1544|  1.04k|    case 'c':
  ------------------
  |  Branch (1544:5): [True: 1.04k, False: 38.9k]
  ------------------
 1545|  1.04k|      if (arg_type == type::bool_type) report_error("invalid format specifier");
  ------------------
  |  Branch (1545:11): [True: 0, False: 1.04k]
  ------------------
 1546|  1.04k|      return parse_presentation_type(pres::chr, integral_set);
 1547|      1|    case 's':
  ------------------
  |  Branch (1547:5): [True: 1, False: 40.0k]
  ------------------
 1548|      1|      return parse_presentation_type(pres::string,
 1549|      1|                                     bool_set | string_set | cstring_set);
 1550|      0|    case 'p':
  ------------------
  |  Branch (1550:5): [True: 0, False: 40.0k]
  ------------------
 1551|      0|      return parse_presentation_type(pres::pointer, pointer_set | cstring_set);
 1552|  4.54k|    case '?':
  ------------------
  |  Branch (1552:5): [True: 4.54k, False: 35.4k]
  ------------------
 1553|  4.54k|      return parse_presentation_type(pres::debug,
 1554|  4.54k|                                     char_set | string_set | cstring_set);
 1555|  4.53k|    case '}': return begin;
  ------------------
  |  Branch (1555:5): [True: 4.53k, False: 35.5k]
  ------------------
 1556|  3.54k|    default:  {
  ------------------
  |  Branch (1556:5): [True: 3.54k, False: 36.4k]
  ------------------
 1557|  3.54k|      if (*begin == '}') return begin;
  ------------------
  |  Branch (1557:11): [True: 1.07k, False: 2.47k]
  ------------------
 1558|       |      // Parse fill and alignment.
 1559|  2.47k|      auto fill_end = begin + code_point_length(begin);
 1560|  2.47k|      if (end - fill_end <= 0) {
  ------------------
  |  Branch (1560:11): [True: 3, False: 2.47k]
  ------------------
 1561|      3|        report_error("invalid format specifier");
 1562|      3|        return begin;
 1563|      3|      }
 1564|  2.47k|      if (*begin == '{') {
  ------------------
  |  Branch (1564:11): [True: 0, False: 2.47k]
  ------------------
 1565|      0|        report_error("invalid fill character '{'");
 1566|      0|        return begin;
 1567|      0|      }
 1568|  2.47k|      auto alignment = parse_align(to_ascii(*fill_end));
 1569|  2.47k|      enter_state(state::align, alignment != align::none);
 1570|  2.47k|      specs.set_fill(
 1571|  2.47k|          basic_string_view<Char>(begin, to_unsigned(fill_end - begin)));
 1572|  2.47k|      specs.set_align(alignment);
 1573|  2.47k|      begin = fill_end + 1;
 1574|  2.47k|    }
 1575|  40.0k|    }
 1576|  20.5k|    if (begin == end) return begin;
  ------------------
  |  Branch (1576:9): [True: 7, False: 20.4k]
  ------------------
 1577|  20.4k|    c = to_ascii(*begin);
 1578|  20.4k|  }
 1579|  19.5k|}
_ZN3fmt3v126detail8to_asciiIcTnNSt3__19enable_ifIXsr3std11is_integralIT_EE5valueEiE4typeELi0EEEcS5_:
 1280|  58.8k|constexpr auto to_ascii(Char c) -> char {
 1281|  58.8k|  return c <= 0xff ? char(c) : '\0';
  ------------------
  |  Branch (1281:10): [True: 58.8k, False: 0]
  ------------------
 1282|  58.8k|}
_ZN3fmt3v126detail11parse_alignEc:
 1317|  23.2k|FMT_CONSTEXPR inline auto parse_align(char c) -> align {
 1318|  23.2k|  switch (c) {
  ------------------
  |  Branch (1318:11): [True: 6.96k, False: 16.3k]
  ------------------
 1319|  2.76k|  case '<': return align::left;
  ------------------
  |  Branch (1319:3): [True: 2.76k, False: 20.5k]
  ------------------
 1320|  3.90k|  case '>': return align::right;
  ------------------
  |  Branch (1320:3): [True: 3.90k, False: 19.3k]
  ------------------
 1321|    293|  case '^': return align::center;
  ------------------
  |  Branch (1321:3): [True: 293, False: 22.9k]
  ------------------
 1322|  23.2k|  }
 1323|  16.3k|  return align::none;
 1324|  23.2k|}
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt_clENS1_5stateEb:
 1459|  20.5k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1460|  20.5k|      if (current_state >= s || !valid)
  ------------------
  |  Branch (1460:11): [True: 11, False: 20.5k]
  |  Branch (1460:33): [True: 18, False: 20.5k]
  ------------------
 1461|     29|        report_error("invalid format specifier");
 1462|  20.5k|      current_state = s;
 1463|  20.5k|    }
_ZN3fmt3v1211basic_specs9set_alignENS0_5alignE:
  733|  5.20k|  FMT_CONSTEXPR void set_align(fmt::align a) {
  734|  5.20k|    data_ = (data_ & ~align_mask) | (unsigned(a) << align_shift);
  735|  5.20k|  }
_ZN3fmt3v1211basic_specs8set_signENS0_4signE:
  759|     11|  FMT_CONSTEXPR void set_sign(fmt::sign s) {
  760|     11|    data_ = (data_ & ~sign_mask) | (unsigned(s) << sign_shift);
  761|     11|  }
_ZN3fmt3v126detail2inENS1_4typeEi:
 1019|  14.7k|constexpr auto in(type t, int set) -> bool {
 1020|  14.7k|  return ((set >> int(t)) & 1) != 0;
 1021|  14.7k|}
_ZN3fmt3v126detail18is_arithmetic_typeENS1_4typeE:
 1014|  8.51k|constexpr auto is_arithmetic_type(type t) -> bool {
 1015|  8.51k|  return t > type::none_type && t <= type::last_numeric_type;
  ------------------
  |  Branch (1015:10): [True: 8.51k, False: 0]
  |  Branch (1015:33): [True: 8.51k, False: 0]
  ------------------
 1016|  8.51k|}
_ZN3fmt3v126detail11parse_widthIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1418|  7.44k|                               parse_context<Char>& ctx) -> const Char* {
 1419|  7.44k|  auto result = parse_dynamic_spec(begin, end, specs.width, width_ref, ctx);
 1420|  7.44k|  specs.set_dynamic_width(result.kind);
 1421|  7.44k|  return result.end;
 1422|  7.44k|}
_ZN3fmt3v126detail18parse_dynamic_specIcEENS1_25parse_dynamic_spec_resultIT_EEPKS4_S7_RiRNS1_7arg_refIS4_EERNS0_13parse_contextIS4_EE:
 1386|  8.28k|    -> parse_dynamic_spec_result<Char> {
 1387|  8.28k|  FMT_ASSERT(begin != end, "");
  ------------------
  |  |  394|  8.28k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [True: 8.28k, False: 0]
  |  |  ------------------
  |  |  395|  8.28k|         ? (void)0                                                          \
  |  |  396|  8.28k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1388|  8.28k|  auto kind = arg_id_kind::none;
 1389|  8.28k|  if ('0' <= *begin && *begin <= '9') {
  ------------------
  |  Branch (1389:7): [True: 8.28k, False: 0]
  |  Branch (1389:24): [True: 7.93k, False: 352]
  ------------------
 1390|  7.93k|    int val = parse_nonnegative_int(begin, end, -1);
 1391|  7.93k|    if (val == -1) report_error("number is too big");
  ------------------
  |  Branch (1391:9): [True: 5, False: 7.93k]
  ------------------
 1392|  7.93k|    value = val;
 1393|  7.93k|  } else {
 1394|    352|    if (*begin == '{') {
  ------------------
  |  Branch (1394:9): [True: 352, False: 0]
  ------------------
 1395|    352|      ++begin;
 1396|    352|      if (begin != end) {
  ------------------
  |  Branch (1396:11): [True: 352, False: 0]
  ------------------
 1397|    352|        Char c = *begin;
 1398|    352|        if (c == '}' || c == ':') {
  ------------------
  |  Branch (1398:13): [True: 9, False: 343]
  |  Branch (1398:25): [True: 0, False: 343]
  ------------------
 1399|      9|          int id = ctx.next_arg_id();
 1400|      9|          ref = id;
 1401|      9|          kind = arg_id_kind::index;
 1402|      9|          ctx.check_dynamic_spec(id);
 1403|    343|        } else {
 1404|    343|          begin = parse_arg_id(begin, end,
 1405|    343|                               dynamic_spec_handler<Char>{ctx, ref, kind});
 1406|    343|        }
 1407|    352|      }
 1408|    352|      if (begin != end && *begin == '}') return {++begin, kind};
  ------------------
  |  Branch (1408:11): [True: 333, False: 19]
  |  Branch (1408:27): [True: 329, False: 4]
  ------------------
 1409|    352|    }
 1410|     23|    report_error("invalid format string");
 1411|     23|  }
 1412|  7.95k|  return {begin, kind};
 1413|  8.28k|}
_ZN3fmt3v1213parse_contextIcE18check_dynamic_specEi:
 2421|    332|FMT_CONSTEXPR void parse_context<Char>::check_dynamic_spec(int arg_id) {
 2422|    332|  using detail::compile_parse_context;
 2423|    332|  if (detail::is_constant_evaluated() && use_constexpr_cast)
  ------------------
  |  Branch (2423:7): [Folded, False: 332]
  |  Branch (2423:42): [True: 0, Folded]
  ------------------
 2424|      0|    static_cast<compile_parse_context<Char>*>(this)->check_dynamic_spec(arg_id);
 2425|    332|}
_ZN3fmt3v126detail12parse_arg_idIcNS1_20dynamic_spec_handlerIcEEEEPKT_S7_S7_OT0_:
 1332|    343|                                Handler&& handler) -> const Char* {
 1333|    343|  Char c = *begin;
 1334|    343|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1334:7): [True: 343, False: 0]
  |  Branch (1334:19): [True: 336, False: 7]
  ------------------
 1335|    336|    int index = 0;
 1336|    336|    if (c != '0')
  ------------------
  |  Branch (1336:9): [True: 129, False: 207]
  ------------------
 1337|    129|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1338|    207|    else
 1339|    207|      ++begin;
 1340|    336|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1340:9): [True: 0, False: 336]
  |  Branch (1340:26): [True: 7, False: 329]
  |  Branch (1340:43): [True: 4, False: 3]
  ------------------
 1341|      4|      report_error("invalid format string");
 1342|    332|    else
 1343|    332|      handler.on_index(index);
 1344|    336|    return begin;
 1345|    336|  }
 1346|      7|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  295|      7|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1346:7): [Folded, False: 7]
  |  Branch (1346:32): [True: 0, False: 7]
  ------------------
 1347|      0|    report_error("invalid format string");
 1348|      0|    return begin;
 1349|      0|  }
 1350|      7|  auto it = begin;
 1351|   120k|  do {
 1352|   120k|    ++it;
 1353|   120k|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1353:12): [True: 120k, False: 6]
  |  Branch (1353:26): [True: 120k, False: 1]
  |  Branch (1353:49): [True: 1, False: 0]
  |  Branch (1353:63): [True: 0, False: 1]
  ------------------
 1354|      7|  handler.on_name({begin, to_unsigned(it - begin)});
 1355|      7|  return it;
 1356|      7|}
_ZN3fmt3v126detail20dynamic_spec_handlerIcE8on_indexEi:
 1363|    332|  FMT_CONSTEXPR void on_index(int id) {
 1364|    332|    ref = id;
 1365|    332|    kind = arg_id_kind::index;
 1366|    332|    ctx.check_arg_id(id);
 1367|    332|    ctx.check_dynamic_spec(id);
 1368|    332|  }
_ZN3fmt3v126detail20dynamic_spec_handlerIcE7on_nameENS0_17basic_string_viewIcEE:
 1369|      7|  FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1370|      7|    ref = id;
 1371|      7|    kind = arg_id_kind::name;
 1372|      7|    ctx.check_arg_id(id);
 1373|      7|  }
_ZN3fmt3v126detail7arg_refIcEC2ENS0_17basic_string_viewIcEE:
 1264|      7|  FMT_CONSTEXPR arg_ref(basic_string_view<Char> n) : name(n) {}
_ZN3fmt3v1211basic_specs17set_dynamic_widthENS0_11arg_id_kindE:
  740|  7.41k|  FMT_CONSTEXPR void set_dynamic_width(arg_id_kind w) {
  741|  7.41k|    data_ = (data_ & ~width_mask) | (unsigned(w) << width_shift);
  742|  7.41k|  }
_ZN3fmt3v126detail15parse_precisionIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1428|    846|                                   parse_context<Char>& ctx) -> const Char* {
 1429|    846|  ++begin;
 1430|    846|  if (begin == end) {
  ------------------
  |  Branch (1430:7): [True: 0, False: 846]
  ------------------
 1431|      0|    report_error("invalid precision");
 1432|      0|    return begin;
 1433|      0|  }
 1434|    846|  auto result =
 1435|    846|      parse_dynamic_spec(begin, end, specs.precision, precision_ref, ctx);
 1436|    846|  specs.set_dynamic_precision(result.kind);
 1437|    846|  return result.end;
 1438|    846|}
_ZN3fmt3v1211basic_specs21set_dynamic_precisionENS0_11arg_id_kindE:
  748|    846|  FMT_CONSTEXPR void set_dynamic_precision(arg_id_kind p) {
  749|    846|    data_ = (data_ & ~precision_mask) | (unsigned(p) << precision_shift);
  750|    846|  }
_ZN3fmt3v1211basic_specs13set_localizedEv:
  773|  3.61k|  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:
 1473|  13.8k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1474|  13.8k|      if (!in(arg_type, set)) report_error("invalid format specifier");
  ------------------
  |  Branch (1474:11): [True: 4, False: 13.8k]
  ------------------
 1475|  13.8k|      specs.set_type(pres_type);
 1476|  13.8k|      return begin + 1;
 1477|  13.8k|    }
_ZN3fmt3v1211basic_specs8set_typeENS0_17presentation_typeE:
  726|  13.8k|  FMT_CONSTEXPR void set_type(presentation_type t) {
  727|  13.8k|    data_ = (data_ & ~type_mask) | unsigned(t);
  728|  13.8k|  }
_ZN3fmt3v1211basic_specs9set_upperEv:
  764|  1.76k|  FMT_CONSTEXPR void set_upper() { data_ |= uppercase_mask; }
_ZN3fmt3v126detail17code_point_lengthIcEEiPKT_:
 1286|  2.47k|FMT_CONSTEXPR auto code_point_length(const Char* begin) -> int {
 1287|  2.47k|  if FMT_CONSTEXPR20 (sizeof(Char) != 1) return 1;
  ------------------
  |  Branch (1287:23): [Folded, False: 2.47k]
  ------------------
 1288|  2.47k|  auto c = static_cast<unsigned char>(*begin);
 1289|  2.47k|  return static_cast<int>((0x3a55000000000000ull >> (2 * (c >> 3))) & 3) + 1;
 1290|  2.47k|}
_ZN3fmt3v1211basic_specs8set_fillIcEEvNS0_17basic_string_viewIT_EE:
  800|  2.46k|  FMT_CONSTEXPR void set_fill(basic_string_view<Char> s) {
  801|  2.46k|    auto size = s.size();
  802|  2.46k|    set_fill_size(size);
  803|  2.46k|    if (size == 1) {
  ------------------
  |  Branch (803:9): [True: 2.17k, False: 292]
  ------------------
  804|  2.17k|      unsigned uchar = static_cast<detail::unsigned_char<Char>>(s[0]);
  805|  2.17k|      fill_data_[0] = char(uchar);
  806|  2.17k|      fill_data_[1] = char(uchar >> 8);
  807|  2.17k|      fill_data_[2] = char(uchar >> 16);
  808|  2.17k|      return;
  809|  2.17k|    }
  810|    292|    FMT_ASSERT(size <= max_fill_size, "invalid fill");
  ------------------
  |  |  394|    292|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [True: 292, False: 0]
  |  |  ------------------
  |  |  395|    292|         ? (void)0                                                          \
  |  |  396|    292|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  811|  1.17k|    for (size_t i = 0; i < size; ++i) fill_data_[i & 3] = char(s[i]);
  ------------------
  |  Branch (811:24): [True: 882, False: 292]
  ------------------
  812|    292|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE4typeEv:
 2483|  19.5k|  auto type() const -> detail::type { return type_; }
_ZNK3fmt3v1211basic_specs7dynamicEv:
  752|  19.4k|  constexpr auto dynamic() const -> bool {
  753|  19.4k|    return (data_ & (width_mask | precision_mask)) != 0;
  754|  19.4k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail19dynamic_spec_getterEEEDTclfp_Li0EEEOT_:
 2491|    329|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2492|    329|    using detail::map;
 2493|    329|    switch (type_) {
  ------------------
  |  Branch (2493:13): [True: 329, False: 0]
  ------------------
 2494|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2494:5): [True: 0, False: 329]
  ------------------
 2495|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2495:5): [True: 0, False: 329]
  ------------------
 2496|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2496:5): [True: 0, False: 329]
  ------------------
 2497|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2497:5): [True: 0, False: 329]
  ------------------
 2498|    329|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2498:5): [True: 329, False: 0]
  ------------------
 2499|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2499:5): [True: 0, False: 329]
  ------------------
 2500|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2500:5): [True: 0, False: 329]
  ------------------
 2501|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2501:5): [True: 0, False: 329]
  ------------------
 2502|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2502:5): [True: 0, False: 329]
  ------------------
 2503|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2503:5): [True: 0, False: 329]
  ------------------
 2504|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2504:5): [True: 0, False: 329]
  ------------------
 2505|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2505:5): [True: 0, False: 329]
  ------------------
 2506|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2506:5): [True: 0, False: 329]
  ------------------
 2507|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2507:5): [True: 0, False: 329]
  ------------------
 2508|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2508:5): [True: 0, False: 329]
  ------------------
 2509|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2509:5): [True: 0, False: 329]
  ------------------
 2510|    329|    }
 2511|      0|    return vis(monostate());
 2512|    329|  }
_ZNK3fmt3v1211basic_specs13dynamic_widthEv:
  737|    329|  constexpr auto dynamic_width() const -> arg_id_kind {
  738|    329|    return static_cast<arg_id_kind>((data_ & width_mask) >> width_shift);
  739|    329|  }
_ZNK3fmt3v1211basic_specs17dynamic_precisionEv:
  744|    329|  FMT_CONSTEXPR auto dynamic_precision() const -> arg_id_kind {
  745|    329|    return static_cast<arg_id_kind>((data_ & precision_mask) >>
  746|    329|                                    precision_shift);
  747|    329|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail13arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2491|  19.4k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2492|  19.4k|    using detail::map;
 2493|  19.4k|    switch (type_) {
  ------------------
  |  Branch (2493:13): [True: 19.4k, False: 0]
  ------------------
 2494|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2494:5): [True: 0, False: 19.4k]
  ------------------
 2495|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2495:5): [True: 0, False: 19.4k]
  ------------------
 2496|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2496:5): [True: 0, False: 19.4k]
  ------------------
 2497|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2497:5): [True: 0, False: 19.4k]
  ------------------
 2498|  13.9k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2498:5): [True: 13.9k, False: 5.53k]
  ------------------
 2499|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2499:5): [True: 0, False: 19.4k]
  ------------------
 2500|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2500:5): [True: 0, False: 19.4k]
  ------------------
 2501|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2501:5): [True: 0, False: 19.4k]
  ------------------
 2502|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2502:5): [True: 0, False: 19.4k]
  ------------------
 2503|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2503:5): [True: 0, False: 19.4k]
  ------------------
 2504|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2504:5): [True: 0, False: 19.4k]
  ------------------
 2505|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2505:5): [True: 0, False: 19.4k]
  ------------------
 2506|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2506:5): [True: 0, False: 19.4k]
  ------------------
 2507|  5.53k|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2507:5): [True: 5.53k, False: 13.9k]
  ------------------
 2508|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2508:5): [True: 0, False: 19.4k]
  ------------------
 2509|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2509:5): [True: 0, False: 19.4k]
  ------------------
 2510|  19.4k|    }
 2511|      0|    return vis(monostate());
 2512|  19.4k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2IRyEEOT_:
 2478|  3.61k|      : value_(val), type_(detail::stored_type_constant<T, Context>::value) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ey:
 2169|  4.82k|  constexpr FMT_INLINE value(ullong x FMT_BUILTIN) : ulong_long_value(x) {}
_ZN3fmt3v126detail4copyIcPKcPcTnNSt3__19enable_ifIXoontcvNS1_23is_back_insert_iteratorIT1_NS6_17integral_constantIbLb1EEEEE_EntoocvNS1_10has_appendIS9_T0_vEE_EcvNS1_10has_insertIS9_SE_vEE_EEiE4typeELi0EEES9_SE_SE_S9_:
 1916|  11.3k|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1917|  38.6k|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (1917:10): [True: 27.2k, False: 11.3k]
  ------------------
 1918|  11.3k|  return out;
 1919|  11.3k|}
_ZN3fmt3v126detail15counting_bufferIcEC2Ev:
 2065|  18.6M|  constexpr counting_buffer() : buffer<T>(grow, data_, 0, buffer_size) {}
_ZNK3fmt3v126detail15counting_bufferIcE5countEv:
 2067|  18.6M|  constexpr auto count() const noexcept -> size_t {
 2068|  18.6M|    return count_ + this->size();
 2069|  18.6M|  }
_ZN3fmt3v126detail4copyIcPKcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SD_NS0_17basic_string_viewISA_EERKNS0_12format_specsEE23bounded_output_iteratorTnNS9_IXoontcvNS1_23is_back_insert_iteratorIT1_NS8_17integral_constantIbLb1EEEEE_EntoocvNS1_10has_appendISL_SD_vEE_EcvNS1_10has_insertISL_SD_vEE_EEiE4typeELi0EEESL_SD_SD_SL_:
 1916|  18.8M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1917|  26.0M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (1917:10): [True: 7.14M, False: 18.8M]
  ------------------
 1918|  18.8M|  return out;
 1919|  18.8M|}
_ZN3fmt3v126detail4copyIcPcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SC_NS0_17basic_string_viewIS9_EERKNS0_12format_specsEE23bounded_output_iteratorTnNS8_IXoontcvNS1_23is_back_insert_iteratorIT1_NS7_17integral_constantIbLb1EEEEE_EntoocvNS1_10has_appendISK_SC_vEE_EcvNS1_10has_insertISK_SC_vEE_EEiE4typeELi0EEESK_SC_SC_SK_:
 1916|  18.7M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 1917|  56.4M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (1917:10): [True: 37.6M, False: 18.7M]
  ------------------
 1918|  18.7M|  return out;
 1919|  18.7M|}
_ZNK3fmt3v127context6localeEv:
 2664|  19.4k|  constexpr auto locale() const -> locale_ref { return loc_; }
_ZN3fmt3v1213parse_contextIcEC2ENS0_17basic_string_viewIcEEi:
  848|    608|      : fmt_(fmt), next_arg_id_(next_arg_id) {}
_ZN3fmt3v127contextC2ENS0_14basic_appenderIcEENS0_17basic_format_argsIS1_EENS0_10locale_refE:
 2644|    608|      : out_(out), args_(args), loc_(loc) {}
_ZN3fmt3v1210locale_refC2Ev:
  901|    608|  constexpr locale_ref() : locale_(nullptr) {}
_ZN3fmt3v126detail6bufferIcE5beginEv:
 1782|  63.0k|  auto begin() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIcE3endEv:
 1783|  63.0k|  auto end() noexcept -> T* { return ptr_ + size_; }
_ZNK3fmt3v126detail6bufferIcE4dataEv:
 1796|    380|  FMT_CONSTEXPR auto data() const noexcept -> const T* { return ptr_; }
_ZN3fmt3v126detail10get_bufferIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr18is_buffer_appenderIT0_EE5valueEiE4typeELi0EEERNS1_6bufferIT_EES7_:
 2093|    608|auto get_buffer(OutputIt out) -> buffer<T>& {
 2094|    608|  return get_container(out);
 2095|    608|}
_ZN3fmt3v126detail12get_iteratorIcNS0_14basic_appenderIcEEEET0_RNS1_6bufferIT_EES5_:
 2102|    380|auto get_iterator(buffer<T>&, OutputIt out) -> OutputIt {
 2103|    380|  return out;
 2104|    380|}
_ZN3fmt3v1210vformat_toINS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr6detail18is_output_iteratorINS4_9remove_cvINS4_16remove_referenceIT_E4typeEE4typeEcEE5valueEiE4typeELi0EEESC_OS8_NS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEE:
 2796|    608|    -> remove_cvref_t<OutputIt> {
 2797|    608|  auto&& buf = detail::get_buffer<char>(out);
 2798|    608|  detail::vformat_to(buf, fmt, args, {});
 2799|    608|  return detail::get_iterator(buf, out);
 2800|    608|}
_ZN3fmt3v1216make_format_argsINS0_7contextEJKmS3_KNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEELi3ELi0ELy3396EEENS0_6detail16format_arg_storeIT_XT1_EXT2_EXT3_EEEDpRT0_:
 2763|    608|    -> detail::format_arg_store<Context, NUM_ARGS, NUM_NAMED_ARGS, DESC> {
 2764|    608|  return {{args...}};
 2765|    608|}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Em:
 2167|  1.21k|      : value(ulong_type(x)) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2INSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEcTnNS6_9enable_ifIXntsr3std10is_pointerIT_EE5valueEiE4typeELi0EEERKSE_:
 2195|    608|  FMT_CONSTEXPR value(const T& x FMT_BUILTIN) {
 2196|    608|    static_assert(std::is_same<C, char_type>::value,
 2197|    608|                  "mixing character types is disallowed");
 2198|    608|    auto sv = to_string_view(x);
 2199|    608|    string.data = sv.data();
 2200|    608|    string.size = sv.size();
 2201|    608|  }
_ZN3fmt3v126detail14to_string_viewINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEETnNS3_9enable_ifIXsr18is_std_string_likeIT_EE5valueEiE4typeELi0EEENS0_17basic_string_viewINSB_10value_typeEEERKSB_:
  942|    608|    -> basic_string_view<typename T::value_type> {
  943|    608|  return s;
  944|    608|}
_ZN3fmt3v1217basic_format_argsINS0_7contextEEC2ILi3ELi0ELy3396ETnNSt3__19enable_ifIXleT_LNS0_6detail3$_0E15EEiE4typeELi0EEERKNS7_16format_arg_storeIS2_XT_EXT0_EXT1_EEE:
 2576|    608|      : desc_(DESC | (NUM_NAMED_ARGS != 0 ? +detail::has_named_args_bit : 0)),
  ------------------
  |  Branch (2576:23): [Folded, False: 608]
  ------------------
 2577|    608|        values_(s.args) {}
_ZNK3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE3getEv:
 2729|    608|  auto get() const -> string_view { return str; }
_ZN3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEC2IPKcTnNS4_9enable_ifIXsr3std14is_convertibleIRKT_NS0_17basic_string_viewIcEEEE5valueEiE4typeELi0EEESK_:
 2712|    608|  FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) {
 2713|    608|    if (FMT_USE_CONSTEVAL)
  ------------------
  |  |  120|    608|#  define FMT_USE_CONSTEVAL 0
  |  |  ------------------
  |  |  |  Branch (120:29): [Folded, False: 608]
  |  |  ------------------
  ------------------
 2714|      0|      detail::parse_format_string<char>(str, checker(str, arg_pack()));
 2715|    608|    constexpr bool unused = detail::enforce_compile_checks<sizeof(s) != 0>();
 2716|    608|    (void)unused;
 2717|    608|  }

_ZN3fmt3v126detail8allocateEm:
   85|  4.42k|FMT_FUNC auto allocate(size_t size) -> void* {
   86|  4.42k|  void* p = malloc(size);
   87|  4.42k|  if (!p) FMT_THROW(std::bad_alloc());
  ------------------
  |  |  166|      0|#  define FMT_THROW(x) throw x
  ------------------
  |  Branch (87:7): [True: 0, False: 4.42k]
  ------------------
   88|  4.42k|  return p;
   89|  4.42k|}
_ZN3fmt3v126detail10vformat_toERNS1_6bufferIcEENS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEENS0_10locale_refE:
 1467|    608|                         locale_ref loc) {
 1468|    608|  auto out = appender(buf);
 1469|    608|  if (fmt.size() == 2 && equal2(fmt.data(), "{}"))
  ------------------
  |  Branch (1469:7): [True: 1, False: 607]
  |  Branch (1469:26): [True: 0, False: 1]
  ------------------
 1470|      0|    return args.get(0).visit(default_arg_formatter<char>{out});
 1471|    608|  parse_format_string(fmt,
 1472|    608|                      format_handler<>{parse_context<>(fmt), {out, args, loc}});
 1473|    608|}
_ZN3fmt3v126detail9write_locENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsENS0_10locale_refE:
  143|  3.61k|                        const format_specs& specs, locale_ref loc) -> bool {
  144|  3.61k|  auto locale = loc.get<std::locale>();
  145|       |  // We cannot use the num_put<char> facet because it may produce output in
  146|       |  // a wrong encoding.
  147|  3.61k|  using facet = format_facet<std::locale>;
  148|  3.61k|  if (std::has_facet<facet>(locale))
  ------------------
  |  Branch (148:7): [True: 0, False: 3.61k]
  ------------------
  149|      0|    return use_facet<facet>(locale).put(out, value, specs);
  150|  3.61k|  return facet(locale).put(out, value, specs);
  151|  3.61k|}
_ZNK3fmt3v1210locale_ref3getINSt3__16localeEEET_v:
   74|  3.61k|template <typename Locale> auto locale_ref::get() const -> Locale {
   75|  3.61k|  using namespace detail;
   76|  3.61k|  static_assert(std::is_same<Locale, locale>::value, "");
   77|  3.61k|#if FMT_USE_LOCALE
   78|  3.61k|  if (locale_) return *static_cast<const locale*>(locale_);
  ------------------
  |  Branch (78:7): [True: 0, False: 3.61k]
  ------------------
   79|  3.61k|#endif
   80|  3.61k|  return locale();
   81|  3.61k|}
_ZN3fmt3v1212format_facetINSt3__16localeEEC2ERS3_:
  167|  3.61k|template <typename Locale> format_facet<Locale>::format_facet(Locale& loc) {
  168|  3.61k|  auto& np = detail::use_facet<detail::numpunct<char>>(loc);
  169|  3.61k|  grouping_ = np.grouping();
  170|  3.61k|  if (!grouping_.empty()) separator_ = std::string(1, np.thousands_sep());
  ------------------
  |  Branch (170:7): [True: 0, False: 3.61k]
  ------------------
  171|  3.61k|}
_ZNK3fmt3v1212format_facetINSt3__16localeEE6do_putENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsE:
  176|  3.61k|    appender out, loc_value val, const format_specs& specs) const -> bool {
  177|  3.61k|  return val.visit(
  178|  3.61k|      detail::loc_writer<>{out, specs, separator_, grouping_, decimal_point_});
  179|  3.61k|}
_ZN3fmt3v126detail12is_printableEj:
 1819|  39.6M|FMT_FUNC auto is_printable(uint32_t cp) -> bool {
 1820|  39.6M|  static constexpr singleton singletons0[] = {
 1821|  39.6M|      {0x00, 1},  {0x03, 5},  {0x05, 6},  {0x06, 3},  {0x07, 6},  {0x08, 8},
 1822|  39.6M|      {0x09, 17}, {0x0a, 28}, {0x0b, 25}, {0x0c, 20}, {0x0d, 16}, {0x0e, 13},
 1823|  39.6M|      {0x0f, 4},  {0x10, 3},  {0x12, 18}, {0x13, 9},  {0x16, 1},  {0x17, 5},
 1824|  39.6M|      {0x18, 2},  {0x19, 3},  {0x1a, 7},  {0x1c, 2},  {0x1d, 1},  {0x1f, 22},
 1825|  39.6M|      {0x20, 3},  {0x2b, 3},  {0x2c, 2},  {0x2d, 11}, {0x2e, 1},  {0x30, 3},
 1826|  39.6M|      {0x31, 2},  {0x32, 1},  {0xa7, 2},  {0xa9, 2},  {0xaa, 4},  {0xab, 8},
 1827|  39.6M|      {0xfa, 2},  {0xfb, 5},  {0xfd, 4},  {0xfe, 3},  {0xff, 9},
 1828|  39.6M|  };
 1829|  39.6M|  static constexpr unsigned char singletons0_lower[] = {
 1830|  39.6M|      0xad, 0x78, 0x79, 0x8b, 0x8d, 0xa2, 0x30, 0x57, 0x58, 0x8b, 0x8c, 0x90,
 1831|  39.6M|      0x1c, 0x1d, 0xdd, 0x0e, 0x0f, 0x4b, 0x4c, 0xfb, 0xfc, 0x2e, 0x2f, 0x3f,
 1832|  39.6M|      0x5c, 0x5d, 0x5f, 0xb5, 0xe2, 0x84, 0x8d, 0x8e, 0x91, 0x92, 0xa9, 0xb1,
 1833|  39.6M|      0xba, 0xbb, 0xc5, 0xc6, 0xc9, 0xca, 0xde, 0xe4, 0xe5, 0xff, 0x00, 0x04,
 1834|  39.6M|      0x11, 0x12, 0x29, 0x31, 0x34, 0x37, 0x3a, 0x3b, 0x3d, 0x49, 0x4a, 0x5d,
 1835|  39.6M|      0x84, 0x8e, 0x92, 0xa9, 0xb1, 0xb4, 0xba, 0xbb, 0xc6, 0xca, 0xce, 0xcf,
 1836|  39.6M|      0xe4, 0xe5, 0x00, 0x04, 0x0d, 0x0e, 0x11, 0x12, 0x29, 0x31, 0x34, 0x3a,
 1837|  39.6M|      0x3b, 0x45, 0x46, 0x49, 0x4a, 0x5e, 0x64, 0x65, 0x84, 0x91, 0x9b, 0x9d,
 1838|  39.6M|      0xc9, 0xce, 0xcf, 0x0d, 0x11, 0x29, 0x45, 0x49, 0x57, 0x64, 0x65, 0x8d,
 1839|  39.6M|      0x91, 0xa9, 0xb4, 0xba, 0xbb, 0xc5, 0xc9, 0xdf, 0xe4, 0xe5, 0xf0, 0x0d,
 1840|  39.6M|      0x11, 0x45, 0x49, 0x64, 0x65, 0x80, 0x84, 0xb2, 0xbc, 0xbe, 0xbf, 0xd5,
 1841|  39.6M|      0xd7, 0xf0, 0xf1, 0x83, 0x85, 0x8b, 0xa4, 0xa6, 0xbe, 0xbf, 0xc5, 0xc7,
 1842|  39.6M|      0xce, 0xcf, 0xda, 0xdb, 0x48, 0x98, 0xbd, 0xcd, 0xc6, 0xce, 0xcf, 0x49,
 1843|  39.6M|      0x4e, 0x4f, 0x57, 0x59, 0x5e, 0x5f, 0x89, 0x8e, 0x8f, 0xb1, 0xb6, 0xb7,
 1844|  39.6M|      0xbf, 0xc1, 0xc6, 0xc7, 0xd7, 0x11, 0x16, 0x17, 0x5b, 0x5c, 0xf6, 0xf7,
 1845|  39.6M|      0xfe, 0xff, 0x80, 0x0d, 0x6d, 0x71, 0xde, 0xdf, 0x0e, 0x0f, 0x1f, 0x6e,
 1846|  39.6M|      0x6f, 0x1c, 0x1d, 0x5f, 0x7d, 0x7e, 0xae, 0xaf, 0xbb, 0xbc, 0xfa, 0x16,
 1847|  39.6M|      0x17, 0x1e, 0x1f, 0x46, 0x47, 0x4e, 0x4f, 0x58, 0x5a, 0x5c, 0x5e, 0x7e,
 1848|  39.6M|      0x7f, 0xb5, 0xc5, 0xd4, 0xd5, 0xdc, 0xf0, 0xf1, 0xf5, 0x72, 0x73, 0x8f,
 1849|  39.6M|      0x74, 0x75, 0x96, 0x2f, 0x5f, 0x26, 0x2e, 0x2f, 0xa7, 0xaf, 0xb7, 0xbf,
 1850|  39.6M|      0xc7, 0xcf, 0xd7, 0xdf, 0x9a, 0x40, 0x97, 0x98, 0x30, 0x8f, 0x1f, 0xc0,
 1851|  39.6M|      0xc1, 0xce, 0xff, 0x4e, 0x4f, 0x5a, 0x5b, 0x07, 0x08, 0x0f, 0x10, 0x27,
 1852|  39.6M|      0x2f, 0xee, 0xef, 0x6e, 0x6f, 0x37, 0x3d, 0x3f, 0x42, 0x45, 0x90, 0x91,
 1853|  39.6M|      0xfe, 0xff, 0x53, 0x67, 0x75, 0xc8, 0xc9, 0xd0, 0xd1, 0xd8, 0xd9, 0xe7,
 1854|  39.6M|      0xfe, 0xff,
 1855|  39.6M|  };
 1856|  39.6M|  static constexpr singleton singletons1[] = {
 1857|  39.6M|      {0x00, 6},  {0x01, 1}, {0x03, 1},  {0x04, 2}, {0x08, 8},  {0x09, 2},
 1858|  39.6M|      {0x0a, 5},  {0x0b, 2}, {0x0e, 4},  {0x10, 1}, {0x11, 2},  {0x12, 5},
 1859|  39.6M|      {0x13, 17}, {0x14, 1}, {0x15, 2},  {0x17, 2}, {0x19, 13}, {0x1c, 5},
 1860|  39.6M|      {0x1d, 8},  {0x24, 1}, {0x6a, 3},  {0x6b, 2}, {0xbc, 2},  {0xd1, 2},
 1861|  39.6M|      {0xd4, 12}, {0xd5, 9}, {0xd6, 2},  {0xd7, 2}, {0xda, 1},  {0xe0, 5},
 1862|  39.6M|      {0xe1, 2},  {0xe8, 2}, {0xee, 32}, {0xf0, 4}, {0xf8, 2},  {0xf9, 2},
 1863|  39.6M|      {0xfa, 2},  {0xfb, 1},
 1864|  39.6M|  };
 1865|  39.6M|  static constexpr unsigned char singletons1_lower[] = {
 1866|  39.6M|      0x0c, 0x27, 0x3b, 0x3e, 0x4e, 0x4f, 0x8f, 0x9e, 0x9e, 0x9f, 0x06, 0x07,
 1867|  39.6M|      0x09, 0x36, 0x3d, 0x3e, 0x56, 0xf3, 0xd0, 0xd1, 0x04, 0x14, 0x18, 0x36,
 1868|  39.6M|      0x37, 0x56, 0x57, 0x7f, 0xaa, 0xae, 0xaf, 0xbd, 0x35, 0xe0, 0x12, 0x87,
 1869|  39.6M|      0x89, 0x8e, 0x9e, 0x04, 0x0d, 0x0e, 0x11, 0x12, 0x29, 0x31, 0x34, 0x3a,
 1870|  39.6M|      0x45, 0x46, 0x49, 0x4a, 0x4e, 0x4f, 0x64, 0x65, 0x5c, 0xb6, 0xb7, 0x1b,
 1871|  39.6M|      0x1c, 0x07, 0x08, 0x0a, 0x0b, 0x14, 0x17, 0x36, 0x39, 0x3a, 0xa8, 0xa9,
 1872|  39.6M|      0xd8, 0xd9, 0x09, 0x37, 0x90, 0x91, 0xa8, 0x07, 0x0a, 0x3b, 0x3e, 0x66,
 1873|  39.6M|      0x69, 0x8f, 0x92, 0x6f, 0x5f, 0xee, 0xef, 0x5a, 0x62, 0x9a, 0x9b, 0x27,
 1874|  39.6M|      0x28, 0x55, 0x9d, 0xa0, 0xa1, 0xa3, 0xa4, 0xa7, 0xa8, 0xad, 0xba, 0xbc,
 1875|  39.6M|      0xc4, 0x06, 0x0b, 0x0c, 0x15, 0x1d, 0x3a, 0x3f, 0x45, 0x51, 0xa6, 0xa7,
 1876|  39.6M|      0xcc, 0xcd, 0xa0, 0x07, 0x19, 0x1a, 0x22, 0x25, 0x3e, 0x3f, 0xc5, 0xc6,
 1877|  39.6M|      0x04, 0x20, 0x23, 0x25, 0x26, 0x28, 0x33, 0x38, 0x3a, 0x48, 0x4a, 0x4c,
 1878|  39.6M|      0x50, 0x53, 0x55, 0x56, 0x58, 0x5a, 0x5c, 0x5e, 0x60, 0x63, 0x65, 0x66,
 1879|  39.6M|      0x6b, 0x73, 0x78, 0x7d, 0x7f, 0x8a, 0xa4, 0xaa, 0xaf, 0xb0, 0xc0, 0xd0,
 1880|  39.6M|      0xae, 0xaf, 0x79, 0xcc, 0x6e, 0x6f, 0x93,
 1881|  39.6M|  };
 1882|  39.6M|  static constexpr unsigned char normal0[] = {
 1883|  39.6M|      0x00, 0x20, 0x5f, 0x22, 0x82, 0xdf, 0x04, 0x82, 0x44, 0x08, 0x1b, 0x04,
 1884|  39.6M|      0x06, 0x11, 0x81, 0xac, 0x0e, 0x80, 0xab, 0x35, 0x28, 0x0b, 0x80, 0xe0,
 1885|  39.6M|      0x03, 0x19, 0x08, 0x01, 0x04, 0x2f, 0x04, 0x34, 0x04, 0x07, 0x03, 0x01,
 1886|  39.6M|      0x07, 0x06, 0x07, 0x11, 0x0a, 0x50, 0x0f, 0x12, 0x07, 0x55, 0x07, 0x03,
 1887|  39.6M|      0x04, 0x1c, 0x0a, 0x09, 0x03, 0x08, 0x03, 0x07, 0x03, 0x02, 0x03, 0x03,
 1888|  39.6M|      0x03, 0x0c, 0x04, 0x05, 0x03, 0x0b, 0x06, 0x01, 0x0e, 0x15, 0x05, 0x3a,
 1889|  39.6M|      0x03, 0x11, 0x07, 0x06, 0x05, 0x10, 0x07, 0x57, 0x07, 0x02, 0x07, 0x15,
 1890|  39.6M|      0x0d, 0x50, 0x04, 0x43, 0x03, 0x2d, 0x03, 0x01, 0x04, 0x11, 0x06, 0x0f,
 1891|  39.6M|      0x0c, 0x3a, 0x04, 0x1d, 0x25, 0x5f, 0x20, 0x6d, 0x04, 0x6a, 0x25, 0x80,
 1892|  39.6M|      0xc8, 0x05, 0x82, 0xb0, 0x03, 0x1a, 0x06, 0x82, 0xfd, 0x03, 0x59, 0x07,
 1893|  39.6M|      0x15, 0x0b, 0x17, 0x09, 0x14, 0x0c, 0x14, 0x0c, 0x6a, 0x06, 0x0a, 0x06,
 1894|  39.6M|      0x1a, 0x06, 0x59, 0x07, 0x2b, 0x05, 0x46, 0x0a, 0x2c, 0x04, 0x0c, 0x04,
 1895|  39.6M|      0x01, 0x03, 0x31, 0x0b, 0x2c, 0x04, 0x1a, 0x06, 0x0b, 0x03, 0x80, 0xac,
 1896|  39.6M|      0x06, 0x0a, 0x06, 0x21, 0x3f, 0x4c, 0x04, 0x2d, 0x03, 0x74, 0x08, 0x3c,
 1897|  39.6M|      0x03, 0x0f, 0x03, 0x3c, 0x07, 0x38, 0x08, 0x2b, 0x05, 0x82, 0xff, 0x11,
 1898|  39.6M|      0x18, 0x08, 0x2f, 0x11, 0x2d, 0x03, 0x20, 0x10, 0x21, 0x0f, 0x80, 0x8c,
 1899|  39.6M|      0x04, 0x82, 0x97, 0x19, 0x0b, 0x15, 0x88, 0x94, 0x05, 0x2f, 0x05, 0x3b,
 1900|  39.6M|      0x07, 0x02, 0x0e, 0x18, 0x09, 0x80, 0xb3, 0x2d, 0x74, 0x0c, 0x80, 0xd6,
 1901|  39.6M|      0x1a, 0x0c, 0x05, 0x80, 0xff, 0x05, 0x80, 0xdf, 0x0c, 0xee, 0x0d, 0x03,
 1902|  39.6M|      0x84, 0x8d, 0x03, 0x37, 0x09, 0x81, 0x5c, 0x14, 0x80, 0xb8, 0x08, 0x80,
 1903|  39.6M|      0xcb, 0x2a, 0x38, 0x03, 0x0a, 0x06, 0x38, 0x08, 0x46, 0x08, 0x0c, 0x06,
 1904|  39.6M|      0x74, 0x0b, 0x1e, 0x03, 0x5a, 0x04, 0x59, 0x09, 0x80, 0x83, 0x18, 0x1c,
 1905|  39.6M|      0x0a, 0x16, 0x09, 0x4c, 0x04, 0x80, 0x8a, 0x06, 0xab, 0xa4, 0x0c, 0x17,
 1906|  39.6M|      0x04, 0x31, 0xa1, 0x04, 0x81, 0xda, 0x26, 0x07, 0x0c, 0x05, 0x05, 0x80,
 1907|  39.6M|      0xa5, 0x11, 0x81, 0x6d, 0x10, 0x78, 0x28, 0x2a, 0x06, 0x4c, 0x04, 0x80,
 1908|  39.6M|      0x8d, 0x04, 0x80, 0xbe, 0x03, 0x1b, 0x03, 0x0f, 0x0d,
 1909|  39.6M|  };
 1910|  39.6M|  static constexpr unsigned char normal1[] = {
 1911|  39.6M|      0x5e, 0x22, 0x7b, 0x05, 0x03, 0x04, 0x2d, 0x03, 0x66, 0x03, 0x01, 0x2f,
 1912|  39.6M|      0x2e, 0x80, 0x82, 0x1d, 0x03, 0x31, 0x0f, 0x1c, 0x04, 0x24, 0x09, 0x1e,
 1913|  39.6M|      0x05, 0x2b, 0x05, 0x44, 0x04, 0x0e, 0x2a, 0x80, 0xaa, 0x06, 0x24, 0x04,
 1914|  39.6M|      0x24, 0x04, 0x28, 0x08, 0x34, 0x0b, 0x01, 0x80, 0x90, 0x81, 0x37, 0x09,
 1915|  39.6M|      0x16, 0x0a, 0x08, 0x80, 0x98, 0x39, 0x03, 0x63, 0x08, 0x09, 0x30, 0x16,
 1916|  39.6M|      0x05, 0x21, 0x03, 0x1b, 0x05, 0x01, 0x40, 0x38, 0x04, 0x4b, 0x05, 0x2f,
 1917|  39.6M|      0x04, 0x0a, 0x07, 0x09, 0x07, 0x40, 0x20, 0x27, 0x04, 0x0c, 0x09, 0x36,
 1918|  39.6M|      0x03, 0x3a, 0x05, 0x1a, 0x07, 0x04, 0x0c, 0x07, 0x50, 0x49, 0x37, 0x33,
 1919|  39.6M|      0x0d, 0x33, 0x07, 0x2e, 0x08, 0x0a, 0x81, 0x26, 0x52, 0x4e, 0x28, 0x08,
 1920|  39.6M|      0x2a, 0x56, 0x1c, 0x14, 0x17, 0x09, 0x4e, 0x04, 0x1e, 0x0f, 0x43, 0x0e,
 1921|  39.6M|      0x19, 0x07, 0x0a, 0x06, 0x48, 0x08, 0x27, 0x09, 0x75, 0x0b, 0x3f, 0x41,
 1922|  39.6M|      0x2a, 0x06, 0x3b, 0x05, 0x0a, 0x06, 0x51, 0x06, 0x01, 0x05, 0x10, 0x03,
 1923|  39.6M|      0x05, 0x80, 0x8b, 0x62, 0x1e, 0x48, 0x08, 0x0a, 0x80, 0xa6, 0x5e, 0x22,
 1924|  39.6M|      0x45, 0x0b, 0x0a, 0x06, 0x0d, 0x13, 0x39, 0x07, 0x0a, 0x36, 0x2c, 0x04,
 1925|  39.6M|      0x10, 0x80, 0xc0, 0x3c, 0x64, 0x53, 0x0c, 0x48, 0x09, 0x0a, 0x46, 0x45,
 1926|  39.6M|      0x1b, 0x48, 0x08, 0x53, 0x1d, 0x39, 0x81, 0x07, 0x46, 0x0a, 0x1d, 0x03,
 1927|  39.6M|      0x47, 0x49, 0x37, 0x03, 0x0e, 0x08, 0x0a, 0x06, 0x39, 0x07, 0x0a, 0x81,
 1928|  39.6M|      0x36, 0x19, 0x80, 0xb7, 0x01, 0x0f, 0x32, 0x0d, 0x83, 0x9b, 0x66, 0x75,
 1929|  39.6M|      0x0b, 0x80, 0xc4, 0x8a, 0xbc, 0x84, 0x2f, 0x8f, 0xd1, 0x82, 0x47, 0xa1,
 1930|  39.6M|      0xb9, 0x82, 0x39, 0x07, 0x2a, 0x04, 0x02, 0x60, 0x26, 0x0a, 0x46, 0x0a,
 1931|  39.6M|      0x28, 0x05, 0x13, 0x82, 0xb0, 0x5b, 0x65, 0x4b, 0x04, 0x39, 0x07, 0x11,
 1932|  39.6M|      0x40, 0x05, 0x0b, 0x02, 0x0e, 0x97, 0xf8, 0x08, 0x84, 0xd6, 0x2a, 0x09,
 1933|  39.6M|      0xa2, 0xf7, 0x81, 0x1f, 0x31, 0x03, 0x11, 0x04, 0x08, 0x81, 0x8c, 0x89,
 1934|  39.6M|      0x04, 0x6b, 0x05, 0x0d, 0x03, 0x09, 0x07, 0x10, 0x93, 0x60, 0x80, 0xf6,
 1935|  39.6M|      0x0a, 0x73, 0x08, 0x6e, 0x17, 0x46, 0x80, 0x9a, 0x14, 0x0c, 0x57, 0x09,
 1936|  39.6M|      0x19, 0x80, 0x87, 0x81, 0x47, 0x03, 0x85, 0x42, 0x0f, 0x15, 0x85, 0x50,
 1937|  39.6M|      0x2b, 0x80, 0xd5, 0x2d, 0x03, 0x1a, 0x04, 0x02, 0x81, 0x70, 0x3a, 0x05,
 1938|  39.6M|      0x01, 0x85, 0x00, 0x80, 0xd7, 0x29, 0x4c, 0x04, 0x0a, 0x04, 0x02, 0x83,
 1939|  39.6M|      0x11, 0x44, 0x4c, 0x3d, 0x80, 0xc2, 0x3c, 0x06, 0x01, 0x04, 0x55, 0x05,
 1940|  39.6M|      0x1b, 0x34, 0x02, 0x81, 0x0e, 0x2c, 0x04, 0x64, 0x0c, 0x56, 0x0a, 0x80,
 1941|  39.6M|      0xae, 0x38, 0x1d, 0x0d, 0x2c, 0x04, 0x09, 0x07, 0x02, 0x0e, 0x06, 0x80,
 1942|  39.6M|      0x9a, 0x83, 0xd8, 0x08, 0x0d, 0x03, 0x0d, 0x03, 0x74, 0x0c, 0x59, 0x07,
 1943|  39.6M|      0x0c, 0x14, 0x0c, 0x04, 0x38, 0x08, 0x0a, 0x06, 0x28, 0x08, 0x22, 0x4e,
 1944|  39.6M|      0x81, 0x54, 0x0c, 0x15, 0x03, 0x03, 0x05, 0x07, 0x09, 0x19, 0x07, 0x07,
 1945|  39.6M|      0x09, 0x03, 0x0d, 0x07, 0x29, 0x80, 0xcb, 0x25, 0x0a, 0x84, 0x06,
 1946|  39.6M|  };
 1947|  39.6M|  auto lower = static_cast<uint16_t>(cp);
 1948|  39.6M|  if (cp < 0x10000) {
  ------------------
  |  Branch (1948:7): [True: 17.3M, False: 22.3M]
  ------------------
 1949|  17.3M|    return is_printable(lower, singletons0,
 1950|  17.3M|                        sizeof(singletons0) / sizeof(*singletons0),
 1951|  17.3M|                        singletons0_lower, normal0, sizeof(normal0));
 1952|  17.3M|  }
 1953|  22.3M|  if (cp < 0x20000) {
  ------------------
  |  Branch (1953:7): [True: 8.32k, False: 22.3M]
  ------------------
 1954|  8.32k|    return is_printable(lower, singletons1,
 1955|  8.32k|                        sizeof(singletons1) / sizeof(*singletons1),
 1956|  8.32k|                        singletons1_lower, normal1, sizeof(normal1));
 1957|  8.32k|  }
 1958|  22.3M|  if (0x2a6de <= cp && cp < 0x2a700) return false;
  ------------------
  |  Branch (1958:7): [True: 22.3M, False: 0]
  |  Branch (1958:24): [True: 0, False: 22.3M]
  ------------------
 1959|  22.3M|  if (0x2b735 <= cp && cp < 0x2b740) return false;
  ------------------
  |  Branch (1959:7): [True: 22.3M, False: 10]
  |  Branch (1959:24): [True: 327, False: 22.3M]
  ------------------
 1960|  22.3M|  if (0x2b81e <= cp && cp < 0x2b820) return false;
  ------------------
  |  Branch (1960:7): [True: 22.3M, False: 26]
  |  Branch (1960:24): [True: 128, False: 22.3M]
  ------------------
 1961|  22.3M|  if (0x2cea2 <= cp && cp < 0x2ceb0) return false;
  ------------------
  |  Branch (1961:7): [True: 22.3M, False: 222]
  |  Branch (1961:24): [True: 1.27k, False: 22.3M]
  ------------------
 1962|  22.3M|  if (0x2ebe1 <= cp && cp < 0x2f800) return false;
  ------------------
  |  Branch (1962:7): [True: 22.3M, False: 230]
  |  Branch (1962:24): [True: 2.28k, False: 22.3M]
  ------------------
 1963|  22.3M|  if (0x2fa1e <= cp && cp < 0x30000) return false;
  ------------------
  |  Branch (1963:7): [True: 22.3M, False: 278]
  |  Branch (1963:24): [True: 10.1k, False: 22.2M]
  ------------------
 1964|  22.2M|  if (0x3134b <= cp && cp < 0xe0100) return false;
  ------------------
  |  Branch (1964:7): [True: 22.2M, False: 318]
  |  Branch (1964:24): [True: 13.2k, False: 22.2M]
  ------------------
 1965|  22.2M|  if (0xe01f0 <= cp && cp < 0x110000) return false;
  ------------------
  |  Branch (1965:7): [True: 22.2M, False: 333]
  |  Branch (1965:24): [True: 33.2k, False: 22.2M]
  ------------------
 1966|  22.2M|  return cp < 0x110000;
 1967|  22.2M|}
_ZN3fmt3v126detail12is_printableEtPKNS1_9singletonEmPKhS6_m:
 1791|  17.3M|    -> bool {
 1792|  17.3M|  auto upper = x >> 8;
 1793|  17.3M|  auto lower_start = 0;
 1794|  36.5M|  for (size_t i = 0; i < singletons_size; ++i) {
  ------------------
  |  Branch (1794:22): [True: 36.5M, False: 748]
  ------------------
 1795|  36.5M|    auto s = singletons[i];
 1796|  36.5M|    auto lower_end = lower_start + s.lower_count;
 1797|  36.5M|    if (upper < s.upper) break;
  ------------------
  |  Branch (1797:9): [True: 17.3M, False: 19.2M]
  ------------------
 1798|  19.2M|    if (upper == s.upper) {
  ------------------
  |  Branch (1798:9): [True: 17.3M, False: 1.89M]
  ------------------
 1799|  34.8M|      for (auto j = lower_start; j < lower_end; ++j) {
  ------------------
  |  Branch (1799:34): [True: 17.5M, False: 17.2M]
  ------------------
 1800|  17.5M|        if (singleton_lowers[j] == (x & 0xff)) return false;
  ------------------
  |  Branch (1800:13): [True: 18.5k, False: 17.5M]
  ------------------
 1801|  17.5M|      }
 1802|  17.3M|    }
 1803|  19.1M|    lower_start = lower_end;
 1804|  19.1M|  }
 1805|       |
 1806|  17.3M|  auto xsigned = static_cast<int>(x);
 1807|  17.3M|  auto current = true;
 1808|  60.4M|  for (size_t i = 0; i < normal_size; ++i) {
  ------------------
  |  Branch (1808:22): [True: 60.4M, False: 0]
  ------------------
 1809|  60.4M|    auto v = static_cast<int>(normal[i]);
 1810|  60.4M|    auto len = (v & 0x80) != 0 ? (v & 0x7f) << 8 | normal[++i] : v;
  ------------------
  |  Branch (1810:16): [True: 821k, False: 59.6M]
  ------------------
 1811|  60.4M|    xsigned -= len;
 1812|  60.4M|    if (xsigned < 0) break;
  ------------------
  |  Branch (1812:9): [True: 17.3M, False: 43.1M]
  ------------------
 1813|  43.1M|    current = !current;
 1814|  43.1M|  }
 1815|  17.3M|  return current;
 1816|  17.3M|}
_ZN3fmt3v1212report_errorEPKc:
  155|    228|FMT_FUNC void report_error(const char* message) {
  156|       |#if FMT_MSC_VERSION || defined(__NVCC__)
  157|       |  // Silence unreachable code warnings in MSVC and NVCC because these
  158|       |  // are nearly impossible to fix in a generic code.
  159|       |  volatile bool b = true;
  160|       |  if (!b) return;
  161|       |#endif
  162|    228|  FMT_THROW(format_error(message));
  ------------------
  |  |  166|    228|#  define FMT_THROW(x) throw x
  ------------------
  163|    228|}

_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEEC2ERKS4_:
  822|   192k|      : detail::buffer<T>(grow), alloc_(alloc) {
  823|   192k|    this->set(store_, SIZE);
  824|   192k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (824:9): [Folded, False: 192k]
  ------------------
  825|   192k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE4growERNS2_6bufferIcEEm:
  792|  4.42k|  static FMT_CONSTEXPR20 void grow(detail::buffer<T>& buf, size_t size) {
  793|  4.42k|    detail::abort_fuzzing_if(size > 5000);
  794|  4.42k|    auto& self = static_cast<basic_memory_buffer&>(buf);
  795|  4.42k|    const size_t max_size =
  796|  4.42k|        std::allocator_traits<Allocator>::max_size(self.alloc_);
  797|  4.42k|    size_t old_capacity = buf.capacity();
  798|  4.42k|    size_t new_capacity = old_capacity + old_capacity / 2;
  799|  4.42k|    if (size > new_capacity)
  ------------------
  |  Branch (799:9): [True: 458, False: 3.96k]
  ------------------
  800|    458|      new_capacity = size;
  801|  3.96k|    else if (new_capacity > max_size)
  ------------------
  |  Branch (801:14): [True: 0, False: 3.96k]
  ------------------
  802|      0|      new_capacity = max_of(size, max_size);
  803|  4.42k|    T* old_data = buf.data();
  804|  4.42k|    T* new_data = self.alloc_.allocate(new_capacity);
  805|       |    // Suppress a bogus -Wstringop-overflow in gcc 13.1 (#3481).
  806|  4.42k|    detail::assume(buf.size() <= new_capacity);
  807|       |    // The following code doesn't throw, so the raw pointer above doesn't leak.
  808|  4.42k|    memcpy(new_data, old_data, buf.size() * sizeof(T));
  809|  4.42k|    self.set(new_data, new_capacity);
  810|       |    // deallocate must not throw according to the standard, but even if it does,
  811|       |    // the buffer already uses the new storage and will deallocate it in
  812|       |    // destructor.
  813|  4.42k|    if (old_data != self.store_) self.alloc_.deallocate(old_data, old_capacity);
  ------------------
  |  Branch (813:9): [True: 3.82k, False: 606]
  ------------------
  814|  4.42k|  }
_ZN3fmt3v126detail16abort_fuzzing_ifEb:
  241|  4.42k|FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) {
  242|  4.42k|  ignore_unused(condition);
  243|       |#ifdef FMT_FUZZ
  244|       |  if (condition) throw std::runtime_error("fuzzing limit reached");
  245|       |#endif
  246|  4.42k|}
_ZN3fmt3v126detail9allocatorIcE8allocateEm:
  733|  4.42k|  auto allocate(size_t n) -> T* {
  734|  4.42k|    if (n > max_value<size_t>() / sizeof(T)) FMT_THROW(std::bad_alloc());
  ------------------
  |  |  166|      0|#  define FMT_THROW(x) throw x
  ------------------
  |  Branch (734:9): [True: 0, False: 4.42k]
  ------------------
  735|  4.42k|    return static_cast<T*>(detail::allocate(n * sizeof(T)));
  736|  4.42k|  }
_ZN3fmt3v126detail9max_valueImEET_v:
  408|  4.42k|template <typename T> constexpr auto max_value() -> T {
  409|  4.42k|  return (std::numeric_limits<T>::max)();
  410|  4.42k|}
_ZN3fmt3v126detail6assumeEb:
  460|  4.42k|FMT_INLINE void assume(bool condition) {
  461|  4.42k|  (void)condition;
  462|  4.42k|#if FMT_HAS_BUILTIN(__builtin_assume) && !FMT_ICC_VERSION
  463|  4.42k|  __builtin_assume(condition);
  464|       |#elif FMT_GCC_VERSION
  465|       |  if (!condition) __builtin_unreachable();
  466|       |#endif
  467|  4.42k|}
_ZN3fmt3v126detail9allocatorIcE10deallocateEPcm:
  738|  4.42k|  void deallocate(T* p, size_t) { free(p); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEED2Ev:
  826|   192k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE10deallocateEv:
  787|   192k|  FMT_CONSTEXPR20 void deallocate() {
  788|   192k|    T* data = this->data();
  789|   192k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (789:9): [True: 606, False: 192k]
  ------------------
  790|   192k|  }
_ZN3fmt3v1210format_intC2Ei:
 4209|   121k|  FMT_CONSTEXPR20 explicit format_int(int value) : str_(format_signed(value)) {}
_ZN3fmt3v1210format_int13format_signedIiEEPcT_:
 4199|   121k|  FMT_CONSTEXPR20 auto format_signed(Int value) -> char* {
 4200|   121k|    auto abs_value = static_cast<detail::uint32_or_64_or_128_t<Int>>(value);
 4201|   121k|    bool negative = value < 0;
 4202|   121k|    if (negative) abs_value = 0 - abs_value;
  ------------------
  |  Branch (4202:9): [True: 0, False: 121k]
  ------------------
 4203|   121k|    auto begin = format_unsigned(abs_value);
 4204|   121k|    if (negative) *--begin = '-';
  ------------------
  |  Branch (4204:9): [True: 0, False: 121k]
  ------------------
 4205|   121k|    return begin;
 4206|   121k|  }
_ZN3fmt3v1210format_int15format_unsignedIjEEPcT_:
 4193|   142k|  FMT_CONSTEXPR20 auto format_unsigned(UInt value) -> char* {
 4194|   142k|    auto n = static_cast<detail::uint32_or_64_or_128_t<UInt>>(value);
 4195|   142k|    return detail::do_format_decimal(buffer_, n, buffer_size - 1);
 4196|   142k|  }
_ZN3fmt3v126detail17do_format_decimalIcjEEPT_S4_T0_i:
 1230|   142k|    -> Char* {
 1231|   142k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  394|   142k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [True: 142k, False: 0]
  |  |  ------------------
  |  |  395|   142k|         ? (void)0                                                          \
  |  |  396|   142k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1232|   142k|  unsigned n = to_unsigned(size);
 1233|   273k|  while (value >= 100) {
  ------------------
  |  Branch (1233:10): [True: 131k, False: 142k]
  ------------------
 1234|   131k|    n -= 2;
 1235|   131k|    if (!is_constant_evaluated() && sizeof(UInt) == 4) {
  ------------------
  |  Branch (1235:9): [True: 0, Folded]
  |  Branch (1235:37): [True: 0, Folded]
  ------------------
 1236|   131k|      auto p = value * static_cast<uint64_t>((1ull << 39) / 100 + 1);
 1237|   131k|      write2digits_i(out + n, p >> (39 - 7) & ((1 << 7) - 1));
 1238|   131k|      value = static_cast<UInt>(p >> 39) +
 1239|   131k|              (static_cast<UInt>(value >= (100u << 25)) << 25);
 1240|   131k|    } else {
 1241|       |      // Integer division is slow so do it for a group of two digits instead
 1242|       |      // of for every digit. The idea comes from the talk by Alexandrescu
 1243|       |      // "Three Optimization Tips for C++". See speed-test for a comparison.
 1244|      0|      write2digits(out + n, static_cast<unsigned>(value % 100));
 1245|      0|      value /= 100;
 1246|      0|    }
 1247|   131k|  }
 1248|   142k|  if (value >= 10) {
  ------------------
  |  Branch (1248:7): [True: 110k, False: 31.8k]
  ------------------
 1249|   110k|    n -= 2;
 1250|   110k|    write2digits(out + n, static_cast<unsigned>(value));
 1251|   110k|  } else {
 1252|  31.8k|    out[--n] = static_cast<Char>('0' + value);
 1253|  31.8k|  }
 1254|   142k|  return out + n;
 1255|   142k|}
_ZN3fmt3v126detail12count_digitsEj:
 1144|   147k|FMT_CONSTEXPR20 inline auto count_digits(uint32_t n) -> int {
 1145|   147k|#ifdef FMT_BUILTIN_CLZ
 1146|   147k|  if (!is_constant_evaluated() && !FMT_OPTIMIZE_SIZE) return do_count_digits(n);
  ------------------
  |  |  295|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1146:7): [True: 0, Folded]
  |  Branch (1146:35): [True: 0, Folded]
  ------------------
 1147|      0|#endif
 1148|      0|  return count_digits_fallback(n);
 1149|   147k|}
_ZN3fmt3v126detail15do_count_digitsEj:
 1121|   147k|FMT_INLINE auto do_count_digits(uint32_t n) -> int {
 1122|       |// An optimization by Kendall Willets from https://bit.ly/3uOIQrB.
 1123|       |// This increments the upper 32 bits (log10(T) - 1) when >= T is added.
 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
 1125|   147k|  static constexpr uint64_t table[] = {
 1126|   147k|      FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1127|   147k|      FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1128|   147k|      FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1129|   147k|      FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1130|   147k|      FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1131|   147k|      FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1132|   147k|      FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1133|   147k|      FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1134|   147k|      FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1135|   147k|      FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1136|   147k|      FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1124|   147k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1137|   147k|  };
 1138|   147k|  auto inc = table[FMT_BUILTIN_CLZ(n | 1) ^ 31];
  ------------------
  |  |  197|   147k|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1139|   147k|  return static_cast<int>((n + inc) >> 32);
 1140|   147k|}
_ZN3fmt3v126detail14write2digits_iIcEEvPT_m:
 1217|   131k|FMT_INLINE void write2digits_i(Char* out, size_t value) {
 1218|   131k|  if (std::is_same<Char, char>::value && !FMT_OPTIMIZE_SIZE) {
  ------------------
  |  |  295|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1218:7): [True: 0, Folded]
  |  Branch (1218:42): [True: 0, Folded]
  ------------------
 1219|   131k|    memcpy(out, digits2_i(value), 2);
 1220|   131k|    return;
 1221|   131k|  }
 1222|      0|  *out++ = static_cast<Char>(digits2_i(value)[0]);
 1223|      0|  *out = static_cast<Char>(digits2_i(value)[1]);
 1224|      0|}
_ZN3fmt3v126detail9digits2_iEm:
 1033|   131k|inline auto digits2_i(size_t value) noexcept -> const char* {
 1034|   131k|  alignas(2) static constexpr char data[] =
 1035|   131k|      "00010203  0405060707080910  1112"
 1036|   131k|      "131414151617  18192021  222324  "
 1037|   131k|      "25262728  2930313232333435  3637"
 1038|   131k|      "383939404142  43444546  474849  "
 1039|   131k|      "50515253  5455565757585960  6162"
 1040|   131k|      "636464656667  68697071  727374  "
 1041|   131k|      "75767778  7980818282838485  8687"
 1042|   131k|      "888989909192  93949596  979899  ";
 1043|   131k|  return &data[value * 2];
 1044|   131k|}
_ZN3fmt3v126detail12write2digitsIcEEvPT_m:
 1206|  1.07M|FMT_CONSTEXPR20 FMT_INLINE void write2digits(Char* out, size_t value) {
 1207|  1.07M|  if (!is_constant_evaluated() && std::is_same<Char, char>::value &&
  ------------------
  |  Branch (1207:7): [True: 0, Folded]
  |  Branch (1207:35): [True: 0, Folded]
  ------------------
 1208|  1.07M|      !FMT_OPTIMIZE_SIZE) {
  ------------------
  |  |  295|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1208:7): [True: 0, Folded]
  ------------------
 1209|  1.07M|    memcpy(out, digits2(value), 2);
 1210|  1.07M|    return;
 1211|  1.07M|  }
 1212|      0|  *out++ = static_cast<Char>('0' + value / 10);
 1213|      0|  *out = static_cast<Char>('0' + value % 10);
 1214|      0|}
_ZN3fmt3v126detail7digits2Em:
 1018|  1.07M|inline auto digits2(size_t value) noexcept -> const char* {
 1019|       |  // Align data since unaligned access may be slower when crossing a
 1020|       |  // hardware-specific boundary.
 1021|  1.07M|  alignas(2) static constexpr char data[] =
 1022|  1.07M|      "0001020304050607080910111213141516171819"
 1023|  1.07M|      "2021222324252627282930313233343536373839"
 1024|  1.07M|      "4041424344454647484950515253545556575859"
 1025|  1.07M|      "6061626364656667686970717273747576777879"
 1026|  1.07M|      "8081828384858687888990919293949596979899";
 1027|  1.07M|  return &data[value * 2];
 1028|  1.07M|}
_ZNK3fmt3v1210format_int4dataEv:
 4228|   931k|  FMT_CONSTEXPR20 auto data() const -> const char* { return str_; }
_ZNK3fmt3v1210format_int4sizeEv:
 4222|   465k|  FMT_CONSTEXPR20 auto size() const -> size_t {
 4223|   465k|    return detail::to_unsigned(buffer_ - str_ + buffer_size - 1);
 4224|   465k|  }
_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:
  512|  4.26k|FMT_CONSTEXPR20 auto to_pointer(basic_appender<T> it, size_t n) -> T* {
  513|  4.26k|  buffer<T>& buf = get_container(it);
  514|  4.26k|  buf.try_reserve(buf.size() + n);
  515|  4.26k|  auto size = buf.size();
  516|  4.26k|  if (buf.capacity() < size + n) return nullptr;
  ------------------
  |  Branch (516:7): [True: 0, False: 4.26k]
  ------------------
  517|  4.26k|  buf.try_resize(size + n);
  518|  4.26k|  return buf.data() + size;
  519|  4.26k|}
_ZN3fmt3v126detail12count_digitsEm:
 1094|   594k|FMT_CONSTEXPR20 inline auto count_digits(uint64_t n) -> int {
 1095|   594k|#ifdef FMT_BUILTIN_CLZLL
 1096|   594k|  if (!is_constant_evaluated() && !FMT_OPTIMIZE_SIZE) return do_count_digits(n);
  ------------------
  |  |  295|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1096:7): [True: 0, Folded]
  |  Branch (1096:35): [True: 0, Folded]
  ------------------
 1097|      0|#endif
 1098|      0|  return count_digits_fallback(n);
 1099|   594k|}
_ZN3fmt3v126detail15do_count_digitsEm:
 1074|   594k|inline auto do_count_digits(uint64_t n) -> int {
 1075|       |  // This has comparable performance to the version by Kendall Willets
 1076|       |  // (https://github.com/fmtlib/format-benchmark/blob/master/digits10)
 1077|       |  // but uses smaller tables.
 1078|       |  // Maps bsr(n) to ceil(log10(pow(2, bsr(n) + 1) - 1)).
 1079|   594k|  static constexpr uint8_t bsr2log10[] = {
 1080|   594k|      1,  1,  1,  2,  2,  2,  3,  3,  3,  4,  4,  4,  4,  5,  5,  5,
 1081|   594k|      6,  6,  6,  7,  7,  7,  7,  8,  8,  8,  9,  9,  9,  10, 10, 10,
 1082|   594k|      10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15,
 1083|   594k|      15, 16, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 19, 20};
 1084|   594k|  auto t = bsr2log10[FMT_BUILTIN_CLZLL(n | 1) ^ 63];
  ------------------
  |  |  200|   594k|#    define FMT_BUILTIN_CLZLL(n) __builtin_clzll(n)
  ------------------
 1085|   594k|  static constexpr uint64_t zero_or_powers_of_10[] = {
 1086|   594k|      0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1012|   594k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1013|   594k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1014|   594k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
                    0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1012|   594k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1013|   594k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1014|   594k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
 1087|   594k|      10000000000000000000ULL};
 1088|   594k|  return t - (n < zero_or_powers_of_10[t]);
 1089|   594k|}
_ZN3fmt3v126detail14format_decimalIcmEEPT_S4_T0_i:
 1259|  1.26k|                                             int num_digits) -> Char* {
 1260|  1.26k|  do_format_decimal(out, value, num_digits);
 1261|  1.26k|  return out + num_digits;
 1262|  1.26k|}
_ZN3fmt3v126detail17do_format_decimalIcmEEPT_S4_T0_i:
 1230|   330k|    -> Char* {
 1231|   330k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  394|   330k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [True: 330k, False: 0]
  |  |  ------------------
  |  |  395|   330k|         ? (void)0                                                          \
  |  |  396|   330k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1232|   330k|  unsigned n = to_unsigned(size);
 1233|  1.13M|  while (value >= 100) {
  ------------------
  |  Branch (1233:10): [True: 801k, False: 330k]
  ------------------
 1234|   801k|    n -= 2;
 1235|   801k|    if (!is_constant_evaluated() && sizeof(UInt) == 4) {
  ------------------
  |  Branch (1235:9): [True: 0, Folded]
  |  Branch (1235:37): [Folded, False: 0]
  ------------------
 1236|      0|      auto p = value * static_cast<uint64_t>((1ull << 39) / 100 + 1);
 1237|      0|      write2digits_i(out + n, p >> (39 - 7) & ((1 << 7) - 1));
 1238|      0|      value = static_cast<UInt>(p >> 39) +
 1239|      0|              (static_cast<UInt>(value >= (100u << 25)) << 25);
 1240|   801k|    } else {
 1241|       |      // Integer division is slow so do it for a group of two digits instead
 1242|       |      // of for every digit. The idea comes from the talk by Alexandrescu
 1243|       |      // "Three Optimization Tips for C++". See speed-test for a comparison.
 1244|   801k|      write2digits(out + n, static_cast<unsigned>(value % 100));
 1245|   801k|      value /= 100;
 1246|   801k|    }
 1247|   801k|  }
 1248|   330k|  if (value >= 10) {
  ------------------
  |  Branch (1248:7): [True: 167k, False: 162k]
  ------------------
 1249|   167k|    n -= 2;
 1250|   167k|    write2digits(out + n, static_cast<unsigned>(value));
 1251|   167k|  } else {
 1252|   162k|    out[--n] = static_cast<Char>('0' + value);
 1253|   162k|  }
 1254|   330k|  return out + n;
 1255|   330k|}
_ZN3fmt3v126detail14format_decimalIcmNS0_14basic_appenderIcEETnNSt3__19enable_ifIXntsr3std10is_pointerINS5_9remove_cvINS5_16remove_referenceIT1_E4typeEE4typeEEE5valueEiE4typeELi0EEES9_S9_T0_i:
 1267|    547|    -> OutputIt {
 1268|    547|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1268:12): [True: 547, False: 0]
  ------------------
 1269|    547|    do_format_decimal(ptr, value, num_digits);
 1270|    547|    return out;
 1271|    547|  }
 1272|       |  // Buffer is large enough to hold all digits (digits10 + 1).
 1273|      0|  char buffer[digits10<UInt>() + 1];
 1274|      0|  if (is_constant_evaluated()) fill_n(buffer, sizeof(buffer), '\0');
  ------------------
  |  Branch (1274:7): [Folded, False: 0]
  ------------------
 1275|      0|  do_format_decimal(buffer, value, num_digits);
 1276|      0|  return copy_noinline<Char>(buffer, buffer + num_digits, out);
 1277|    547|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3690|  1.26k|  void operator()(T value) {
 3691|  1.26k|    write<Char>(out, value);
 3692|  1.26k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEyTnNSt3__19enable_ifIXaaaasr11is_integralIT1_EE5valuentsr3std7is_sameIS7_bEE5valuentsr3std7is_sameIS7_T_EE5valueEiE4typeELi0EEET0_SB_S7_:
 2320|  1.26k|FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
 2321|  1.26k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2322|  1.26k|  bool negative = is_negative(value);
 2323|       |  // Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
 2324|  1.26k|  if (negative) abs_value = ~abs_value + 1;
  ------------------
  |  Branch (2324:7): [True: 0, False: 1.26k]
  ------------------
 2325|  1.26k|  int num_digits = count_digits(abs_value);
 2326|  1.26k|  auto size = (negative ? 1 : 0) + static_cast<size_t>(num_digits);
  ------------------
  |  Branch (2326:16): [True: 0, False: 1.26k]
  ------------------
 2327|  1.26k|  if (auto ptr = to_pointer<Char>(out, size)) {
  ------------------
  |  Branch (2327:12): [True: 1.26k, False: 0]
  ------------------
 2328|  1.26k|    if (negative) *ptr++ = static_cast<Char>('-');
  ------------------
  |  Branch (2328:9): [True: 0, False: 1.26k]
  ------------------
 2329|  1.26k|    format_decimal<Char>(ptr, abs_value, num_digits);
 2330|  1.26k|    return out;
 2331|  1.26k|  }
 2332|      0|  if (negative) *out++ = static_cast<Char>('-');
  ------------------
  |  Branch (2332:7): [True: 0, False: 0]
  ------------------
 2333|      0|  return format_decimal<Char>(out, abs_value, num_digits);
 2334|  1.26k|}
_ZN3fmt3v126detail11is_negativeIyTnNSt3__19enable_ifIXntsr9is_signedIT_EE5valueEiE4typeELi0EEEbS5_:
  997|  15.5k|constexpr auto is_negative(T) -> bool {
  998|  15.5k|  return false;
  999|  15.5k|}
_ZNK3fmt3v1212format_facetINSt3__16localeEE3putENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsE:
 3943|  3.61k|      -> bool {
 3944|  3.61k|    return do_put(out, val, specs);
 3945|  3.61k|  }
_ZN3fmt3v129loc_value5visitINS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 3915|  3.61k|  template <typename Visitor> auto visit(Visitor&& vis) -> decltype(vis(0)) {
 3916|  3.61k|    return value_.visit(vis);
 3917|  3.61k|  }
_ZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EE:
 1966|  3.61k|    -> OutputIt {
 1967|  3.61k|  static_assert(std::is_same<uint64_or_128_t<UInt>, UInt>::value, "");
 1968|  3.61k|  int num_digits = 0;
 1969|  3.61k|  auto buffer = memory_buffer();
 1970|  3.61k|  switch (specs.type()) {
 1971|      0|  default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  394|      0|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [Folded, False: 0]
  |  |  ------------------
  |  |  395|      0|         ? (void)0                                                          \
  |  |  396|      0|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
                default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1971:3): [True: 0, False: 3.61k]
  ------------------
 1972|     97|  case presentation_type::none:
  ------------------
  |  Branch (1972:3): [True: 97, False: 3.51k]
  ------------------
 1973|    547|  case presentation_type::dec:
  ------------------
  |  Branch (1973:3): [True: 450, False: 3.16k]
  ------------------
 1974|    547|    num_digits = count_digits(value);
 1975|    547|    format_decimal<char>(appender(buffer), value, num_digits);
 1976|    547|    break;
 1977|  1.19k|  case presentation_type::hex:
  ------------------
  |  Branch (1977:3): [True: 1.19k, False: 2.41k]
  ------------------
 1978|  1.19k|    if (specs.alt())
  ------------------
  |  Branch (1978:9): [True: 425, False: 767]
  ------------------
 1979|    425|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (1979:38): [True: 304, False: 121]
  ------------------
 1980|  1.19k|    num_digits = count_digits<4>(value);
 1981|  1.19k|    format_base2e<char>(4, appender(buffer), value, num_digits, specs.upper());
 1982|  1.19k|    break;
 1983|    597|  case presentation_type::oct:
  ------------------
  |  Branch (1983:3): [True: 597, False: 3.01k]
  ------------------
 1984|    597|    num_digits = count_digits<3>(value);
 1985|       |    // Octal prefix '0' is counted as a digit, so only add it if precision
 1986|       |    // is not greater than the number of digits.
 1987|    597|    if (specs.alt() && specs.precision <= num_digits && value != 0)
  ------------------
  |  Branch (1987:9): [True: 305, False: 292]
  |  Branch (1987:24): [True: 305, False: 0]
  |  Branch (1987:57): [True: 145, False: 160]
  ------------------
 1988|    145|      prefix_append(prefix, '0');
 1989|    597|    format_base2e<char>(3, appender(buffer), value, num_digits);
 1990|    597|    break;
 1991|    659|  case presentation_type::bin:
  ------------------
  |  Branch (1991:3): [True: 659, False: 2.95k]
  ------------------
 1992|    659|    if (specs.alt())
  ------------------
  |  Branch (1992:9): [True: 261, False: 398]
  ------------------
 1993|    261|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (1993:38): [True: 4, False: 257]
  ------------------
 1994|    659|    num_digits = count_digits<1>(value);
 1995|    659|    format_base2e<char>(1, appender(buffer), value, num_digits);
 1996|    659|    break;
 1997|    615|  case presentation_type::chr:
  ------------------
  |  Branch (1997:3): [True: 615, False: 2.99k]
  ------------------
 1998|    615|    return write_char<Char>(out, static_cast<Char>(value), specs);
 1999|  3.61k|  }
 2000|       |
 2001|  2.99k|  unsigned size = (prefix != 0 ? prefix >> 24 : 0) + to_unsigned(num_digits) +
  ------------------
  |  Branch (2001:20): [True: 831, False: 2.16k]
  ------------------
 2002|  2.99k|                  to_unsigned(grouping.count_separators(num_digits));
 2003|  2.99k|  return write_padded<Char, align::right>(
 2004|  2.99k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 2005|  2.99k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 2006|  2.99k|          *it++ = static_cast<Char>(p & 0xff);
 2007|  2.99k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 2008|  2.99k|      });
 2009|  3.61k|}
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEEC2ERKS4_:
  822|  3.61k|      : detail::buffer<T>(grow), alloc_(alloc) {
  823|  3.61k|    this->set(store_, SIZE);
  824|  3.61k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (824:9): [Folded, False: 3.61k]
  ------------------
  825|  3.61k|  }
_ZN3fmt3v126detail13prefix_appendERjj:
 1957|  2.35k|FMT_CONSTEXPR inline void prefix_append(unsigned& prefix, unsigned value) {
 1958|  2.35k|  prefix |= prefix != 0 ? value << 8 : value;
  ------------------
  |  Branch (1958:13): [True: 0, False: 2.35k]
  ------------------
 1959|  2.35k|  prefix += (1u + (value > 0xff ? 1 : 0)) << 24;
  ------------------
  |  Branch (1959:20): [True: 2.00k, False: 352]
  ------------------
 1960|  2.35k|}
_ZN3fmt3v126detail12count_digitsILi4EmEEiT0_:
 1103|  1.19k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1104|  1.19k|#ifdef FMT_BUILTIN_CLZ
 1105|  1.19k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1105:7): [True: 0, Folded]
  |  Branch (1105:35): [Folded, False: 0]
  ------------------
 1106|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  197|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1107|  1.19k|#endif
 1108|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1109|  1.19k|  return [](UInt m) {
 1110|  1.19k|    int num_digits = 0;
 1111|  1.19k|    do {
 1112|  1.19k|      ++num_digits;
 1113|  1.19k|    } while ((m >>= BITS) != 0);
 1114|  1.19k|    return num_digits;
 1115|  1.19k|  }(n);
 1116|  1.19k|}
_ZZN3fmt3v126detail12count_digitsILi4EmEEiT0_ENKUlmE_clEm:
 1109|  1.19k|  return [](UInt m) {
 1110|  1.19k|    int num_digits = 0;
 1111|  18.6k|    do {
 1112|  18.6k|      ++num_digits;
 1113|  18.6k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1113:14): [True: 17.4k, False: 1.19k]
  ------------------
 1114|  1.19k|    return num_digits;
 1115|  1.19k|  }(n);
_ZN3fmt3v126detail13format_base2eIcNS0_14basic_appenderIcEEmTnNSt3__19enable_ifIXsr23is_back_insert_iteratorIT0_EE5valueEiE4typeELi0EEES7_iS7_T1_ib:
 1304|  2.44k|    -> OutputIt {
 1305|  2.44k|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1305:12): [True: 2.44k, False: 0]
  ------------------
 1306|  2.44k|    format_base2e(base_bits, ptr, value, num_digits, upper);
 1307|  2.44k|    return out;
 1308|  2.44k|  }
 1309|       |  // Make buffer large enough for any base.
 1310|      0|  char buffer[num_bits<UInt>()];
 1311|      0|  if (is_constant_evaluated()) fill_n(buffer, sizeof(buffer), '\0');
  ------------------
  |  Branch (1311:7): [Folded, False: 0]
  ------------------
 1312|      0|  format_base2e(base_bits, buffer, value, num_digits, upper);
 1313|      0|  return detail::copy_noinline<Char>(buffer, buffer + num_digits, out);
 1314|  2.44k|}
_ZN3fmt3v126detail13format_base2eIcmEEPT_iS4_T0_ib:
 1295|  2.44k|                                 int num_digits, bool upper = false) -> Char* {
 1296|  2.44k|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1297|  2.44k|  return out + num_digits;
 1298|  2.44k|}
_ZN3fmt3v126detail16do_format_base2eIcmEEPT_iS4_T0_ib:
 1281|  7.44k|                                    int size, bool upper = false) -> Char* {
 1282|  7.44k|  out += size;
 1283|   201k|  do {
 1284|   201k|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1284:26): [True: 20.9k, False: 180k]
  ------------------
 1285|   201k|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1286|   201k|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1286:32): [True: 162k, False: 39.3k]
  ------------------
 1287|   201k|                                             : digits[digit]);
 1288|   201k|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1288:12): [True: 194k, False: 7.44k]
  ------------------
 1289|  7.44k|  return out;
 1290|  7.44k|}
_ZN3fmt3v126detail12count_digitsILi3EmEEiT0_:
 1103|    597|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1104|    597|#ifdef FMT_BUILTIN_CLZ
 1105|    597|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1105:7): [True: 0, Folded]
  |  Branch (1105:35): [Folded, False: 0]
  ------------------
 1106|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  197|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1107|    597|#endif
 1108|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1109|    597|  return [](UInt m) {
 1110|    597|    int num_digits = 0;
 1111|    597|    do {
 1112|    597|      ++num_digits;
 1113|    597|    } while ((m >>= BITS) != 0);
 1114|    597|    return num_digits;
 1115|    597|  }(n);
 1116|    597|}
_ZZN3fmt3v126detail12count_digitsILi3EmEEiT0_ENKUlmE_clEm:
 1109|    597|  return [](UInt m) {
 1110|    597|    int num_digits = 0;
 1111|  6.93k|    do {
 1112|  6.93k|      ++num_digits;
 1113|  6.93k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1113:14): [True: 6.33k, False: 597]
  ------------------
 1114|    597|    return num_digits;
 1115|    597|  }(n);
_ZN3fmt3v126detail12count_digitsILi1EmEEiT0_:
 1103|    659|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1104|    659|#ifdef FMT_BUILTIN_CLZ
 1105|    659|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1105:7): [True: 0, Folded]
  |  Branch (1105:35): [Folded, False: 0]
  ------------------
 1106|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  197|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1107|    659|#endif
 1108|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1109|    659|  return [](UInt m) {
 1110|    659|    int num_digits = 0;
 1111|    659|    do {
 1112|    659|      ++num_digits;
 1113|    659|    } while ((m >>= BITS) != 0);
 1114|    659|    return num_digits;
 1115|    659|  }(n);
 1116|    659|}
_ZZN3fmt3v126detail12count_digitsILi1EmEEiT0_ENKUlmE_clEm:
 1109|    659|  return [](UInt m) {
 1110|    659|    int num_digits = 0;
 1111|  39.3k|    do {
 1112|  39.3k|      ++num_digits;
 1113|  39.3k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1113:14): [True: 38.6k, False: 659]
  ------------------
 1114|    659|    return num_digits;
 1115|    659|  }(n);
_ZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsE:
 1884|  1.04k|                              const format_specs& specs) -> OutputIt {
 1885|  1.04k|  bool is_debug = specs.type() == presentation_type::debug;
 1886|  1.04k|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1887|  1.04k|    if (is_debug) return write_escaped_char(it, value);
 1888|  1.04k|    *it++ = value;
 1889|  1.04k|    return it;
 1890|  1.04k|  });
 1891|  1.04k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SD_SB_mOT2_:
 1734|  1.04k|                            size_t size, F&& f) -> OutputIt {
 1735|  1.04k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1736|  1.04k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEERZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SE_SB_mmOT2_:
 1713|  1.04k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1714|  1.04k|  static_assert(default_align == align::left || default_align == align::right,
 1715|  1.04k|                "");
 1716|  1.04k|  unsigned spec_width = to_unsigned(specs.width);
 1717|  1.04k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1717:20): [True: 259, False: 788]
  ------------------
 1718|       |  // Shifts are encoded as string literals because static constexpr is not
 1719|       |  // supported in constexpr functions.
 1720|  1.04k|  auto* shifts =
 1721|  1.04k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1721:7): [True: 1.04k, Folded]
  ------------------
 1722|  1.04k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1723|  1.04k|  size_t right_padding = padding - left_padding;
 1724|  1.04k|  auto it = reserve(out, size + padding * specs.fill_size());
 1725|  1.04k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1725:7): [True: 257, False: 790]
  ------------------
 1726|  1.04k|  it = f(it);
 1727|  1.04k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1727:7): [True: 2, False: 1.04k]
  ------------------
 1728|  1.04k|  return base_iterator(out, it);
 1729|  1.04k|}
_ZN3fmt3v126detail7reserveIcEENS0_14basic_appenderIT_EES5_m:
  487|  19.4k|    -> basic_appender<T> {
  488|  19.4k|  buffer<T>& buf = get_container(it);
  489|  19.4k|  buf.try_reserve(buf.size() + n);
  490|  19.4k|  return it;
  491|  19.4k|}
_ZN3fmt3v126detail4fillIcNS0_14basic_appenderIcEEEET0_S5_mRKNS0_11basic_specsE:
 1698|  1.82k|                                     const basic_specs& specs) -> OutputIt {
 1699|  1.82k|  auto fill_size = specs.fill_size();
 1700|  1.82k|  if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
  ------------------
  |  Branch (1700:7): [True: 1.68k, False: 137]
  ------------------
 1701|    137|  if (const Char* data = specs.fill<Char>()) {
  ------------------
  |  Branch (1701:19): [True: 137, False: 0]
  ------------------
 1702|    791|    for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
  ------------------
  |  Branch (1702:24): [True: 654, False: 137]
  ------------------
 1703|    137|  }
 1704|    137|  return it;
 1705|  1.82k|}
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEmcEET_S5_T0_RKT1_:
  539|  1.68k|    -> OutputIt {
  540|  3.76G|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (540:20): [True: 3.76G, False: 1.68k]
  ------------------
  541|  1.68k|  return out;
  542|  1.68k|}
_ZZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsEENKUlS4_E_clES4_:
 1886|  1.04k|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1887|  1.04k|    if (is_debug) return write_escaped_char(it, value);
  ------------------
  |  Branch (1887:9): [True: 0, False: 1.04k]
  ------------------
 1888|  1.04k|    *it++ = value;
 1889|  1.04k|    return it;
 1890|  1.04k|  });
_ZN3fmt3v126detail12needs_escapeEj:
 1765|  65.0M|inline auto needs_escape(uint32_t cp) -> bool {
 1766|  65.0M|  if (cp < 0x20 || cp == 0x7f || cp == '"' || cp == '\\') return true;
  ------------------
  |  Branch (1766:7): [True: 24.8M, False: 40.2M]
  |  Branch (1766:20): [True: 29.2k, False: 40.1M]
  |  Branch (1766:34): [True: 549k, False: 39.6M]
  |  Branch (1766:47): [True: 3.75k, False: 39.6M]
  ------------------
 1767|  39.6M|  if FMT_CONSTEXPR20 (FMT_OPTIMIZE_SIZE > 1) return false;
  ------------------
  |  |  295|  39.6M|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1767:23): [Folded, False: 39.6M]
  ------------------
 1768|  39.6M|  return !is_printable(cp);
 1769|  39.6M|}
_ZN3fmt3v126detail16write_escaped_cpINS0_14basic_appenderIcEEcEET_S5_RKNS1_18find_escape_resultIT0_EE:
 1815|  28.8M|    -> OutputIt {
 1816|  28.8M|  auto c = static_cast<Char>(escape.cp);
 1817|  28.8M|  switch (escape.cp) {
 1818|   381k|  case '\n':
  ------------------
  |  Branch (1818:3): [True: 381k, False: 28.5M]
  ------------------
 1819|   381k|    *out++ = static_cast<Char>('\\');
 1820|   381k|    c = static_cast<Char>('n');
 1821|   381k|    break;
 1822|   548k|  case '\r':
  ------------------
  |  Branch (1822:3): [True: 548k, False: 28.3M]
  ------------------
 1823|   548k|    *out++ = static_cast<Char>('\\');
 1824|   548k|    c = static_cast<Char>('r');
 1825|   548k|    break;
 1826|  18.5k|  case '\t':
  ------------------
  |  Branch (1826:3): [True: 18.5k, False: 28.8M]
  ------------------
 1827|  18.5k|    *out++ = static_cast<Char>('\\');
 1828|  18.5k|    c = static_cast<Char>('t');
 1829|  18.5k|    break;
 1830|   542k|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|   542k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1830:3): [True: 542k, False: 28.3M]
  ------------------
 1831|   542k|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|   542k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1831:3): [True: 0, False: 28.8M]
  ------------------
 1832|   544k|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1832:3): [True: 1.94k, False: 28.8M]
  ------------------
 1833|  27.3M|  default:
  ------------------
  |  Branch (1833:3): [True: 27.3M, False: 1.49M]
  ------------------
 1834|  27.3M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1834:9): [True: 15.0M, False: 12.3M]
  ------------------
 1835|  12.3M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1835:9): [True: 27.3k, False: 12.3M]
  ------------------
 1836|  27.3k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1837|  12.3M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1837:9): [True: 38.0k, False: 12.2M]
  ------------------
 1838|  38.0k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1839|  12.2M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1839:27): [True: 12.2M, False: 12.2M]
  ------------------
 1840|  12.2M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1841|  12.2M|      out = write_codepoint<2, Char>(out, 'x',
 1842|  12.2M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1843|  12.2M|    }
 1844|  12.2M|    return out;
 1845|  28.8M|  }
 1846|  1.49M|  *out++ = c;
 1847|  1.49M|  return out;
 1848|  28.8M|}
_ZN3fmt3v126detail15write_codepointILm2EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1804|  27.3M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|  27.3M|  *out++ = static_cast<Char>('\\');
 1806|  27.3M|  *out++ = static_cast<Char>(prefix);
 1807|  27.3M|  Char buf[width];
 1808|  27.3M|  fill_n(buf, width, static_cast<Char>('0'));
 1809|  27.3M|  format_base2e(4, buf, cp, width);
 1810|  27.3M|  return copy<Char>(buf, buf + width, out);
 1811|  27.3M|}
_ZN3fmt3v126detail6fill_nIcmEEPT_S4_T0_c:
  544|  46.1M|FMT_CONSTEXPR20 auto fill_n(T* out, Size count, char value) -> T* {
  545|  46.1M|  if (is_constant_evaluated()) return fill_n<T*, Size, T>(out, count, value);
  ------------------
  |  Branch (545:7): [Folded, False: 46.1M]
  ------------------
  546|  46.1M|  static_assert(sizeof(T) == 1,
  547|  46.1M|                "sizeof(T) must be 1 to use char for initialization");
  548|  46.1M|  memset(out, value, to_unsigned(count));
  549|  46.1M|  return out + count;
  550|  46.1M|}
_ZN3fmt3v126detail13format_base2eIcjEEPT_iS4_T0_ib:
 1295|  46.1M|                                 int num_digits, bool upper = false) -> Char* {
 1296|  46.1M|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1297|  46.1M|  return out + num_digits;
 1298|  46.1M|}
_ZN3fmt3v126detail16do_format_base2eIcjEEPT_iS4_T0_ib:
 1281|  46.1M|                                    int size, bool upper = false) -> Char* {
 1282|  46.1M|  out += size;
 1283|  71.5M|  do {
 1284|  71.5M|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1284:26): [True: 0, False: 71.5M]
  ------------------
 1285|  71.5M|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1286|  71.5M|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1286:32): [True: 0, False: 71.5M]
  ------------------
 1287|  71.5M|                                             : digits[digit]);
 1288|  71.5M|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1288:12): [True: 25.4M, False: 46.1M]
  ------------------
 1289|  46.1M|  return out;
 1290|  46.1M|}
_ZN3fmt3v126detail15write_codepointILm4EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1804|  27.3k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|  27.3k|  *out++ = static_cast<Char>('\\');
 1806|  27.3k|  *out++ = static_cast<Char>(prefix);
 1807|  27.3k|  Char buf[width];
 1808|  27.3k|  fill_n(buf, width, static_cast<Char>('0'));
 1809|  27.3k|  format_base2e(4, buf, cp, width);
 1810|  27.3k|  return copy<Char>(buf, buf + width, out);
 1811|  27.3k|}
_ZN3fmt3v126detail15write_codepointILm8EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1804|  38.0k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|  38.0k|  *out++ = static_cast<Char>('\\');
 1806|  38.0k|  *out++ = static_cast<Char>(prefix);
 1807|  38.0k|  Char buf[width];
 1808|  38.0k|  fill_n(buf, width, static_cast<Char>('0'));
 1809|  38.0k|  format_base2e(4, buf, cp, width);
 1810|  38.0k|  return copy<Char>(buf, buf + width, out);
 1811|  38.0k|}
_ZN3fmt3v126detail13base_iteratorINS0_14basic_appenderIcEEEET_S5_S5_:
  531|  18.0k|constexpr auto base_iterator(Iterator, Iterator it) -> Iterator {
  532|  18.0k|  return it;
  533|  18.0k|}
_ZNK3fmt3v126detail14digit_groupingIcE16count_separatorsEi:
 1926|  2.99k|  auto count_separators(int num_digits) const -> int {
 1927|  2.99k|    int count = 0;
 1928|  2.99k|    auto state = initial_state();
 1929|  2.99k|    while (num_digits > next(state)) ++count;
  ------------------
  |  Branch (1929:12): [True: 0, False: 2.99k]
  ------------------
 1930|  2.99k|    return count;
 1931|  2.99k|  }
_ZNK3fmt3v126detail14digit_groupingIcE13initial_stateEv:
 1902|  5.99k|  auto initial_state() const -> next_state { return {grouping_.begin(), 0}; }
_ZNK3fmt3v126detail14digit_groupingIcE4nextERNS3_10next_stateE:
 1905|  5.99k|  auto next(next_state& state) const -> int {
 1906|  5.99k|    if (thousands_sep_.empty()) return max_value<int>();
  ------------------
  |  Branch (1906:9): [True: 5.99k, False: 0]
  ------------------
 1907|      0|    if (state.group == grouping_.end()) return state.pos += grouping_.back();
  ------------------
  |  Branch (1907:9): [True: 0, False: 0]
  ------------------
 1908|      0|    if (*state.group <= 0 || *state.group == max_value<char>())
  ------------------
  |  Branch (1908:9): [True: 0, False: 0]
  |  Branch (1908:30): [True: 0, False: 0]
  ------------------
 1909|      0|      return max_value<int>();
 1910|      0|    state.pos += *state.group++;
 1911|      0|    return state.pos;
 1912|      0|  }
_ZN3fmt3v126detail9max_valueIiEET_v:
  408|  6.31k|template <typename T> constexpr auto max_value() -> T {
  409|  6.31k|  return (std::numeric_limits<T>::max)();
  410|  6.31k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIS5_mcEET_S7_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEEUlS5_E_EESD_SD_SB_mmOT2_:
 1713|  2.99k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1714|  2.99k|  static_assert(default_align == align::left || default_align == align::right,
 1715|  2.99k|                "");
 1716|  2.99k|  unsigned spec_width = to_unsigned(specs.width);
 1717|  2.99k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1717:20): [True: 379, False: 2.61k]
  ------------------
 1718|       |  // Shifts are encoded as string literals because static constexpr is not
 1719|       |  // supported in constexpr functions.
 1720|  2.99k|  auto* shifts =
 1721|  2.99k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1721:7): [Folded, False: 2.99k]
  ------------------
 1722|  2.99k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1723|  2.99k|  size_t right_padding = padding - left_padding;
 1724|  2.99k|  auto it = reserve(out, size + padding * specs.fill_size());
 1725|  2.99k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1725:7): [True: 347, False: 2.64k]
  ------------------
 1726|  2.99k|  it = f(it);
 1727|  2.99k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1727:7): [True: 32, False: 2.96k]
  ------------------
 1728|  2.99k|  return base_iterator(out, it);
 1729|  2.99k|}
_ZZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEENKUlS4_E_clES4_:
 2004|  2.99k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 2005|  4.51k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2005:46): [True: 1.51k, False: 2.99k]
  ------------------
 2006|  1.51k|          *it++ = static_cast<Char>(p & 0xff);
 2007|  2.99k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 2008|  2.99k|      });
_ZNK3fmt3v126detail14digit_groupingIcE5applyINS0_14basic_appenderIcEEcEET_S7_NS0_17basic_string_viewIT0_EE:
 1935|  2.99k|  auto apply(Out out, basic_string_view<C> digits) const -> Out {
 1936|  2.99k|    auto num_digits = static_cast<int>(digits.size());
 1937|  2.99k|    auto separators = basic_memory_buffer<int>();
 1938|  2.99k|    separators.push_back(0);
 1939|  2.99k|    auto state = initial_state();
 1940|  2.99k|    while (int i = next(state)) {
  ------------------
  |  Branch (1940:16): [True: 2.99k, False: 0]
  ------------------
 1941|  2.99k|      if (i >= num_digits) break;
  ------------------
  |  Branch (1941:11): [True: 2.99k, False: 0]
  ------------------
 1942|      0|      separators.push_back(i);
 1943|      0|    }
 1944|  2.99k|    for (int i = 0, sep_index = static_cast<int>(separators.size() - 1);
 1945|  77.7k|         i < num_digits; ++i) {
  ------------------
  |  Branch (1945:10): [True: 74.7k, False: 2.99k]
  ------------------
 1946|  74.7k|      if (num_digits - i == separators[sep_index]) {
  ------------------
  |  Branch (1946:11): [True: 0, False: 74.7k]
  ------------------
 1947|      0|        out = copy<Char>(thousands_sep_.data(),
 1948|      0|                         thousands_sep_.data() + thousands_sep_.size(), out);
 1949|      0|        --sep_index;
 1950|      0|      }
 1951|  74.7k|      *out++ = static_cast<Char>(digits[to_unsigned(i)]);
 1952|  74.7k|    }
 1953|  2.99k|    return out;
 1954|  2.99k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEEC2ERKS4_:
  822|  2.99k|      : detail::buffer<T>(grow), alloc_(alloc) {
  823|  2.99k|    this->set(store_, SIZE);
  824|  2.99k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (824:9): [Folded, False: 2.99k]
  ------------------
  825|  2.99k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEED2Ev:
  826|  2.99k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEE10deallocateEv:
  787|  2.99k|  FMT_CONSTEXPR20 void deallocate() {
  788|  2.99k|    T* data = this->data();
  789|  2.99k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (789:9): [True: 0, False: 2.99k]
  ------------------
  790|  2.99k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEED2Ev:
  826|  3.61k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEE10deallocateEv:
  787|  3.61k|  FMT_CONSTEXPR20 void deallocate() {
  788|  3.61k|    T* data = this->data();
  789|  3.61k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (789:9): [True: 0, False: 3.61k]
  ------------------
  790|  3.61k|  }
_ZN3fmt3v126detail14digit_groupingIcEC2ENSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEESA_:
 1922|  3.61k|      : grouping_(std::move(grouping)), thousands_sep_(std::move(sep)) {}
_ZN3fmt3v126detail10loc_writerIcEclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEbS7_:
 2052|  3.61k|  auto operator()(T value) -> bool {
 2053|  3.61k|    auto arg = make_write_int_arg(value, specs.sign());
 2054|  3.61k|    write_int(out, static_cast<uint64_or_128_t<T>>(arg.abs_value), arg.prefix,
 2055|  3.61k|              specs, digit_grouping<Char>(grouping, sep));
 2056|  3.61k|    return true;
 2057|  3.61k|  }
_ZN3fmt3v126detail18make_write_int_argIyEENS1_13write_int_argINSt3__111conditionalIXaalecl8num_bitsIT_EELi32EntLi0EEjNS5_IXlecl8num_bitsIS6_EELi64EEmoE4typeEE4typeEEES6_NS0_4signE:
 2031|  13.9k|    -> write_int_arg<uint32_or_64_or_128_t<T>> {
 2032|  13.9k|  auto prefix = 0u;
 2033|  13.9k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2034|  13.9k|  if (is_negative(value)) {
  ------------------
  |  Branch (2034:7): [True: 0, False: 13.9k]
  ------------------
 2035|      0|    prefix = 0x01000000 | '-';
 2036|      0|    abs_value = 0 - abs_value;
 2037|  13.9k|  } else {
 2038|  13.9k|    constexpr unsigned prefixes[4] = {0, 0, 0x1000000u | '+', 0x1000000u | ' '};
 2039|  13.9k|    prefix = prefixes[static_cast<int>(s)];
 2040|  13.9k|  }
 2041|  13.9k|  return {abs_value, prefix};
 2042|  13.9k|}
_ZN3fmt3v126detail12size_paddingC2EijRKNS0_12format_specsE:
 2072|  2.68k|      : size((prefix >> 24) + to_unsigned(num_digits)), padding(0) {
 2073|  2.68k|    if (specs.align() == align::numeric) {
  ------------------
  |  Branch (2073:9): [True: 891, False: 1.79k]
  ------------------
 2074|    891|      auto width = to_unsigned(specs.width);
 2075|    891|      if (width > size) {
  ------------------
  |  Branch (2075:11): [True: 318, False: 573]
  ------------------
 2076|    318|        padding = width - size;
 2077|    318|        size = width;
 2078|    318|      }
 2079|  1.79k|    } else if (specs.precision > num_digits) {
  ------------------
  |  Branch (2079:16): [True: 0, False: 1.79k]
  ------------------
 2080|      0|      size = (prefix >> 24) + to_unsigned(specs.precision);
 2081|      0|      padding = to_unsigned(specs.precision - num_digits);
 2082|      0|    }
 2083|  2.68k|  }
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEjcEET_S5_T0_RKT1_:
  539|  2.68k|    -> OutputIt {
  540|  8.36M|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (540:20): [True: 8.35M, False: 2.68k]
  ------------------
  541|  2.68k|  return out;
  542|  2.68k|}
_ZN3fmt3v126detail13copy_noinlineIcPKcNS0_14basic_appenderIcEEEET1_T0_S8_S7_:
  559|  22.7k|                                              OutputIt out) -> OutputIt {
  560|  22.7k|  return copy<OutChar>(begin, end, out);
  561|  22.7k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 3608|    556|    -> OutputIt {
 3609|    556|  return copy_noinline<Char>(value.begin(), value.end(), out);
 3610|    556|}
_ZN3fmt3v126detail21default_arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3690|    556|  void operator()(T value) {
 3691|    556|    write<Char>(out, value);
 3692|    556|  }
_ZN3fmt3v126detail21default_arg_formatterIcEclENS0_9monostateE:
 3687|      3|  void operator()(monostate) { report_error("argument not found"); }
_ZN3fmt3v126detail14format_handlerIcE7on_textEPKcS5_:
 3794|  22.2k|  void on_text(const Char* begin, const Char* end) {
 3795|  22.2k|    copy_noinline<Char>(begin, end, ctx.out());
 3796|  22.2k|  }
_ZN3fmt3v126detail14format_handlerIcE20on_replacement_fieldEiPKc:
 3810|  1.82k|  FMT_INLINE void on_replacement_field(int id, const Char*) {
 3811|  1.82k|    ctx.arg(id).visit(default_arg_formatter<Char>{ctx.out()});
 3812|  1.82k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEv:
 3798|     62|  FMT_CONSTEXPR auto on_arg_id() -> int { return parse_ctx.next_arg_id(); }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEi:
 3799|  21.3k|  FMT_CONSTEXPR auto on_arg_id(int id) -> int {
 3800|  21.3k|    parse_ctx.check_arg_id(id);
 3801|  21.3k|    return id;
 3802|  21.3k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idENS0_17basic_string_viewIcEE:
 3803|     10|  FMT_CONSTEXPR auto on_arg_id(basic_string_view<Char> id) -> int {
 3804|     10|    parse_ctx.check_arg_id(id);
 3805|     10|    int arg_id = ctx.arg_id(id);
 3806|     10|    if (arg_id < 0) report_error("argument not found");
  ------------------
  |  Branch (3806:9): [True: 10, False: 0]
  ------------------
 3807|     10|    return arg_id;
 3808|     10|  }
_ZN3fmt3v126detail14format_handlerIcE15on_format_specsEiPKcS5_:
 3815|  19.5k|      -> const Char* {
 3816|  19.5k|    auto arg = ctx.arg(id);
 3817|  19.5k|    if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3817:9): [True: 12, False: 19.5k]
  ------------------
 3818|       |    // Not using a visitor for custom types gives better codegen.
 3819|  19.5k|    if (arg.format_custom(begin, parse_ctx, ctx)) return parse_ctx.begin();
  ------------------
  |  Branch (3819:9): [True: 0, False: 19.5k]
  ------------------
 3820|       |
 3821|  19.5k|    auto specs = dynamic_format_specs<Char>();
 3822|  19.5k|    begin = parse_format_specs(begin, end, specs, parse_ctx, arg.type());
 3823|  19.5k|    if (specs.dynamic()) {
  ------------------
  |  Branch (3823:9): [True: 329, False: 19.2k]
  ------------------
 3824|    329|      handle_dynamic_spec(specs.dynamic_width(), specs.width, specs.width_ref,
 3825|    329|                          ctx);
 3826|    329|      handle_dynamic_spec(specs.dynamic_precision(), specs.precision,
 3827|    329|                          specs.precision_ref, ctx);
 3828|    329|    }
 3829|       |
 3830|  19.5k|    arg.visit(arg_formatter<Char>{ctx.out(), specs, ctx.locale()});
 3831|  19.5k|    return begin;
 3832|  19.5k|  }
_ZN3fmt3v126detail19handle_dynamic_specINS0_7contextEEEvNS0_11arg_id_kindERiRKNS1_7arg_refINT_9char_typeEEERS7_:
 3744|    658|    const arg_ref<typename Context::char_type>& ref, Context& ctx) {
 3745|    658|  if (kind == arg_id_kind::none) return;
  ------------------
  |  Branch (3745:7): [True: 329, False: 329]
  ------------------
 3746|    329|  auto arg =
 3747|    329|      kind == arg_id_kind::index ? ctx.arg(ref.index) : ctx.arg(ref.name);
  ------------------
  |  Branch (3747:7): [True: 329, False: 0]
  ------------------
 3748|    329|  if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3748:7): [True: 0, False: 329]
  ------------------
 3749|    329|  ullong result = arg.visit(dynamic_spec_getter());
 3750|    329|  if (result > to_unsigned(max_value<int>()))
  ------------------
  |  Branch (3750:7): [True: 0, False: 329]
  ------------------
 3751|      0|    report_error("width/precision is out of range");
 3752|    329|  value = static_cast<int>(result);
 3753|    329|}
_ZN3fmt3v126detail19dynamic_spec_getterclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEyS6_:
 3730|    329|  FMT_CONSTEXPR auto operator()(T value) -> ullong {
 3731|    329|    return is_negative(value) ? ~0ull : static_cast<ullong>(value);
  ------------------
  |  Branch (3731:12): [True: 0, False: 329]
  ------------------
 3732|    329|  }
_ZN3fmt3v126detail18write_int_noinlineIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2154|  10.3k|    -> OutputIt {
 2155|  10.3k|  return write_int<Char>(out, arg, specs);
 2156|  10.3k|}
_ZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2088|  10.3k|                                        const format_specs& specs) -> OutputIt {
 2089|  10.3k|  static_assert(std::is_same<T, uint32_or_64_or_128_t<T>>::value, "");
 2090|       |
 2091|  10.3k|  constexpr size_t buffer_size = num_bits<T>();
 2092|  10.3k|  char buffer[buffer_size];
 2093|  10.3k|  if (is_constant_evaluated()) fill_n(buffer, buffer_size, '\0');
  ------------------
  |  Branch (2093:7): [Folded, False: 10.3k]
  ------------------
 2094|  10.3k|  const char* begin = nullptr;
 2095|  10.3k|  const char* end = buffer + buffer_size;
 2096|       |
 2097|  10.3k|  auto abs_value = arg.abs_value;
 2098|  10.3k|  auto prefix = arg.prefix;
 2099|  10.3k|  switch (specs.type()) {
 2100|      0|  default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  394|      0|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (394:6): [Folded, False: 0]
  |  |  ------------------
  |  |  395|      0|         ? (void)0                                                          \
  |  |  396|      0|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
                default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (2100:3): [True: 0, False: 10.3k]
  ------------------
 2101|  4.53k|  case presentation_type::none:
  ------------------
  |  Branch (2101:3): [True: 4.53k, False: 5.81k]
  ------------------
 2102|  4.92k|  case presentation_type::dec:
  ------------------
  |  Branch (2102:3): [True: 388, False: 9.96k]
  ------------------
 2103|  4.92k|    begin = do_format_decimal(buffer, abs_value, buffer_size);
 2104|  4.92k|    break;
 2105|  1.35k|  case presentation_type::hex:
  ------------------
  |  Branch (2105:3): [True: 1.35k, False: 9.00k]
  ------------------
 2106|  1.35k|    begin = do_format_base2e(4, buffer, abs_value, buffer_size, specs.upper());
 2107|  1.35k|    if (specs.alt())
  ------------------
  |  Branch (2107:9): [True: 284, False: 1.06k]
  ------------------
 2108|    284|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (2108:38): [True: 0, False: 284]
  ------------------
 2109|  1.35k|    break;
 2110|  2.38k|  case presentation_type::oct: {
  ------------------
  |  Branch (2110:3): [True: 2.38k, False: 7.96k]
  ------------------
 2111|  2.38k|    begin = do_format_base2e(3, buffer, abs_value, buffer_size);
 2112|       |    // Octal prefix '0' is counted as a digit, so only add it if precision
 2113|       |    // is not greater than the number of digits.
 2114|  2.38k|    auto num_digits = end - begin;
 2115|  2.38k|    if (specs.alt() && specs.precision <= num_digits && abs_value != 0)
  ------------------
  |  Branch (2115:9): [True: 453, False: 1.93k]
  |  Branch (2115:24): [True: 453, False: 0]
  |  Branch (2115:57): [True: 207, False: 246]
  ------------------
 2116|    207|      prefix_append(prefix, '0');
 2117|  2.38k|    break;
 2118|  4.53k|  }
 2119|  1.26k|  case presentation_type::bin:
  ------------------
  |  Branch (2119:3): [True: 1.26k, False: 9.09k]
  ------------------
 2120|  1.26k|    begin = do_format_base2e(1, buffer, abs_value, buffer_size);
 2121|  1.26k|    if (specs.alt())
  ------------------
  |  Branch (2121:9): [True: 1.03k, False: 225]
  ------------------
 2122|  1.03k|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (2122:38): [True: 233, False: 804]
  ------------------
 2123|  1.26k|    break;
 2124|    432|  case presentation_type::chr:
  ------------------
  |  Branch (2124:3): [True: 432, False: 9.92k]
  ------------------
 2125|    432|    return write_char<Char>(out, static_cast<Char>(abs_value), specs);
 2126|  10.3k|  }
 2127|       |
 2128|       |  // Write an integer in the format
 2129|       |  //   <left-padding><prefix><numeric-padding><digits><right-padding>
 2130|       |  // prefix contains chars in three lower bytes and the size in the fourth byte.
 2131|  9.92k|  int num_digits = static_cast<int>(end - begin);
 2132|       |  // Slightly faster check for specs.width == 0 && specs.precision == -1.
 2133|  9.92k|  if ((specs.width | (specs.precision + 1)) == 0) {
  ------------------
  |  Branch (2133:7): [True: 7.23k, False: 2.68k]
  ------------------
 2134|  7.23k|    auto it = reserve(out, to_unsigned(num_digits) + (prefix >> 24));
 2135|  8.78k|    for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2135:42): [True: 1.55k, False: 7.23k]
  ------------------
 2136|  1.55k|      *it++ = static_cast<Char>(p & 0xff);
 2137|  7.23k|    return base_iterator(out, copy<Char>(begin, end, it));
 2138|  7.23k|  }
 2139|  2.68k|  auto sp = size_padding(num_digits, prefix, specs);
 2140|  2.68k|  unsigned padding = sp.padding;
 2141|  2.68k|  return write_padded<Char, align::right>(
 2142|  2.68k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2143|  2.68k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 2144|  2.68k|          *it++ = static_cast<Char>(p & 0xff);
 2145|  2.68k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2146|  2.68k|        return copy<Char>(begin, end, it);
 2147|  2.68k|      });
 2148|  9.92k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mOT2_:
 1734|  2.68k|                            size_t size, F&& f) -> OutputIt {
 1735|  2.68k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1736|  2.68k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEERZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mmOT2_:
 1713|  2.68k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1714|  2.68k|  static_assert(default_align == align::left || default_align == align::right,
 1715|  2.68k|                "");
 1716|  2.68k|  unsigned spec_width = to_unsigned(specs.width);
 1717|  2.68k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1717:20): [True: 621, False: 2.06k]
  ------------------
 1718|       |  // Shifts are encoded as string literals because static constexpr is not
 1719|       |  // supported in constexpr functions.
 1720|  2.68k|  auto* shifts =
 1721|  2.68k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1721:7): [Folded, False: 2.68k]
  ------------------
 1722|  2.68k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1723|  2.68k|  size_t right_padding = padding - left_padding;
 1724|  2.68k|  auto it = reserve(out, size + padding * specs.fill_size());
 1725|  2.68k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1725:7): [True: 484, False: 2.20k]
  ------------------
 1726|  2.68k|  it = f(it);
 1727|  2.68k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1727:7): [True: 147, False: 2.54k]
  ------------------
 1728|  2.68k|  return base_iterator(out, it);
 1729|  2.68k|}
_ZZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2142|  2.68k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2143|  3.98k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2143:46): [True: 1.29k, False: 2.68k]
  ------------------
 2144|  1.29k|          *it++ = static_cast<Char>(p & 0xff);
 2145|  2.68k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2146|  2.68k|        return copy<Char>(begin, end, it);
 2147|  2.68k|      });
_ZN3fmt3v126detail13arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3713|  13.9k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3714|  13.9k|    detail::write<Char>(out, value, specs, locale);
 3715|  13.9k|  }
_ZN3fmt3v126detail5writeIcyTnNSt3__19enable_ifIXaaaasr11is_integralIT0_EE5valuentsr3std7is_sameIS5_bEE5valuentsr3std7is_sameIS5_T_EE5valueEiE4typeELi0EEENS0_14basic_appenderIS6_EESA_S5_RKNS0_12format_specsENS0_10locale_refE:
 2164|  13.9k|    -> basic_appender<Char> {
 2165|  13.9k|  if (specs.localized() && write_loc(out, value, specs, loc)) return out;
  ------------------
  |  Branch (2165:7): [True: 3.61k, False: 10.3k]
  |  Branch (2165:28): [True: 3.61k, False: 0]
  ------------------
 2166|  10.3k|  return write_int_noinline<Char>(out, make_write_int_arg(value, specs.sign()),
 2167|  10.3k|                                  specs);
 2168|  13.9k|}
_ZN3fmt3v129loc_valueC2IyTnNSt3__19enable_ifIXntsr6detail11is_float128IT_EE5valueEiE4typeELi0EEES5_:
 3910|  3.61k|  loc_value(T value) : value_(value) {}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EERKNS0_12format_specsENS0_10locale_refE:
 2303|  5.53k|                         const format_specs& specs, locale_ref) -> OutputIt {
 2304|  5.53k|  return write<Char>(out, s, specs);
 2305|  5.53k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsE:
 2197|  5.53k|                         const format_specs& specs) -> OutputIt {
 2198|  5.53k|  bool is_debug = specs.type() == presentation_type::debug;
 2199|  5.53k|  if (specs.precision < 0 && specs.width == 0) {
  ------------------
  |  Branch (2199:7): [True: 4.69k, False: 841]
  |  Branch (2199:30): [True: 1.47k, False: 3.21k]
  ------------------
 2200|  1.47k|    auto&& it = reserve(out, s.size());
 2201|  1.47k|    return is_debug ? write_escaped_string(it, s) : copy<char>(s, it);
  ------------------
  |  Branch (2201:12): [True: 1.27k, False: 201]
  ------------------
 2202|  1.47k|  }
 2203|       |
 2204|  4.05k|  size_t display_width_limit =
 2205|  4.05k|      specs.precision < 0 ? SIZE_MAX : to_unsigned(specs.precision);
  ------------------
  |  Branch (2205:7): [True: 3.21k, False: 841]
  ------------------
 2206|  4.05k|  size_t display_width =
 2207|  4.05k|      !is_debug || specs.precision == 0 ? 0 : 1;  // Account for opening '"'.
  ------------------
  |  Branch (2207:7): [True: 788, False: 3.26k]
  |  Branch (2207:20): [True: 3, False: 3.26k]
  ------------------
 2208|  4.05k|  size_t size = !is_debug || specs.precision == 0 ? 0 : 1;
  ------------------
  |  Branch (2208:17): [True: 788, False: 3.26k]
  |  Branch (2208:30): [True: 3, False: 3.26k]
  ------------------
 2209|  4.05k|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2210|  4.05k|    if (is_debug && needs_escape(cp)) {
 2211|  4.05k|      counting_buffer<char> buf;
 2212|  4.05k|      write_escaped_cp(basic_appender<char>(buf),
 2213|  4.05k|                       find_escape_result<char>{sv.begin(), sv.end(), cp});
 2214|       |      // We're reinterpreting bytes as display width. That's okay
 2215|       |      // because write_escaped_cp() only writes ASCII characters.
 2216|  4.05k|      size_t cp_width = buf.count();
 2217|  4.05k|      if (display_width + cp_width <= display_width_limit) {
 2218|  4.05k|        display_width += cp_width;
 2219|  4.05k|        size += cp_width;
 2220|       |        // If this is the end of the string, account for closing '"'.
 2221|  4.05k|        if (display_width < display_width_limit && sv.end() == s.end()) {
 2222|  4.05k|          ++display_width;
 2223|  4.05k|          ++size;
 2224|  4.05k|        }
 2225|  4.05k|        return true;
 2226|  4.05k|      }
 2227|       |
 2228|  4.05k|      size += display_width_limit - display_width;
 2229|  4.05k|      display_width = display_width_limit;
 2230|  4.05k|      return false;
 2231|  4.05k|    }
 2232|       |
 2233|  4.05k|    size_t cp_width = display_width_of(cp);
 2234|  4.05k|    if (cp_width + display_width <= display_width_limit) {
 2235|  4.05k|      display_width += cp_width;
 2236|  4.05k|      size += sv.size();
 2237|       |      // If this is the end of the string, account for closing '"'.
 2238|  4.05k|      if (is_debug && display_width < display_width_limit &&
 2239|  4.05k|          sv.end() == s.end()) {
 2240|  4.05k|        ++display_width;
 2241|  4.05k|        ++size;
 2242|  4.05k|      }
 2243|  4.05k|      return true;
 2244|  4.05k|    }
 2245|       |
 2246|  4.05k|    return false;
 2247|  4.05k|  });
 2248|       |
 2249|  4.05k|  struct bounded_output_iterator {
 2250|  4.05k|    reserve_iterator<OutputIt> underlying_iterator;
 2251|  4.05k|    size_t bound;
 2252|       |
 2253|  4.05k|    FMT_CONSTEXPR auto operator*() -> bounded_output_iterator& { return *this; }
 2254|  4.05k|    FMT_CONSTEXPR auto operator++() -> bounded_output_iterator& {
 2255|  4.05k|      return *this;
 2256|  4.05k|    }
 2257|  4.05k|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2258|  4.05k|      return *this;
 2259|  4.05k|    }
 2260|  4.05k|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2261|  4.05k|      if (bound > 0) {
 2262|  4.05k|        *underlying_iterator++ = c;
 2263|  4.05k|        --bound;
 2264|  4.05k|      }
 2265|  4.05k|      return *this;
 2266|  4.05k|    }
 2267|  4.05k|  };
 2268|       |
 2269|  4.05k|  return write_padded<char>(
 2270|  4.05k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2271|  4.05k|        return is_debug
 2272|  4.05k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2273|  4.05k|                         .underlying_iterator
 2274|  4.05k|                   : copy<char>(s.data(), s.data() + size, it);
 2275|  4.05k|      });
 2276|  5.53k|}
_ZN3fmt3v126detail20write_escaped_stringIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 1852|  1.27k|    -> OutputIt {
 1853|  1.27k|  *out++ = static_cast<Char>('"');
 1854|  1.27k|  auto begin = str.begin(), end = str.end();
 1855|  10.2M|  do {
 1856|  10.2M|    auto escape = find_escape(begin, end);
 1857|  10.2M|    out = copy<Char>(begin, escape.begin, out);
 1858|  10.2M|    begin = escape.end;
 1859|  10.2M|    if (!begin) break;
  ------------------
  |  Branch (1859:9): [True: 679, False: 10.2M]
  ------------------
 1860|  10.2M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1861|  10.2M|  } while (begin != end);
  ------------------
  |  Branch (1861:12): [True: 10.2M, False: 595]
  ------------------
 1862|  1.27k|  *out++ = static_cast<Char>('"');
 1863|  1.27k|  return out;
 1864|  1.27k|}
_ZN3fmt3v126detail11find_escapeEPKcS3_:
 1789|  29.1M|    -> find_escape_result<char> {
 1790|  29.1M|  if FMT_CONSTEXPR20 (!use_utf8) return find_escape<char>(begin, end);
  ------------------
  |  Branch (1790:23): [Folded, False: 29.1M]
  ------------------
 1791|  29.1M|  auto result = find_escape_result<char>{end, nullptr, 0};
 1792|  29.1M|  for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
 1793|  29.1M|                     [&](uint32_t cp, string_view sv) {
 1794|  29.1M|                       if (needs_escape(cp)) {
 1795|  29.1M|                         result = {sv.begin(), sv.end(), cp};
 1796|  29.1M|                         return false;
 1797|  29.1M|                       }
 1798|  29.1M|                       return true;
 1799|  29.1M|                     });
 1800|  29.1M|  return result;
 1801|  29.1M|}
_ZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_:
  622|  29.1M|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  623|  29.1M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  624|  29.1M|    auto cp = uint32_t();
  625|  29.1M|    auto error = 0;
  626|  29.1M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  627|  29.1M|    bool result = f(error ? invalid_code_point : cp,
  628|  29.1M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  629|  29.1M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  630|  29.1M|  };
  631|       |
  632|  29.1M|  auto p = s.data();
  633|  29.1M|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  634|  29.1M|  if (s.size() >= block_size) {
  ------------------
  |  Branch (634:7): [True: 29.1M, False: 7.15k]
  ------------------
  635|  39.3M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (635:52): [True: 39.3M, False: 1.97k]
  ------------------
  636|  39.3M|      p = decode(p, p);
  637|  39.3M|      if (!p) return;
  ------------------
  |  Branch (637:11): [True: 29.1M, False: 10.2M]
  ------------------
  638|  39.3M|    }
  639|  29.1M|  }
  640|  9.13k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  641|  9.13k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (641:7): [True: 740, False: 8.39k]
  ------------------
  642|       |
  643|       |  // Suppress bogus -Wstringop-overflow.
  644|  8.39k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  8.39k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 8.39k]
  |  |  ------------------
  ------------------
  645|  8.39k|  char buf[2 * block_size - 1] = {};
  646|  8.39k|  copy<char>(p, p + num_chars_left, buf);
  647|  8.39k|  const char* buf_ptr = buf;
  648|  11.2k|  do {
  649|  11.2k|    auto end = decode(buf_ptr, p);
  650|  11.2k|    if (!end) return;
  ------------------
  |  Branch (650:9): [True: 7.16k, False: 4.09k]
  ------------------
  651|  4.09k|    p += end - buf_ptr;
  652|  4.09k|    buf_ptr = end;
  653|  4.09k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (653:12): [True: 2.86k, False: 1.22k]
  ------------------
  654|  8.39k|}
_ZZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_ENKUlS4_S4_E_clES4_S4_:
  623|  39.3M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  624|  39.3M|    auto cp = uint32_t();
  625|  39.3M|    auto error = 0;
  626|  39.3M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  627|  39.3M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (627:21): [True: 12.3M, False: 27.0M]
  ------------------
  628|  39.3M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (628:38): [True: 12.3M, False: 27.0M]
  ------------------
  629|  39.3M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (629:12): [True: 10.2M, False: 29.1M]
  |  Branch (629:22): [True: 0, False: 10.2M]
  ------------------
  630|  39.3M|  };
_ZN3fmt3v126detail11utf8_decodeEPKcPjPi:
  581|  68.6M|    -> const char* {
  582|  68.6M|  constexpr int masks[] = {0x00, 0x7f, 0x1f, 0x0f, 0x07};
  583|  68.6M|  constexpr uint32_t mins[] = {4194304, 0, 128, 2048, 65536};
  584|  68.6M|  constexpr int shiftc[] = {0, 18, 12, 6, 0};
  585|  68.6M|  constexpr int shifte[] = {0, 6, 4, 2, 0};
  586|       |
  587|  68.6M|  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"
  588|  68.6M|      [static_cast<unsigned char>(*s) >> 3];
  589|       |  // Compute the pointer to the next character early so that the next
  590|       |  // iteration can start working on the next character. Neither Clang
  591|       |  // nor GCC figure out this reordering on their own.
  592|  68.6M|  const char* next = s + len + !len;
  593|       |
  594|  68.6M|  using uchar = unsigned char;
  595|       |
  596|       |  // Assume a four-byte character and load four bytes. Unused bits are
  597|       |  // shifted out.
  598|  68.6M|  *c = uint32_t(uchar(s[0]) & masks[len]) << 18;
  599|  68.6M|  *c |= uint32_t(uchar(s[1]) & 0x3f) << 12;
  600|  68.6M|  *c |= uint32_t(uchar(s[2]) & 0x3f) << 6;
  601|  68.6M|  *c |= uint32_t(uchar(s[3]) & 0x3f) << 0;
  602|  68.6M|  *c >>= shiftc[len];
  603|       |
  604|       |  // Accumulate the various error conditions.
  605|  68.6M|  *e = (*c < mins[len]) << 6;       // non-canonical encoding
  606|  68.6M|  *e |= ((*c >> 11) == 0x1b) << 7;  // surrogate half?
  607|  68.6M|  *e |= (*c > 0x10FFFF) << 8;       // out of range?
  608|  68.6M|  *e |= (uchar(s[1]) & 0xc0) >> 2;
  609|  68.6M|  *e |= (uchar(s[2]) & 0xc0) >> 4;
  610|  68.6M|  *e |= uchar(s[3]) >> 6;
  611|  68.6M|  *e ^= 0x2a;  // top two bits of each tail byte correct?
  612|  68.6M|  *e >>= shifte[len];
  613|       |
  614|  68.6M|  return next;
  615|  68.6M|}
_ZZN3fmt3v126detail11find_escapeEPKcS3_ENKUljNS0_17basic_string_viewIcEEE_clEjS5_:
 1793|  39.3M|                     [&](uint32_t cp, string_view sv) {
 1794|  39.3M|                       if (needs_escape(cp)) {
  ------------------
  |  Branch (1794:28): [True: 29.1M, False: 10.2M]
  ------------------
 1795|  29.1M|                         result = {sv.begin(), sv.end(), cp};
 1796|  29.1M|                         return false;
 1797|  29.1M|                       }
 1798|  10.2M|                       return true;
 1799|  39.3M|                     });
_ZN3fmt3v126detail4copyIccNS0_14basic_appenderIcEEEET1_NS0_17basic_string_viewIT0_EES5_:
  553|    201|FMT_CONSTEXPR auto copy(basic_string_view<V> s, OutputIt out) -> OutputIt {
  554|    201|  return copy<T>(s.begin(), s.end(), out);
  555|    201|}
_ZN3fmt3v126detail18for_each_codepointIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEEUljNSC_IcEEE_EEvSH_S8_:
  622|  4.05k|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  623|  4.05k|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  624|  4.05k|    auto cp = uint32_t();
  625|  4.05k|    auto error = 0;
  626|  4.05k|    auto end = utf8_decode(buf_ptr, &cp, &error);
  627|  4.05k|    bool result = f(error ? invalid_code_point : cp,
  628|  4.05k|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  629|  4.05k|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  630|  4.05k|  };
  631|       |
  632|  4.05k|  auto p = s.data();
  633|  4.05k|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  634|  4.05k|  if (s.size() >= block_size) {
  ------------------
  |  Branch (634:7): [True: 3.28k, False: 770]
  ------------------
  635|  29.2M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (635:52): [True: 29.2M, False: 2.75k]
  ------------------
  636|  29.2M|      p = decode(p, p);
  637|  29.2M|      if (!p) return;
  ------------------
  |  Branch (637:11): [True: 531, False: 29.2M]
  ------------------
  638|  29.2M|    }
  639|  3.28k|  }
  640|  3.52k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  641|  3.52k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (641:7): [True: 533, False: 2.99k]
  ------------------
  642|       |
  643|       |  // Suppress bogus -Wstringop-overflow.
  644|  2.99k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  2.99k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 2.99k]
  |  |  ------------------
  ------------------
  645|  2.99k|  char buf[2 * block_size - 1] = {};
  646|  2.99k|  copy<char>(p, p + num_chars_left, buf);
  647|  2.99k|  const char* buf_ptr = buf;
  648|  8.75k|  do {
  649|  8.75k|    auto end = decode(buf_ptr, p);
  650|  8.75k|    if (!end) return;
  ------------------
  |  Branch (650:9): [True: 170, False: 8.58k]
  ------------------
  651|  8.58k|    p += end - buf_ptr;
  652|  8.58k|    buf_ptr = end;
  653|  8.58k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (653:12): [True: 5.75k, False: 2.82k]
  ------------------
  654|  2.99k|}
_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_:
  623|  29.2M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  624|  29.2M|    auto cp = uint32_t();
  625|  29.2M|    auto error = 0;
  626|  29.2M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  627|  29.2M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (627:21): [True: 12.6M, False: 16.5M]
  ------------------
  628|  29.2M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (628:38): [True: 12.6M, False: 16.5M]
  ------------------
  629|  29.2M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (629:12): [True: 29.2M, False: 701]
  |  Branch (629:22): [True: 12.6M, False: 16.5M]
  ------------------
  630|  29.2M|  };
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUljNSB_IcEEE_clEjSG_:
 2209|  29.2M|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2210|  29.2M|    if (is_debug && needs_escape(cp)) {
  ------------------
  |  Branch (2210:9): [True: 25.6M, False: 3.58M]
  |  Branch (2210:21): [True: 18.6M, False: 7.01M]
  ------------------
 2211|  18.6M|      counting_buffer<char> buf;
 2212|  18.6M|      write_escaped_cp(basic_appender<char>(buf),
 2213|  18.6M|                       find_escape_result<char>{sv.begin(), sv.end(), cp});
 2214|       |      // We're reinterpreting bytes as display width. That's okay
 2215|       |      // because write_escaped_cp() only writes ASCII characters.
 2216|  18.6M|      size_t cp_width = buf.count();
 2217|  18.6M|      if (display_width + cp_width <= display_width_limit) {
  ------------------
  |  Branch (2217:11): [True: 18.6M, False: 380]
  ------------------
 2218|  18.6M|        display_width += cp_width;
 2219|  18.6M|        size += cp_width;
 2220|       |        // If this is the end of the string, account for closing '"'.
 2221|  18.6M|        if (display_width < display_width_limit && sv.end() == s.end()) {
  ------------------
  |  Branch (2221:13): [True: 18.6M, False: 220]
  |  Branch (2221:52): [True: 1.47k, False: 18.6M]
  ------------------
 2222|  1.47k|          ++display_width;
 2223|  1.47k|          ++size;
 2224|  1.47k|        }
 2225|  18.6M|        return true;
 2226|  18.6M|      }
 2227|       |
 2228|    380|      size += display_width_limit - display_width;
 2229|    380|      display_width = display_width_limit;
 2230|    380|      return false;
 2231|  18.6M|    }
 2232|       |
 2233|  10.6M|    size_t cp_width = display_width_of(cp);
 2234|  10.6M|    if (cp_width + display_width <= display_width_limit) {
  ------------------
  |  Branch (2234:9): [True: 10.6M, False: 321]
  ------------------
 2235|  10.6M|      display_width += cp_width;
 2236|  10.6M|      size += sv.size();
 2237|       |      // If this is the end of the string, account for closing '"'.
 2238|  10.6M|      if (is_debug && display_width < display_width_limit &&
  ------------------
  |  Branch (2238:11): [True: 7.01M, False: 3.58M]
  |  Branch (2238:23): [True: 7.01M, False: 182]
  ------------------
 2239|  7.01M|          sv.end() == s.end()) {
  ------------------
  |  Branch (2239:11): [True: 932, False: 7.00M]
  ------------------
 2240|    932|        ++display_width;
 2241|    932|        ++size;
 2242|    932|      }
 2243|  10.6M|      return true;
 2244|  10.6M|    }
 2245|       |
 2246|    321|    return false;
 2247|  10.6M|  });
_ZN3fmt3v126detail16display_width_ofEj:
  656|  10.6M|FMT_CONSTEXPR inline auto display_width_of(uint32_t cp) noexcept -> size_t {
  657|  10.6M|  return to_unsigned(
  658|  10.6M|      1 + (cp >= 0x1100 &&
  ------------------
  |  Branch (658:12): [True: 2.76M, False: 7.83M]
  ------------------
  659|  2.76M|           (cp <= 0x115f ||  // Hangul Jamo init. consonants
  ------------------
  |  Branch (659:13): [True: 1, False: 2.76M]
  ------------------
  660|  2.76M|            cp == 0x2329 ||  // LEFT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (660:13): [True: 0, False: 2.76M]
  ------------------
  661|  2.76M|            cp == 0x232a ||  // RIGHT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (661:13): [True: 0, False: 2.76M]
  ------------------
  662|       |            // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE:
  663|  2.76M|            (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) ||
  ------------------
  |  Branch (663:14): [True: 2.76M, False: 2.01k]
  |  Branch (663:30): [True: 376, False: 2.76M]
  |  Branch (663:46): [True: 376, False: 0]
  ------------------
  664|  2.76M|            (cp >= 0xac00 && cp <= 0xd7a3) ||    // Hangul Syllables
  ------------------
  |  Branch (664:14): [True: 2.76M, False: 2.01k]
  |  Branch (664:30): [True: 84, False: 2.76M]
  ------------------
  665|  2.76M|            (cp >= 0xf900 && cp <= 0xfaff) ||    // CJK Compatibility Ideographs
  ------------------
  |  Branch (665:14): [True: 2.76M, False: 2.86k]
  |  Branch (665:30): [True: 0, False: 2.76M]
  ------------------
  666|  2.76M|            (cp >= 0xfe10 && cp <= 0xfe19) ||    // Vertical Forms
  ------------------
  |  Branch (666:14): [True: 2.76M, False: 2.87k]
  |  Branch (666:30): [True: 0, False: 2.76M]
  ------------------
  667|  2.76M|            (cp >= 0xfe30 && cp <= 0xfe6f) ||    // CJK Compatibility Forms
  ------------------
  |  Branch (667:14): [True: 2.76M, False: 2.87k]
  |  Branch (667:30): [True: 0, False: 2.76M]
  ------------------
  668|  2.76M|            (cp >= 0xff00 && cp <= 0xff60) ||    // Fullwidth Forms
  ------------------
  |  Branch (668:14): [True: 2.76M, False: 2.87k]
  |  Branch (668:30): [True: 66, False: 2.76M]
  ------------------
  669|  2.76M|            (cp >= 0xffe0 && cp <= 0xffe6) ||    // Fullwidth Forms
  ------------------
  |  Branch (669:14): [True: 2.76M, False: 2.96k]
  |  Branch (669:30): [True: 6, False: 2.76M]
  ------------------
  670|  2.76M|            (cp >= 0x20000 && cp <= 0x2fffd) ||  // CJK
  ------------------
  |  Branch (670:14): [True: 2.76M, False: 6.72k]
  |  Branch (670:31): [True: 1.03k, False: 2.76M]
  ------------------
  671|  2.76M|            (cp >= 0x30000 && cp <= 0x3fffd) ||
  ------------------
  |  Branch (671:14): [True: 2.75M, False: 6.74k]
  |  Branch (671:31): [True: 301, False: 2.75M]
  ------------------
  672|       |            // Miscellaneous Symbols and Pictographs + Emoticons:
  673|  2.76M|            (cp >= 0x1f300 && cp <= 0x1f64f) ||
  ------------------
  |  Branch (673:14): [True: 2.76M, False: 6.05k]
  |  Branch (673:31): [True: 306, False: 2.76M]
  ------------------
  674|       |            // Supplemental Symbols and Pictographs:
  675|  2.76M|            (cp >= 0x1f900 && cp <= 0x1f9ff))));
  ------------------
  |  Branch (675:14): [True: 2.76M, False: 6.05k]
  |  Branch (675:31): [True: 357, False: 2.75M]
  ------------------
  676|  10.6M|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_5writeIcS5_TnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SC_NS0_17basic_string_viewIS9_EERKNS0_12format_specsEEUlS5_E_EET1_SJ_SH_mmOT2_:
 1713|  4.05k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1714|  4.05k|  static_assert(default_align == align::left || default_align == align::right,
 1715|  4.05k|                "");
 1716|  4.05k|  unsigned spec_width = to_unsigned(specs.width);
 1717|  4.05k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1717:20): [True: 556, False: 3.50k]
  ------------------
 1718|       |  // Shifts are encoded as string literals because static constexpr is not
 1719|       |  // supported in constexpr functions.
 1720|  4.05k|  auto* shifts =
 1721|  4.05k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1721:7): [True: 4.05k, Folded]
  ------------------
 1722|  4.05k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1723|  4.05k|  size_t right_padding = padding - left_padding;
 1724|  4.05k|  auto it = reserve(out, size + padding * specs.fill_size());
 1725|  4.05k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1725:7): [True: 0, False: 4.05k]
  ------------------
 1726|  4.05k|  it = f(it);
 1727|  4.05k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1727:7): [True: 556, False: 3.50k]
  ------------------
 1728|  4.05k|  return base_iterator(out, it);
 1729|  4.05k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2270|  4.05k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2271|  4.05k|        return is_debug
  ------------------
  |  Branch (2271:16): [True: 3.26k, False: 788]
  ------------------
 2272|  4.05k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2273|  3.26k|                         .underlying_iterator
 2274|  4.05k|                   : copy<char>(s.data(), s.data() + size, it);
 2275|  4.05k|      });
_ZN3fmt3v126detail20write_escaped_stringIcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEESB_SB_SD_:
 1852|  3.26k|    -> OutputIt {
 1853|  3.26k|  *out++ = static_cast<Char>('"');
 1854|  3.26k|  auto begin = str.begin(), end = str.end();
 1855|  18.8M|  do {
 1856|  18.8M|    auto escape = find_escape(begin, end);
 1857|  18.8M|    out = copy<Char>(begin, escape.begin, out);
 1858|  18.8M|    begin = escape.end;
 1859|  18.8M|    if (!begin) break;
  ------------------
  |  Branch (1859:9): [True: 1.29k, False: 18.8M]
  ------------------
 1860|  18.8M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1861|  18.8M|  } while (begin != end);
  ------------------
  |  Branch (1861:12): [True: 18.8M, False: 1.97k]
  ------------------
 1862|  3.26k|  *out++ = static_cast<Char>('"');
 1863|  3.26k|  return out;
 1864|  3.26k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratorppEi:
 2257|  82.6M|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2258|  82.6M|      return *this;
 2259|  82.6M|    }
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratordeEv:
 2253|  82.6M|    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:
 2260|  82.6M|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2261|  82.6M|      if (bound > 0) {
  ------------------
  |  Branch (2261:11): [True: 81.5M, False: 1.08M]
  ------------------
 2262|  81.5M|        *underlying_iterator++ = c;
 2263|  81.5M|        --bound;
 2264|  81.5M|      }
 2265|  82.6M|      return *this;
 2266|  82.6M|    }
_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:
 1815|  18.8M|    -> OutputIt {
 1816|  18.8M|  auto c = static_cast<Char>(escape.cp);
 1817|  18.8M|  switch (escape.cp) {
 1818|  94.2k|  case '\n':
  ------------------
  |  Branch (1818:3): [True: 94.2k, False: 18.8M]
  ------------------
 1819|  94.2k|    *out++ = static_cast<Char>('\\');
 1820|  94.2k|    c = static_cast<Char>('n');
 1821|  94.2k|    break;
 1822|  36.5k|  case '\r':
  ------------------
  |  Branch (1822:3): [True: 36.5k, False: 18.8M]
  ------------------
 1823|  36.5k|    *out++ = static_cast<Char>('\\');
 1824|  36.5k|    c = static_cast<Char>('r');
 1825|  36.5k|    break;
 1826|  10.5k|  case '\t':
  ------------------
  |  Branch (1826:3): [True: 10.5k, False: 18.8M]
  ------------------
 1827|  10.5k|    *out++ = static_cast<Char>('\\');
 1828|  10.5k|    c = static_cast<Char>('t');
 1829|  10.5k|    break;
 1830|  7.46k|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|  7.46k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1830:3): [True: 7.46k, False: 18.8M]
  ------------------
 1831|  7.46k|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|  7.46k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1831:3): [True: 0, False: 18.8M]
  ------------------
 1832|  9.27k|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1832:3): [True: 1.81k, False: 18.8M]
  ------------------
 1833|  18.7M|  default:
  ------------------
  |  Branch (1833:3): [True: 18.7M, False: 150k]
  ------------------
 1834|  18.7M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1834:9): [True: 8.73M, False: 10.0M]
  ------------------
 1835|  10.0M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1835:9): [True: 18.2k, False: 9.99M]
  ------------------
 1836|  18.2k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1837|  9.99M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1837:9): [True: 25.8k, False: 9.96M]
  ------------------
 1838|  25.8k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1839|  9.96M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1839:27): [True: 9.96M, False: 9.96M]
  ------------------
 1840|  9.96M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1841|  9.96M|      out = write_codepoint<2, Char>(out, 'x',
 1842|  9.96M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1843|  9.96M|    }
 1844|  9.96M|    return out;
 1845|  18.8M|  }
 1846|   150k|  *out++ = c;
 1847|   150k|  return out;
 1848|  18.8M|}
_ZN3fmt3v126detail15write_codepointILm2EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1804|  18.7M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|  18.7M|  *out++ = static_cast<Char>('\\');
 1806|  18.7M|  *out++ = static_cast<Char>(prefix);
 1807|  18.7M|  Char buf[width];
 1808|  18.7M|  fill_n(buf, width, static_cast<Char>('0'));
 1809|  18.7M|  format_base2e(4, buf, cp, width);
 1810|  18.7M|  return copy<Char>(buf, buf + width, out);
 1811|  18.7M|}
_ZN3fmt3v126detail15write_codepointILm4EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1804|  18.2k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|  18.2k|  *out++ = static_cast<Char>('\\');
 1806|  18.2k|  *out++ = static_cast<Char>(prefix);
 1807|  18.2k|  Char buf[width];
 1808|  18.2k|  fill_n(buf, width, static_cast<Char>('0'));
 1809|  18.2k|  format_base2e(4, buf, cp, width);
 1810|  18.2k|  return copy<Char>(buf, buf + width, out);
 1811|  18.2k|}
_ZN3fmt3v126detail15write_codepointILm8EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1804|  25.8k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1805|  25.8k|  *out++ = static_cast<Char>('\\');
 1806|  25.8k|  *out++ = static_cast<Char>(prefix);
 1807|  25.8k|  Char buf[width];
 1808|  25.8k|  fill_n(buf, width, static_cast<Char>('0'));
 1809|  25.8k|  format_base2e(4, buf, cp, width);
 1810|  25.8k|  return copy<Char>(buf, buf + width, out);
 1811|  25.8k|}
_ZN3fmt3v126detail13arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3713|  5.53k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3714|  5.53k|    detail::write<Char>(out, value, specs, locale);
 3715|  5.53k|  }
_ZN3fmt3v126detail14format_handlerIcE8on_errorEPKc:
 3834|     73|  FMT_NORETURN void on_error(const char* message) { report_error(message); }
_ZN3fmt3v1210format_intC2Ej:
 4215|  20.9k|      : str_(format_unsigned(value)) {}
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE6resizeEm:
  889|    613|  FMT_CONSTEXPR void resize(size_t count) { this->try_resize(count); }
_ZN3fmt3v1210format_intC2Em:
 4217|   306k|      : str_(format_unsigned(value)) {}
_ZN3fmt3v1210format_int15format_unsignedImEEPcT_:
 4193|   323k|  FMT_CONSTEXPR20 auto format_unsigned(UInt value) -> char* {
 4194|   323k|    auto n = static_cast<detail::uint32_or_64_or_128_t<UInt>>(value);
 4195|   323k|    return detail::do_format_decimal(buffer_, n, buffer_size - 1);
 4196|   323k|  }
_ZN3fmt3v1210format_intC2Ex:
 4213|  17.1k|      : str_(format_signed(value)) {}
_ZN3fmt3v1210format_int13format_signedIxEEPcT_:
 4199|  17.1k|  FMT_CONSTEXPR20 auto format_signed(Int value) -> char* {
 4200|  17.1k|    auto abs_value = static_cast<detail::uint32_or_64_or_128_t<Int>>(value);
 4201|  17.1k|    bool negative = value < 0;
 4202|  17.1k|    if (negative) abs_value = 0 - abs_value;
  ------------------
  |  Branch (4202:9): [True: 0, False: 17.1k]
  ------------------
 4203|  17.1k|    auto begin = format_unsigned(abs_value);
 4204|  17.1k|    if (negative) *--begin = '-';
  ------------------
  |  Branch (4204:9): [True: 0, False: 17.1k]
  ------------------
 4205|  17.1k|    return begin;
 4206|  17.1k|  }

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

_ZNK6spdlog6logger4nameEv:
   68|     31|SPDLOG_INLINE const std::string &logger::name() const { return name_; }
_ZN6spdlog6logger13set_formatterENSt3__110unique_ptrINS_9formatterENS1_14default_deleteIS3_EEEE:
   72|  1.21k|SPDLOG_INLINE void logger::set_formatter(std::unique_ptr<formatter> f) {
   73|  1.21k|    for (auto it = sinks_.begin(); it != sinks_.end(); ++it) {
  ------------------
  |  Branch (73:36): [True: 1.21k, False: 0]
  ------------------
   74|  1.21k|        if (std::next(it) == sinks_.end()) {
  ------------------
  |  Branch (74:13): [True: 1.21k, False: 0]
  ------------------
   75|       |            // last element - we can be move it.
   76|  1.21k|            (*it)->set_formatter(std::move(f));
   77|  1.21k|            break;  // to prevent clang-tidy warning
   78|  1.21k|        } else {
   79|      0|            (*it)->set_formatter(f->clone());
   80|      0|        }
   81|  1.21k|    }
   82|  1.21k|}
_ZN6spdlog6logger8sink_it_ERKNS_7details7log_msgE:
  135|    380|SPDLOG_INLINE void logger::sink_it_(const details::log_msg &msg) {
  136|    380|    for (auto &sink : sinks_) {
  ------------------
  |  Branch (136:21): [True: 380, False: 380]
  ------------------
  137|    380|        if (sink->should_log(msg.level)) {
  ------------------
  |  Branch (137:13): [True: 380, False: 0]
  ------------------
  138|    380|            SPDLOG_TRY { sink->log(msg); }
  ------------------
  |  |  116|    380|#define SPDLOG_TRY try
  ------------------
  139|    380|            SPDLOG_LOGGER_CATCH(msg.source)
  ------------------
  |  |   32|    380|    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)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4273|      0|#  define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4245|      0|    [] {                                                                     \
  |  |  |  |  |  |  |  | 4246|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  |  |  | 4247|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  |  |  | 4248|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  |  |  | 4249|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  |  |  | 4250|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  |  |  | 4251|      0|            const {                                                          \
  |  |  |  |  |  |  |  | 4252|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  |  |  | 4253|      0|        }                                                                    \
  |  |  |  |  |  |  |  | 4254|      0|      };                                                                     \
  |  |  |  |  |  |  |  | 4255|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  |  |  | 4256|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  |  |  | 4257|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  |  |  | 4258|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  |  |  | 4259|      0|    }()
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   35|      0|                                         location.filename, location.line));          \
  |  |   36|      0|        } else {                                                                      \
  |  |   37|      0|            err_handler_(ex.what());                                                  \
  |  |   38|      0|        }                                                                             \
  |  |   39|      0|    }                                                                                 \
  |  |   40|    380|    catch (...) {                                                                     \
  |  |   41|      0|        err_handler_("Rethrowing unknown exception in logger");                       \
  |  |   42|      0|        throw;                                                                        \
  |  |   43|      0|    }
  ------------------
  140|    380|        }
  141|    380|    }
  142|       |
  143|    380|    if (should_flush_(msg)) {
  ------------------
  |  Branch (143:9): [True: 0, False: 380]
  ------------------
  144|      0|        flush_();
  145|      0|    }
  146|    380|}
_ZNK6spdlog6logger12err_handler_ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
  170|    228|SPDLOG_INLINE void logger::err_handler_(const std::string &msg) const {
  171|    228|    if (custom_err_handler_) {
  ------------------
  |  Branch (171:9): [True: 0, False: 228]
  ------------------
  172|      0|        custom_err_handler_(msg);
  173|    228|    } else {
  174|    228|        using std::chrono::system_clock;
  175|    228|        static std::mutex mutex;
  176|    228|        static std::chrono::system_clock::time_point last_report_time;
  177|    228|        static size_t err_counter = 0;
  178|    228|        std::lock_guard<std::mutex> lk{mutex};
  179|    228|        auto now = system_clock::now();
  180|    228|        err_counter++;
  181|    228|        if (now - last_report_time < std::chrono::seconds(1)) {
  ------------------
  |  Branch (181:13): [True: 200, False: 28]
  ------------------
  182|    200|            return;
  183|    200|        }
  184|     28|        last_report_time = now;
  185|     28|        auto tm_time = details::os::localtime(system_clock::to_time_t(now));
  186|     28|        char date_buf[64];
  187|     28|        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|     28|                     name().c_str(), msg.c_str());
  194|     28|#endif
  195|     28|    }
  196|    228|}
_ZNK6spdlog6logger13should_flush_ERKNS_7details7log_msgE:
  166|    380|SPDLOG_INLINE bool logger::should_flush_(const details::log_msg &msg) const {
  167|    380|    return (msg.level >= flush_level()) && (msg.level != level::off);
  ------------------
  |  Branch (167:12): [True: 0, False: 380]
  |  Branch (167:44): [True: 0, False: 0]
  ------------------
  168|    380|}
_ZNK6spdlog6logger11flush_levelEv:
  102|    380|SPDLOG_INLINE level::level_enum logger::flush_level() const {
  103|    380|    return static_cast<level::level_enum>(flush_level_.load(std::memory_order_relaxed));
  104|    380|}
_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|    380|                                   bool traceback_enabled) {
  127|    380|    if (log_enabled) {
  ------------------
  |  Branch (127:9): [True: 380, False: 0]
  ------------------
  128|    380|        sink_it_(log_msg);
  129|    380|    }
  130|    380|    if (traceback_enabled) {
  ------------------
  |  Branch (130:9): [True: 0, False: 380]
  ------------------
  131|      0|        tracer_.push_back(log_msg);
  132|      0|    }
  133|    380|}

_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|    608|    void info(format_string_t<Args...> fmt, Args &&...args) {
  144|    608|        log(level::info, fmt, std::forward<Args>(args)...);
  145|    608|    }
_ZN6spdlog6logger3logIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_5level10level_enumEN3fmt3v127fstringIJDpT_EE1tEDpOSI_:
   88|    608|    void log(level::level_enum lvl, format_string_t<Args...> fmt, Args &&...args) {
   89|    608|        log(source_loc{}, lvl, fmt, std::forward<Args>(args)...);
   90|    608|    }
_ZN6spdlog6logger3logIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v127fstringIJDpT_EE1tEDpOSJ_:
   79|    608|    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|    608|        log_(loc, lvl, fmt.get(), std::forward<Args>(args)...);
   84|    608|#endif
   85|    608|    }
_ZN6spdlog6logger4log_IJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEEvNS_10source_locENS_5level10level_enumEN3fmt3v1217basic_string_viewIcEEDpOT_:
  325|    608|    void log_(source_loc loc, level::level_enum lvl, string_view_t fmt, Args &&...args) {
  326|    608|        bool log_enabled = should_log(lvl);
  327|    608|        bool traceback_enabled = tracer_.enabled();
  328|    608|        if (!log_enabled && !traceback_enabled) {
  ------------------
  |  Branch (328:13): [True: 0, False: 608]
  |  Branch (328:29): [True: 0, False: 0]
  ------------------
  329|      0|            return;
  330|      0|        }
  331|    608|        SPDLOG_TRY {
  ------------------
  |  |  116|    608|#define SPDLOG_TRY try
  ------------------
  332|    608|            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|    608|            fmt::vformat_to(fmt::appender(buf), fmt, fmt::make_format_args(args...));
  337|    608|#endif
  338|       |
  339|    608|            details::log_msg log_msg(loc, name_, lvl, string_view_t(buf.data(), buf.size()));
  340|    608|            log_it_(log_msg, log_enabled, traceback_enabled);
  341|    608|        }
  342|    608|        SPDLOG_LOGGER_CATCH(loc)
  ------------------
  |  |   32|    608|    catch (const std::exception &ex) {                                                \
  |  |   33|    228|        if (location.filename) {                                                      \
  |  |  ------------------
  |  |  |  Branch (33:13): [True: 0, False: 228]
  |  |  ------------------
  |  |   34|      0|            err_handler_(fmt_lib::format(SPDLOG_FMT_STRING("{} [{}({})]"), ex.what(), \
  |  |  ------------------
  |  |  |  |   55|      0|#define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4273|      0|#  define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  |  |  ------------------
  |  |  |  |  |  |  |  | 4245|      0|    [] {                                                                     \
  |  |  |  |  |  |  |  | 4246|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  |  |  | 4247|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  |  |  | 4248|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  |  |  | 4249|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  |  |  | 4250|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  |  |  | 4251|      0|            const {                                                          \
  |  |  |  |  |  |  |  | 4252|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  |  |  | 4253|      0|        }                                                                    \
  |  |  |  |  |  |  |  | 4254|      0|      };                                                                     \
  |  |  |  |  |  |  |  | 4255|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  |  |  | 4256|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  |  |  | 4257|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  |  |  | 4258|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  |  |  | 4259|      0|    }()
  |  |  |  |  |  |  ------------------
  |  |  |  |  ------------------
  |  |  ------------------
  |  |   35|      0|                                         location.filename, location.line));          \
  |  |   36|    228|        } else {                                                                      \
  |  |   37|    228|            err_handler_(ex.what());                                                  \
  |  |   38|    228|        }                                                                             \
  |  |   39|    228|    }                                                                                 \
  |  |   40|    608|    catch (...) {                                                                     \
  |  |   41|      0|        err_handler_("Rethrowing unknown exception in logger");                       \
  |  |   42|      0|        throw;                                                                        \
  |  |   43|      0|    }
  ------------------
  343|    608|    }
_ZNK6spdlog6logger10should_logENS_5level10level_enumE:
  270|    608|    bool should_log(level::level_enum msg_level) const {
  271|    608|        return msg_level >= level_.load(std::memory_order_relaxed);
  272|    608|    }

_ZN6spdlog3mdc11get_contextEv:
   12|  1.86M|SPDLOG_INLINE mdc::mdc_map_t& mdc::get_context() {
   13|  1.86M|    static thread_local mdc_map_t context;
   14|  1.86M|    context_created() = true;
   15|  1.86M|    return context;
   16|  1.86M|}
_ZN6spdlog3mdc15context_createdEv:
   18|  1.92M|SPDLOG_INLINE bool& mdc::context_created() noexcept {
   19|  1.92M|    static thread_local bool created = false;
   20|  1.92M|    return created;
   21|  1.92M|}

_ZN6spdlog3mdc11has_contextEv:
   51|  63.0k|    static bool has_context() noexcept { return context_created(); }

_ZNK6spdlog17pattern_formatter5cloneEv:
  980|  1.21k|SPDLOG_INLINE std::unique_ptr<formatter> pattern_formatter::clone() const {
  981|  1.21k|    custom_flags cloned_custom_formatters;
  982|  1.21k|    for (auto &it : custom_handlers_) {
  ------------------
  |  Branch (982:19): [True: 1.21k, False: 1.21k]
  ------------------
  983|  1.21k|        cloned_custom_formatters[it.first] = it.second->clone();
  984|  1.21k|    }
  985|  1.21k|    auto cloned = details::make_unique<pattern_formatter>(pattern_, pattern_time_type_, eol_,
  986|  1.21k|                                                          std::move(cloned_custom_formatters));
  987|  1.21k|    cloned->need_localtime(need_localtime_);
  988|  1.21k|#if defined(__GNUC__) && __GNUC__ < 5
  989|  1.21k|    return std::move(cloned);
  990|       |#else
  991|       |    return cloned;
  992|       |#endif
  993|  1.21k|}
_ZN6spdlog17pattern_formatter14need_localtimeEb:
 1018|  1.21k|SPDLOG_INLINE void pattern_formatter::need_localtime(bool need) { need_localtime_ = need; }
_ZN6spdlog17pattern_formatterC2ENS_17pattern_time_typeENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  971|    611|    : pattern_("%+"),
  972|    611|      eol_(std::move(eol)),
  973|    611|      pattern_time_type_(time_type),
  974|    611|      need_localtime_(true),
  975|    611|      last_log_secs_(0) {
  976|    611|    std::memset(&cached_tm_, 0, sizeof(cached_tm_));
  977|    611|    formatters_.push_back(details::make_unique<details::full_formatter>(details::padding_info{}));
  978|    611|}
_ZN6spdlog7details14full_formatterC2ENS0_12padding_infoE:
  856|   191k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13mdc_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  816|  5.59M|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13mdc_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  818|  1.80M|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  819|  1.80M|        const auto &mdc_map = mdc::get_context();
  820|  1.80M|        if (mdc_map.empty()) {
  ------------------
  |  Branch (820:13): [True: 1.80M, False: 0]
  ------------------
  821|  1.80M|            ScopedPadder p(0, padinfo_, dest);
  822|  1.80M|            return;
  823|  1.80M|        } else {
  824|      0|            format_mdc(mdc_map, dest);
  825|      0|        }
  826|  1.80M|    }
_ZN6spdlog7details18null_scoped_padderC2EmRKNS0_12padding_infoERN3fmt3v1219basic_memory_bufferIcLm250ENS6_6detail9allocatorIcEEEE:
   95|  2.62M|                       memory_buf_t & /*dest*/) {}
_ZN6spdlog7details14full_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  858|  63.0k|    void format(const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override {
  859|  63.0k|        using std::chrono::duration_cast;
  860|  63.0k|        using std::chrono::milliseconds;
  861|  63.0k|        using std::chrono::seconds;
  862|       |
  863|       |        // cache the date/time part for the next second.
  864|  63.0k|        auto duration = msg.time.time_since_epoch();
  865|  63.0k|        auto secs = duration_cast<seconds>(duration);
  866|       |
  867|  63.0k|        if (cache_timestamp_ != secs || cached_datetime_.size() == 0) {
  ------------------
  |  Branch (867:13): [True: 63.0k, False: 0]
  |  Branch (867:41): [True: 0, False: 0]
  ------------------
  868|  63.0k|            cached_datetime_.clear();
  869|  63.0k|            cached_datetime_.push_back('[');
  870|  63.0k|            fmt_helper::append_int(tm_time.tm_year + 1900, cached_datetime_);
  871|  63.0k|            cached_datetime_.push_back('-');
  872|       |
  873|  63.0k|            fmt_helper::pad2(tm_time.tm_mon + 1, cached_datetime_);
  874|  63.0k|            cached_datetime_.push_back('-');
  875|       |
  876|  63.0k|            fmt_helper::pad2(tm_time.tm_mday, cached_datetime_);
  877|  63.0k|            cached_datetime_.push_back(' ');
  878|       |
  879|  63.0k|            fmt_helper::pad2(tm_time.tm_hour, cached_datetime_);
  880|  63.0k|            cached_datetime_.push_back(':');
  881|       |
  882|  63.0k|            fmt_helper::pad2(tm_time.tm_min, cached_datetime_);
  883|  63.0k|            cached_datetime_.push_back(':');
  884|       |
  885|  63.0k|            fmt_helper::pad2(tm_time.tm_sec, cached_datetime_);
  886|  63.0k|            cached_datetime_.push_back('.');
  887|       |
  888|  63.0k|            cache_timestamp_ = secs;
  889|  63.0k|        }
  890|  63.0k|        dest.append(cached_datetime_.begin(), cached_datetime_.end());
  891|       |
  892|  63.0k|        auto millis = fmt_helper::time_fraction<milliseconds>(msg.time);
  893|  63.0k|        fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
  894|  63.0k|        dest.push_back(']');
  895|  63.0k|        dest.push_back(' ');
  896|       |
  897|       |        // append logger name if exists
  898|  63.0k|        if (msg.logger_name.size() > 0) {
  ------------------
  |  Branch (898:13): [True: 63.0k, False: 0]
  ------------------
  899|  63.0k|            dest.push_back('[');
  900|  63.0k|            fmt_helper::append_string_view(msg.logger_name, dest);
  901|  63.0k|            dest.push_back(']');
  902|  63.0k|            dest.push_back(' ');
  903|  63.0k|        }
  904|       |
  905|  63.0k|        dest.push_back('[');
  906|       |        // wrap the level name with color
  907|  63.0k|        msg.color_range_start = dest.size();
  908|       |        // fmt_helper::append_string_view(level::to_c_str(msg.level), dest);
  909|  63.0k|        fmt_helper::append_string_view(level::to_string_view(msg.level), dest);
  910|  63.0k|        msg.color_range_end = dest.size();
  911|  63.0k|        dest.push_back(']');
  912|  63.0k|        dest.push_back(' ');
  913|       |
  914|       |        // add source location if present
  915|  63.0k|        if (!msg.source.empty()) {
  ------------------
  |  Branch (915:13): [True: 0, False: 63.0k]
  ------------------
  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|  63.0k|#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|  63.0k|        if (mdc::has_context()) {
  ------------------
  |  Branch (930:13): [True: 63.0k, False: 44]
  ------------------
  931|  63.0k|            auto &mdc_map = mdc::get_context();
  932|  63.0k|            if (!mdc_map.empty()) {
  ------------------
  |  Branch (932:17): [True: 0, False: 63.0k]
  ------------------
  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|  63.0k|        }
  939|  63.0k|#endif
  940|       |        // fmt_helper::append_string_view(msg.msg(), dest);
  941|  63.0k|        fmt_helper::append_string_view(msg.payload, dest);
  942|  63.0k|    }
_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.21k|    : pattern_(std::move(pattern)),
  960|  1.21k|      eol_(std::move(eol)),
  961|  1.21k|      pattern_time_type_(time_type),
  962|  1.21k|      need_localtime_(false),
  963|  1.21k|      last_log_secs_(0),
  964|  1.21k|      custom_handlers_(std::move(custom_user_flags)) {
  965|  1.21k|    std::memset(&cached_tm_, 0, sizeof(cached_tm_));
  966|  1.21k|    compile_pattern_(pattern_);
  967|  1.21k|}
_ZN6spdlog17pattern_formatter16compile_pattern_ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1321|  1.82k|SPDLOG_INLINE void pattern_formatter::compile_pattern_(const std::string &pattern) {
 1322|  1.82k|    auto end = pattern.end();
 1323|  1.82k|    std::unique_ptr<details::aggregate_formatter> user_chars;
 1324|  1.82k|    formatters_.clear();
 1325|  64.4M|    for (auto it = pattern.begin(); it != end; ++it) {
  ------------------
  |  Branch (1325:37): [True: 64.4M, False: 1.51k]
  ------------------
 1326|  64.4M|        if (*it == '%') {
  ------------------
  |  Branch (1326:13): [True: 10.0M, False: 54.4M]
  ------------------
 1327|  10.0M|            if (user_chars)  // append user chars found so far
  ------------------
  |  Branch (1327:17): [True: 1.20M, False: 8.80M]
  ------------------
 1328|  1.20M|            {
 1329|  1.20M|                formatters_.push_back(std::move(user_chars));
 1330|  1.20M|            }
 1331|       |
 1332|  10.0M|            auto padding = handle_padspec_(++it, end);
 1333|       |
 1334|  10.0M|            if (it != end) {
  ------------------
  |  Branch (1334:17): [True: 10.0M, False: 309]
  ------------------
 1335|  10.0M|                if (padding.enabled()) {
  ------------------
  |  Branch (1335:21): [True: 1.25M, False: 8.75M]
  ------------------
 1336|  1.25M|                    handle_flag_<details::scoped_padder>(*it, padding);
 1337|  8.75M|                } else {
 1338|  8.75M|                    handle_flag_<details::null_scoped_padder>(*it, padding);
 1339|  8.75M|                }
 1340|  10.0M|            } else {
 1341|    309|                break;
 1342|    309|            }
 1343|  10.0M|        } else  // chars not following the % sign should be displayed as is
 1344|  54.4M|        {
 1345|  54.4M|            if (!user_chars) {
  ------------------
  |  Branch (1345:17): [True: 1.20M, False: 53.2M]
  ------------------
 1346|  1.20M|                user_chars = details::make_unique<details::aggregate_formatter>();
 1347|  1.20M|            }
 1348|  54.4M|            user_chars->add_ch(*it);
 1349|  54.4M|        }
 1350|  64.4M|    }
 1351|  1.82k|    if (user_chars)  // append raw chars found so far
  ------------------
  |  Branch (1351:9): [True: 819, False: 1.00k]
  ------------------
 1352|    819|    {
 1353|    819|        formatters_.push_back(std::move(user_chars));
 1354|    819|    }
 1355|  1.82k|}
_ZN6spdlog17pattern_formatter15handle_padspec_ERNSt3__111__wrap_iterIPKcEES5_:
 1277|  10.0M|    std::string::const_iterator &it, std::string::const_iterator end) {
 1278|  10.0M|    using details::padding_info;
 1279|  10.0M|    using details::scoped_padder;
 1280|  10.0M|    const size_t max_width = 64;
 1281|  10.0M|    if (it == end) {
  ------------------
  |  Branch (1281:9): [True: 249, False: 10.0M]
  ------------------
 1282|    249|        return padding_info{};
 1283|    249|    }
 1284|       |
 1285|  10.0M|    padding_info::pad_side side;
 1286|  10.0M|    switch (*it) {
 1287|  24.4k|        case '-':
  ------------------
  |  Branch (1287:9): [True: 24.4k, False: 9.98M]
  ------------------
 1288|  24.4k|            side = padding_info::pad_side::right;
 1289|  24.4k|            ++it;
 1290|  24.4k|            break;
 1291|  27.3k|        case '=':
  ------------------
  |  Branch (1291:9): [True: 27.3k, False: 9.98M]
  ------------------
 1292|  27.3k|            side = padding_info::pad_side::center;
 1293|  27.3k|            ++it;
 1294|  27.3k|            break;
 1295|  9.96M|        default:
  ------------------
  |  Branch (1295:9): [True: 9.96M, False: 51.8k]
  ------------------
 1296|  9.96M|            side = details::padding_info::pad_side::left;
 1297|  9.96M|            break;
 1298|  10.0M|    }
 1299|       |
 1300|  10.0M|    if (it == end || !std::isdigit(static_cast<unsigned char>(*it))) {
  ------------------
  |  Branch (1300:9): [True: 0, False: 10.0M]
  |  Branch (1300:22): [True: 8.75M, False: 1.25M]
  ------------------
 1301|  8.75M|        return padding_info{};  // no padding if no digit found here
 1302|  8.75M|    }
 1303|       |
 1304|  1.25M|    auto width = static_cast<size_t>(*it) - '0';
 1305|  1.63M|    for (++it; it != end && std::isdigit(static_cast<unsigned char>(*it)); ++it) {
  ------------------
  |  Branch (1305:16): [True: 1.63M, False: 60]
  |  Branch (1305:29): [True: 373k, False: 1.25M]
  ------------------
 1306|   373k|        auto digit = static_cast<size_t>(*it) - '0';
 1307|   373k|        width = width * 10 + digit;
 1308|   373k|    }
 1309|       |
 1310|       |    // search for the optional truncate marker '!'
 1311|  1.25M|    bool truncate;
 1312|  1.25M|    if (it != end && *it == '!') {
  ------------------
  |  Branch (1312:9): [True: 1.25M, False: 60]
  |  Branch (1312:22): [True: 6.17k, False: 1.25M]
  ------------------
 1313|  6.17k|        truncate = true;
 1314|  6.17k|        ++it;
 1315|  1.25M|    } else {
 1316|  1.25M|        truncate = false;
 1317|  1.25M|    }
 1318|  1.25M|    return details::padding_info{std::min<size_t>(width, max_width), side, truncate};
 1319|  10.0M|}
_ZN6spdlog17pattern_formatter12handle_flag_INS_7details13scoped_padderEEEvcNS2_12padding_infoE:
 1028|  1.25M|SPDLOG_INLINE void pattern_formatter::handle_flag_(char flag, details::padding_info padding) {
 1029|       |    // process custom flags
 1030|  1.25M|    auto it = custom_handlers_.find(flag);
 1031|  1.25M|    if (it != custom_handlers_.end()) {
  ------------------
  |  Branch (1031:9): [True: 2.25k, False: 1.25M]
  ------------------
 1032|  2.25k|        auto custom_handler = it->second->clone();
 1033|  2.25k|        custom_handler->set_padding_info(padding);
 1034|  2.25k|        formatters_.push_back(std::move(custom_handler));
 1035|  2.25k|        return;
 1036|  2.25k|    }
 1037|       |
 1038|       |    // process built-in flags
 1039|  1.25M|    switch (flag) {
 1040|  6.62k|        case ('+'):  // default formatter
  ------------------
  |  Branch (1040:9): [True: 6.62k, False: 1.24M]
  ------------------
 1041|  6.62k|            formatters_.push_back(details::make_unique<details::full_formatter>(padding));
 1042|  6.62k|            need_localtime_ = true;
 1043|  6.62k|            break;
 1044|       |
 1045|  53.2k|        case 'n':  // logger name
  ------------------
  |  Branch (1045:9): [True: 53.2k, False: 1.20M]
  ------------------
 1046|  53.2k|            formatters_.push_back(details::make_unique<details::name_formatter<Padder>>(padding));
 1047|  53.2k|            break;
 1048|       |
 1049|  5.14k|        case 'l':  // level
  ------------------
  |  Branch (1049:9): [True: 5.14k, False: 1.24M]
  ------------------
 1050|  5.14k|            formatters_.push_back(details::make_unique<details::level_formatter<Padder>>(padding));
 1051|  5.14k|            break;
 1052|       |
 1053|  22.7k|        case 'L':  // short level
  ------------------
  |  Branch (1053:9): [True: 22.7k, False: 1.23M]
  ------------------
 1054|  22.7k|            formatters_.push_back(
 1055|  22.7k|                details::make_unique<details::short_level_formatter<Padder>>(padding));
 1056|  22.7k|            break;
 1057|       |
 1058|  1.62k|        case ('t'):  // thread id
  ------------------
  |  Branch (1058:9): [True: 1.62k, False: 1.25M]
  ------------------
 1059|  1.62k|            formatters_.push_back(details::make_unique<details::t_formatter<Padder>>(padding));
 1060|  1.62k|            break;
 1061|       |
 1062|  3.11k|        case ('v'):  // the message text
  ------------------
  |  Branch (1062:9): [True: 3.11k, False: 1.25M]
  ------------------
 1063|  3.11k|            formatters_.push_back(details::make_unique<details::v_formatter<Padder>>(padding));
 1064|  3.11k|            break;
 1065|       |
 1066|  9.38k|        case ('a'):  // weekday
  ------------------
  |  Branch (1066:9): [True: 9.38k, False: 1.24M]
  ------------------
 1067|  9.38k|            formatters_.push_back(details::make_unique<details::a_formatter<Padder>>(padding));
 1068|  9.38k|            need_localtime_ = true;
 1069|  9.38k|            break;
 1070|       |
 1071|  6.42k|        case ('A'):  // short weekday
  ------------------
  |  Branch (1071:9): [True: 6.42k, False: 1.24M]
  ------------------
 1072|  6.42k|            formatters_.push_back(details::make_unique<details::A_formatter<Padder>>(padding));
 1073|  6.42k|            need_localtime_ = true;
 1074|  6.42k|            break;
 1075|       |
 1076|   186k|        case ('b'):
  ------------------
  |  Branch (1076:9): [True: 186k, False: 1.06M]
  ------------------
 1077|   187k|        case ('h'):  // month
  ------------------
  |  Branch (1077:9): [True: 930, False: 1.25M]
  ------------------
 1078|   187k|            formatters_.push_back(details::make_unique<details::b_formatter<Padder>>(padding));
 1079|   187k|            need_localtime_ = true;
 1080|   187k|            break;
 1081|       |
 1082|  16.1k|        case ('B'):  // short month
  ------------------
  |  Branch (1082:9): [True: 16.1k, False: 1.23M]
  ------------------
 1083|  16.1k|            formatters_.push_back(details::make_unique<details::B_formatter<Padder>>(padding));
 1084|  16.1k|            need_localtime_ = true;
 1085|  16.1k|            break;
 1086|       |
 1087|  7.33k|        case ('c'):  // datetime
  ------------------
  |  Branch (1087:9): [True: 7.33k, False: 1.24M]
  ------------------
 1088|  7.33k|            formatters_.push_back(details::make_unique<details::c_formatter<Padder>>(padding));
 1089|  7.33k|            need_localtime_ = true;
 1090|  7.33k|            break;
 1091|       |
 1092|    444|        case ('C'):  // year 2 digits
  ------------------
  |  Branch (1092:9): [True: 444, False: 1.25M]
  ------------------
 1093|    444|            formatters_.push_back(details::make_unique<details::C_formatter<Padder>>(padding));
 1094|    444|            need_localtime_ = true;
 1095|    444|            break;
 1096|       |
 1097|  99.1k|        case ('Y'):  // year 4 digits
  ------------------
  |  Branch (1097:9): [True: 99.1k, False: 1.15M]
  ------------------
 1098|  99.1k|            formatters_.push_back(details::make_unique<details::Y_formatter<Padder>>(padding));
 1099|  99.1k|            need_localtime_ = true;
 1100|  99.1k|            break;
 1101|       |
 1102|  3.54k|        case ('D'):
  ------------------
  |  Branch (1102:9): [True: 3.54k, False: 1.25M]
  ------------------
 1103|  5.73k|        case ('x'):  // datetime MM/DD/YY
  ------------------
  |  Branch (1103:9): [True: 2.19k, False: 1.25M]
  ------------------
 1104|  5.73k|            formatters_.push_back(details::make_unique<details::D_formatter<Padder>>(padding));
 1105|  5.73k|            need_localtime_ = true;
 1106|  5.73k|            break;
 1107|       |
 1108|  16.7k|        case ('m'):  // month 1-12
  ------------------
  |  Branch (1108:9): [True: 16.7k, False: 1.23M]
  ------------------
 1109|  16.7k|            formatters_.push_back(details::make_unique<details::m_formatter<Padder>>(padding));
 1110|  16.7k|            need_localtime_ = true;
 1111|  16.7k|            break;
 1112|       |
 1113|  32.3k|        case ('d'):  // day of month 1-31
  ------------------
  |  Branch (1113:9): [True: 32.3k, False: 1.22M]
  ------------------
 1114|  32.3k|            formatters_.push_back(details::make_unique<details::d_formatter<Padder>>(padding));
 1115|  32.3k|            need_localtime_ = true;
 1116|  32.3k|            break;
 1117|       |
 1118|  12.3k|        case ('H'):  // hours 24
  ------------------
  |  Branch (1118:9): [True: 12.3k, False: 1.24M]
  ------------------
 1119|  12.3k|            formatters_.push_back(details::make_unique<details::H_formatter<Padder>>(padding));
 1120|  12.3k|            need_localtime_ = true;
 1121|  12.3k|            break;
 1122|       |
 1123|  20.0k|        case ('I'):  // hours 12
  ------------------
  |  Branch (1123:9): [True: 20.0k, False: 1.23M]
  ------------------
 1124|  20.0k|            formatters_.push_back(details::make_unique<details::I_formatter<Padder>>(padding));
 1125|  20.0k|            need_localtime_ = true;
 1126|  20.0k|            break;
 1127|       |
 1128|  12.6k|        case ('M'):  // minutes
  ------------------
  |  Branch (1128:9): [True: 12.6k, False: 1.24M]
  ------------------
 1129|  12.6k|            formatters_.push_back(details::make_unique<details::M_formatter<Padder>>(padding));
 1130|  12.6k|            need_localtime_ = true;
 1131|  12.6k|            break;
 1132|       |
 1133|  69.4k|        case ('S'):  // seconds
  ------------------
  |  Branch (1133:9): [True: 69.4k, False: 1.18M]
  ------------------
 1134|  69.4k|            formatters_.push_back(details::make_unique<details::S_formatter<Padder>>(padding));
 1135|  69.4k|            need_localtime_ = true;
 1136|  69.4k|            break;
 1137|       |
 1138|  50.8k|        case ('e'):  // milliseconds
  ------------------
  |  Branch (1138:9): [True: 50.8k, False: 1.20M]
  ------------------
 1139|  50.8k|            formatters_.push_back(details::make_unique<details::e_formatter<Padder>>(padding));
 1140|  50.8k|            break;
 1141|       |
 1142|  11.7k|        case ('f'):  // microseconds
  ------------------
  |  Branch (1142:9): [True: 11.7k, False: 1.24M]
  ------------------
 1143|  11.7k|            formatters_.push_back(details::make_unique<details::f_formatter<Padder>>(padding));
 1144|  11.7k|            break;
 1145|       |
 1146|  9.62k|        case ('F'):  // nanoseconds
  ------------------
  |  Branch (1146:9): [True: 9.62k, False: 1.24M]
  ------------------
 1147|  9.62k|            formatters_.push_back(details::make_unique<details::F_formatter<Padder>>(padding));
 1148|  9.62k|            break;
 1149|       |
 1150|  1.77k|        case ('E'):  // seconds since epoch
  ------------------
  |  Branch (1150:9): [True: 1.77k, False: 1.25M]
  ------------------
 1151|  1.77k|            formatters_.push_back(details::make_unique<details::E_formatter<Padder>>(padding));
 1152|  1.77k|            break;
 1153|       |
 1154|  11.4k|        case ('p'):  // am/pm
  ------------------
  |  Branch (1154:9): [True: 11.4k, False: 1.24M]
  ------------------
 1155|  11.4k|            formatters_.push_back(details::make_unique<details::p_formatter<Padder>>(padding));
 1156|  11.4k|            need_localtime_ = true;
 1157|  11.4k|            break;
 1158|       |
 1159|  47.1k|        case ('r'):  // 12 hour clock 02:55:02 pm
  ------------------
  |  Branch (1159:9): [True: 47.1k, False: 1.20M]
  ------------------
 1160|  47.1k|            formatters_.push_back(details::make_unique<details::r_formatter<Padder>>(padding));
 1161|  47.1k|            need_localtime_ = true;
 1162|  47.1k|            break;
 1163|       |
 1164|  1.40k|        case ('R'):  // 24-hour HH:MM time
  ------------------
  |  Branch (1164:9): [True: 1.40k, False: 1.25M]
  ------------------
 1165|  1.40k|            formatters_.push_back(details::make_unique<details::R_formatter<Padder>>(padding));
 1166|  1.40k|            need_localtime_ = true;
 1167|  1.40k|            break;
 1168|       |
 1169|  16.0k|        case ('T'):
  ------------------
  |  Branch (1169:9): [True: 16.0k, False: 1.23M]
  ------------------
 1170|  16.5k|        case ('X'):  // ISO 8601 time format (HH:MM:SS)
  ------------------
  |  Branch (1170:9): [True: 579, False: 1.25M]
  ------------------
 1171|  16.5k|            formatters_.push_back(details::make_unique<details::T_formatter<Padder>>(padding));
 1172|  16.5k|            need_localtime_ = true;
 1173|  16.5k|            break;
 1174|  21.4k|        case ('z'):  // timezone
  ------------------
  |  Branch (1174:9): [True: 21.4k, False: 1.23M]
  ------------------
 1175|  21.4k|            formatters_.push_back(
 1176|  21.4k|                details::make_unique<details::z_formatter<Padder>>(padding, pattern_time_type_));
 1177|  21.4k|            need_localtime_ = true;
 1178|  21.4k|            break;
 1179|  1.49k|        case ('P'):  // pid
  ------------------
  |  Branch (1179:9): [True: 1.49k, False: 1.25M]
  ------------------
 1180|  1.49k|            formatters_.push_back(details::make_unique<details::pid_formatter<Padder>>(padding));
 1181|  1.49k|            break;
 1182|       |
 1183|  8.56k|        case ('^'):  // color range start
  ------------------
  |  Branch (1183:9): [True: 8.56k, False: 1.24M]
  ------------------
 1184|  8.56k|            formatters_.push_back(details::make_unique<details::color_start_formatter>(padding));
 1185|  8.56k|            break;
 1186|       |
 1187|  10.1k|        case ('$'):  // color range end
  ------------------
  |  Branch (1187:9): [True: 10.1k, False: 1.24M]
  ------------------
 1188|  10.1k|            formatters_.push_back(details::make_unique<details::color_stop_formatter>(padding));
 1189|  10.1k|            break;
 1190|       |
 1191|  15.7k|        case ('@'):  // source location (filename:filenumber)
  ------------------
  |  Branch (1191:9): [True: 15.7k, False: 1.23M]
  ------------------
 1192|  15.7k|            formatters_.push_back(
 1193|  15.7k|                details::make_unique<details::source_location_formatter<Padder>>(padding));
 1194|  15.7k|            break;
 1195|       |
 1196|    438|        case ('s'):  // short source filename - without directory name
  ------------------
  |  Branch (1196:9): [True: 438, False: 1.25M]
  ------------------
 1197|    438|            formatters_.push_back(
 1198|    438|                details::make_unique<details::short_filename_formatter<Padder>>(padding));
 1199|    438|            break;
 1200|       |
 1201|  13.1k|        case ('g'):  // full source filename
  ------------------
  |  Branch (1201:9): [True: 13.1k, False: 1.24M]
  ------------------
 1202|  13.1k|            formatters_.push_back(
 1203|  13.1k|                details::make_unique<details::source_filename_formatter<Padder>>(padding));
 1204|  13.1k|            break;
 1205|       |
 1206|  3.01k|        case ('#'):  // source line number
  ------------------
  |  Branch (1206:9): [True: 3.01k, False: 1.25M]
  ------------------
 1207|  3.01k|            formatters_.push_back(
 1208|  3.01k|                details::make_unique<details::source_linenum_formatter<Padder>>(padding));
 1209|  3.01k|            break;
 1210|       |
 1211|    795|        case ('!'):  // source funcname
  ------------------
  |  Branch (1211:9): [True: 795, False: 1.25M]
  ------------------
 1212|    795|            formatters_.push_back(
 1213|    795|                details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1214|    795|            break;
 1215|       |
 1216|  26.4k|        case ('%'):  // % char
  ------------------
  |  Branch (1216:9): [True: 26.4k, False: 1.22M]
  ------------------
 1217|  26.4k|            formatters_.push_back(details::make_unique<details::ch_formatter>('%'));
 1218|  26.4k|            break;
 1219|       |
 1220|  12.2k|        case ('u'):  // elapsed time since last log message in nanos
  ------------------
  |  Branch (1220:9): [True: 12.2k, False: 1.24M]
  ------------------
 1221|  12.2k|            formatters_.push_back(
 1222|  12.2k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::nanoseconds>>(
 1223|  12.2k|                    padding));
 1224|  12.2k|            break;
 1225|       |
 1226|   300k|        case ('i'):  // elapsed time since last log message in micros
  ------------------
  |  Branch (1226:9): [True: 300k, False: 954k]
  ------------------
 1227|   300k|            formatters_.push_back(
 1228|   300k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::microseconds>>(
 1229|   300k|                    padding));
 1230|   300k|            break;
 1231|       |
 1232|  1.06k|        case ('o'):  // elapsed time since last log message in millis
  ------------------
  |  Branch (1232:9): [True: 1.06k, False: 1.25M]
  ------------------
 1233|  1.06k|            formatters_.push_back(
 1234|  1.06k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::milliseconds>>(
 1235|  1.06k|                    padding));
 1236|  1.06k|            break;
 1237|       |
 1238|  22.8k|        case ('O'):  // elapsed time since last log message in seconds
  ------------------
  |  Branch (1238:9): [True: 22.8k, False: 1.23M]
  ------------------
 1239|  22.8k|            formatters_.push_back(
 1240|  22.8k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::seconds>>(
 1241|  22.8k|                    padding));
 1242|  22.8k|            break;
 1243|       |
 1244|      0|#ifndef SPDLOG_NO_TLS  // mdc formatter requires TLS support
 1245|  1.47k|        case ('&'):
  ------------------
  |  Branch (1245:9): [True: 1.47k, False: 1.25M]
  ------------------
 1246|  1.47k|            formatters_.push_back(details::make_unique<details::mdc_formatter<Padder>>(padding));
 1247|  1.47k|            break;
 1248|      0|#endif
 1249|       |
 1250|  76.4k|        default:  // Unknown flag appears as is
  ------------------
  |  Branch (1250:9): [True: 76.4k, False: 1.17M]
  ------------------
 1251|  76.4k|            auto unknown_flag = details::make_unique<details::aggregate_formatter>();
 1252|       |
 1253|  76.4k|            if (!padding.truncate_) {
  ------------------
  |  Branch (1253:17): [True: 74.0k, False: 2.38k]
  ------------------
 1254|  74.0k|                unknown_flag->add_ch('%');
 1255|  74.0k|                unknown_flag->add_ch(flag);
 1256|  74.0k|                formatters_.push_back((std::move(unknown_flag)));
 1257|  74.0k|            }
 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.38k|            else {
 1262|  2.38k|                padding.truncate_ = false;
 1263|  2.38k|                formatters_.push_back(
 1264|  2.38k|                    details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1265|  2.38k|                unknown_flag->add_ch(flag);
 1266|  2.38k|                formatters_.push_back((std::move(unknown_flag)));
 1267|  2.38k|            }
 1268|       |
 1269|  76.4k|            break;
 1270|  1.25M|    }
 1271|  1.25M|}
_ZN6spdlog7details14name_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  107|  53.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details14name_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  109|  17.7k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  110|  17.7k|        ScopedPadder p(msg.logger_name.size(), padinfo_, dest);
  111|  17.7k|        fmt_helper::append_string_view(msg.logger_name, dest);
  112|  17.7k|    }
_ZN6spdlog7details13scoped_padderC2EmRKNS0_12padding_infoERN3fmt3v1219basic_memory_bufferIcLm250ENS6_6detail9allocatorIcEEEE:
   45|   374k|        : padinfo_(padinfo),
   46|   374k|          dest_(dest) {
   47|   374k|        remaining_pad_ = static_cast<long>(padinfo.width_) - static_cast<long>(wrapped_size);
   48|   374k|        if (remaining_pad_ <= 0) {
  ------------------
  |  Branch (48:13): [True: 302k, False: 72.0k]
  ------------------
   49|   302k|            return;
   50|   302k|        }
   51|       |
   52|  72.0k|        if (padinfo_.side_ == padding_info::pad_side::left) {
  ------------------
  |  Branch (52:13): [True: 59.7k, False: 12.3k]
  ------------------
   53|  59.7k|            pad_it(remaining_pad_);
   54|  59.7k|            remaining_pad_ = 0;
   55|  59.7k|        } else if (padinfo_.side_ == padding_info::pad_side::center) {
  ------------------
  |  Branch (55:20): [True: 5.48k, False: 6.85k]
  ------------------
   56|  5.48k|            auto half_pad = remaining_pad_ / 2;
   57|  5.48k|            auto reminder = remaining_pad_ & 1;
   58|  5.48k|            pad_it(half_pad);
   59|  5.48k|            remaining_pad_ = half_pad + reminder;  // for the right side
   60|  5.48k|        }
   61|  72.0k|    }
_ZN6spdlog7details13scoped_padder6pad_itEl:
   81|   158k|    void pad_it(long count) {
   82|   158k|        fmt_helper::append_string_view(string_view_t(spaces_.data(), static_cast<size_t>(count)),
   83|   158k|                                       dest_);
   84|   158k|    }
_ZN6spdlog7details13scoped_padderD2Ev:
   68|   374k|    ~scoped_padder() {
   69|   374k|        if (remaining_pad_ >= 0) {
  ------------------
  |  Branch (69:13): [True: 93.5k, False: 280k]
  ------------------
   70|  93.5k|            pad_it(remaining_pad_);
   71|   280k|        } else if (padinfo_.truncate_) {
  ------------------
  |  Branch (71:20): [True: 613, False: 280k]
  ------------------
   72|    613|            long new_size = static_cast<long>(dest_.size()) + remaining_pad_;
   73|    613|            if (new_size < 0) {
  ------------------
  |  Branch (73:17): [True: 0, False: 613]
  ------------------
   74|      0|                new_size = 0;
   75|      0|            }
   76|    613|            dest_.resize(static_cast<size_t>(new_size));
   77|    613|        }
   78|   374k|    }
_ZN6spdlog7details15level_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  120|  5.14k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details15level_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  122|  1.36k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  123|  1.36k|        const string_view_t &level_name = level::to_string_view(msg.level);
  124|  1.36k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  125|  1.36k|        fmt_helper::append_string_view(level_name, dest);
  126|  1.36k|    }
_ZN6spdlog7details21short_level_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  134|  22.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details21short_level_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  136|  7.56k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  137|  7.56k|        string_view_t level_name{level::to_short_c_str(msg.level)};
  138|  7.56k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  139|  7.56k|        fmt_helper::append_string_view(level_name, dest);
  140|  7.56k|    }
_ZN6spdlog7details11t_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  575|  1.62k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11t_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  577|    537|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  578|    537|        const auto field_size = ScopedPadder::count_digits(msg.thread_id);
  579|    537|        ScopedPadder p(field_size, padinfo_, dest);
  580|    537|        fmt_helper::append_int(msg.thread_id, dest);
  581|    537|    }
_ZN6spdlog7details13scoped_padder12count_digitsImEEjT_:
   64|   112k|    static unsigned int count_digits(T n) {
   65|   112k|        return fmt_helper::count_digits(n);
   66|   112k|    }
_ZN6spdlog7details11v_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  603|  3.11k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11v_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  605|  1.03k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  606|  1.03k|        ScopedPadder p(msg.payload.size(), padinfo_, dest);
  607|  1.03k|        fmt_helper::append_string_view(msg.payload, dest);
  608|  1.03k|    }
_ZN6spdlog7details11a_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  158|  9.38k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11a_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  160|  3.12k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  161|  3.12k|        string_view_t field_value{days[static_cast<size_t>(tm_time.tm_wday)]};
  162|  3.12k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  163|  3.12k|        fmt_helper::append_string_view(field_value, dest);
  164|  3.12k|    }
_ZN6spdlog7details11A_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  175|  6.42k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11A_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  177|  2.13k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  178|  2.13k|        string_view_t field_value{full_days[static_cast<size_t>(tm_time.tm_wday)]};
  179|  2.13k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  180|  2.13k|        fmt_helper::append_string_view(field_value, dest);
  181|  2.13k|    }
_ZN6spdlog7details11b_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  192|   187k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11b_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  194|  62.5k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  195|  62.5k|        string_view_t field_value{months[static_cast<size_t>(tm_time.tm_mon)]};
  196|  62.5k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  197|  62.5k|        fmt_helper::append_string_view(field_value, dest);
  198|  62.5k|    }
_ZN6spdlog7details11B_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  210|  16.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11B_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  212|  5.37k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  213|  5.37k|        string_view_t field_value{full_months[static_cast<size_t>(tm_time.tm_mon)]};
  214|  5.37k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  215|  5.37k|        fmt_helper::append_string_view(field_value, dest);
  216|  5.37k|    }
_ZN6spdlog7details11c_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  224|  7.33k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11c_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  226|  2.31k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  227|  2.31k|        const size_t field_size = 18 + ScopedPadder::count_digits(tm_time.tm_mday) +
  228|  2.31k|                                  ScopedPadder::count_digits(tm_time.tm_year + 1900);
  229|  2.31k|        ScopedPadder p(field_size, padinfo_, dest);
  230|       |
  231|  2.31k|        fmt_helper::append_string_view(days[static_cast<size_t>(tm_time.tm_wday)], dest);
  232|  2.31k|        dest.push_back(' ');
  233|  2.31k|        fmt_helper::append_string_view(months[static_cast<size_t>(tm_time.tm_mon)], dest);
  234|  2.31k|        dest.push_back(' ');
  235|  2.31k|        fmt_helper::append_int(tm_time.tm_mday, dest);
  236|  2.31k|        dest.push_back(' ');
  237|       |        // time
  238|       |
  239|  2.31k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  240|  2.31k|        dest.push_back(':');
  241|  2.31k|        fmt_helper::pad2(tm_time.tm_min, dest);
  242|  2.31k|        dest.push_back(':');
  243|  2.31k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  244|  2.31k|        dest.push_back(' ');
  245|  2.31k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  246|  2.31k|    }
_ZN6spdlog7details13scoped_padder12count_digitsIiEEjT_:
   64|  4.63k|    static unsigned int count_digits(T n) {
   65|  4.63k|        return fmt_helper::count_digits(n);
   66|  4.63k|    }
_ZN6spdlog7details11C_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  254|    444|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11C_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  256|    148|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  257|    148|        const size_t field_size = 2;
  258|    148|        ScopedPadder p(field_size, padinfo_, dest);
  259|    148|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  260|    148|    }
_ZN6spdlog7details11Y_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  287|  99.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11Y_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  289|  33.0k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  290|  33.0k|        const size_t field_size = 4;
  291|  33.0k|        ScopedPadder p(field_size, padinfo_, dest);
  292|  33.0k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  293|  33.0k|    }
_ZN6spdlog7details11D_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  268|  5.73k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11D_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  270|  1.80k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  271|  1.80k|        const size_t field_size = 8;
  272|  1.80k|        ScopedPadder p(field_size, padinfo_, dest);
  273|       |
  274|  1.80k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  275|  1.80k|        dest.push_back('/');
  276|  1.80k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  277|  1.80k|        dest.push_back('/');
  278|  1.80k|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  279|  1.80k|    }
_ZN6spdlog7details11m_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  301|  16.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11m_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  303|  5.47k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  304|  5.47k|        const size_t field_size = 2;
  305|  5.47k|        ScopedPadder p(field_size, padinfo_, dest);
  306|  5.47k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  307|  5.47k|    }
_ZN6spdlog7details11d_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  315|  32.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11d_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  317|  10.7k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  318|  10.7k|        const size_t field_size = 2;
  319|  10.7k|        ScopedPadder p(field_size, padinfo_, dest);
  320|  10.7k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  321|  10.7k|    }
_ZN6spdlog7details11H_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  329|  12.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11H_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  331|  4.08k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  332|  4.08k|        const size_t field_size = 2;
  333|  4.08k|        ScopedPadder p(field_size, padinfo_, dest);
  334|  4.08k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  335|  4.08k|    }
_ZN6spdlog7details11I_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  343|  20.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11I_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  345|  6.66k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  346|  6.66k|        const size_t field_size = 2;
  347|  6.66k|        ScopedPadder p(field_size, padinfo_, dest);
  348|  6.66k|        fmt_helper::pad2(to12h(tm_time), dest);
  349|  6.66k|    }
format_fuzzer.cc:_ZN6spdlog7detailsL5to12hERK2tm:
  149|  55.6k|static int to12h(const tm &t) { return t.tm_hour % 12 == 0 ? 12 : t.tm_hour % 12; }
  ------------------
  |  Branch (149:40): [True: 0, False: 55.6k]
  ------------------
_ZN6spdlog7details11M_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  357|  12.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11M_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  359|  4.20k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  360|  4.20k|        const size_t field_size = 2;
  361|  4.20k|        ScopedPadder p(field_size, padinfo_, dest);
  362|  4.20k|        fmt_helper::pad2(tm_time.tm_min, dest);
  363|  4.20k|    }
_ZN6spdlog7details11S_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  371|  69.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11S_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  373|  23.1k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  374|  23.1k|        const size_t field_size = 2;
  375|  23.1k|        ScopedPadder p(field_size, padinfo_, dest);
  376|  23.1k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  377|  23.1k|    }
_ZN6spdlog7details11e_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  385|  50.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11e_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  387|  16.8k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  388|  16.8k|        auto millis = fmt_helper::time_fraction<std::chrono::milliseconds>(msg.time);
  389|  16.8k|        const size_t field_size = 3;
  390|  16.8k|        ScopedPadder p(field_size, padinfo_, dest);
  391|  16.8k|        fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
  392|  16.8k|    }
_ZN6spdlog7details11f_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  400|  11.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11f_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  402|  3.77k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  403|  3.77k|        auto micros = fmt_helper::time_fraction<std::chrono::microseconds>(msg.time);
  404|       |
  405|  3.77k|        const size_t field_size = 6;
  406|  3.77k|        ScopedPadder p(field_size, padinfo_, dest);
  407|  3.77k|        fmt_helper::pad6(static_cast<size_t>(micros.count()), dest);
  408|  3.77k|    }
_ZN6spdlog7details11F_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  416|  9.62k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11F_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  418|  3.08k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  419|  3.08k|        auto ns = fmt_helper::time_fraction<std::chrono::nanoseconds>(msg.time);
  420|  3.08k|        const size_t field_size = 9;
  421|  3.08k|        ScopedPadder p(field_size, padinfo_, dest);
  422|  3.08k|        fmt_helper::pad9(static_cast<size_t>(ns.count()), dest);
  423|  3.08k|    }
_ZN6spdlog7details11E_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  431|  1.77k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11E_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  433|    583|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  434|    583|        auto duration = msg.time.time_since_epoch();
  435|    583|        auto seconds = std::chrono::duration_cast<std::chrono::seconds>(duration).count();
  436|    583|        const auto field_size = ScopedPadder::count_digits(seconds);
  437|    583|        ScopedPadder p(field_size, padinfo_, dest);
  438|    583|        fmt_helper::append_int(seconds, dest);
  439|    583|    }
_ZN6spdlog7details13scoped_padder12count_digitsIxEEjT_:
   64|    583|    static unsigned int count_digits(T n) {
   65|    583|        return fmt_helper::count_digits(n);
   66|    583|    }
_ZN6spdlog7details11p_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  447|  11.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11p_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  449|  3.79k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  450|  3.79k|        const size_t field_size = 2;
  451|  3.79k|        ScopedPadder p(field_size, padinfo_, dest);
  452|  3.79k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  453|  3.79k|    }
format_fuzzer.cc:_ZN6spdlog7detailsL4ampmERK2tm:
  147|  28.5k|static const char *ampm(const tm &t) { return t.tm_hour >= 12 ? "PM" : "AM"; }
  ------------------
  |  Branch (147:47): [True: 0, False: 28.5k]
  ------------------
_ZN6spdlog7details11r_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  461|  47.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11r_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  463|  15.4k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  464|  15.4k|        const size_t field_size = 11;
  465|  15.4k|        ScopedPadder p(field_size, padinfo_, dest);
  466|       |
  467|  15.4k|        fmt_helper::pad2(to12h(tm_time), dest);
  468|  15.4k|        dest.push_back(':');
  469|  15.4k|        fmt_helper::pad2(tm_time.tm_min, dest);
  470|  15.4k|        dest.push_back(':');
  471|  15.4k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  472|  15.4k|        dest.push_back(' ');
  473|  15.4k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  474|  15.4k|    }
_ZN6spdlog7details11R_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  482|  1.40k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11R_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  484|    450|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  485|    450|        const size_t field_size = 5;
  486|    450|        ScopedPadder p(field_size, padinfo_, dest);
  487|       |
  488|    450|        fmt_helper::pad2(tm_time.tm_hour, dest);
  489|    450|        dest.push_back(':');
  490|    450|        fmt_helper::pad2(tm_time.tm_min, dest);
  491|    450|    }
_ZN6spdlog7details11T_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  499|  16.5k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11T_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  501|  5.32k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  502|  5.32k|        const size_t field_size = 8;
  503|  5.32k|        ScopedPadder p(field_size, padinfo_, dest);
  504|       |
  505|  5.32k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  506|  5.32k|        dest.push_back(':');
  507|  5.32k|        fmt_helper::pad2(tm_time.tm_min, dest);
  508|  5.32k|        dest.push_back(':');
  509|  5.32k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  510|  5.32k|    }
_ZN6spdlog7details11z_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoENS_17pattern_time_typeE:
  519|  21.4k|        : flag_formatter(padinfo),
  520|  21.4k|          time_type_(time_type) {}
_ZN6spdlog7details11z_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  526|  7.05k|    void format(const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override {
  527|  7.05k|        const size_t field_size = 6;
  528|  7.05k|        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.05k|        if (time_type_ == pattern_time_type::utc) {
  ------------------
  |  Branch (535:13): [True: 0, False: 7.05k]
  ------------------
  536|      0|            const char *zeroes = "+00:00";
  537|      0|            dest.append(zeroes, zeroes + 6);
  538|      0|            return;
  539|      0|        }
  540|  7.05k|        auto total_minutes = get_cached_offset(msg, tm_time);
  541|  7.05k|        bool is_negative = total_minutes < 0;
  542|  7.05k|        if (is_negative) {
  ------------------
  |  Branch (542:13): [True: 0, False: 7.05k]
  ------------------
  543|      0|            total_minutes = -total_minutes;
  544|      0|            dest.push_back('-');
  545|  7.05k|        } else {
  546|  7.05k|            dest.push_back('+');
  547|  7.05k|        }
  548|       |
  549|  7.05k|        fmt_helper::pad2(total_minutes / 60, dest);  // hours
  550|  7.05k|        dest.push_back(':');
  551|  7.05k|        fmt_helper::pad2(total_minutes % 60, dest);  // minutes
  552|  7.05k|#endif  // SPDLOG_NO_TZ_OFFSET
  553|  7.05k|    }
_ZN6spdlog7details11z_formatterINS0_13scoped_padderEE17get_cached_offsetERKNS0_7log_msgERK2tm:
  560|  7.05k|    int get_cached_offset(const log_msg &msg, const std::tm &tm_time) {
  561|       |        // refresh every 10 seconds
  562|  7.05k|        if (msg.time - last_update_ >= std::chrono::seconds(10)) {
  ------------------
  |  Branch (562:13): [True: 7.05k, False: 0]
  ------------------
  563|  7.05k|            offset_minutes_ = os::utc_minutes_offset(tm_time);
  564|  7.05k|            last_update_ = msg.time;
  565|  7.05k|        }
  566|  7.05k|        return offset_minutes_;
  567|  7.05k|    }
_ZN6spdlog7details13pid_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  589|  1.49k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13pid_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  591|    457|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  592|    457|        const auto pid = static_cast<uint32_t>(details::os::pid());
  593|    457|        auto field_size = ScopedPadder::count_digits(pid);
  594|    457|        ScopedPadder p(field_size, padinfo_, dest);
  595|    457|        fmt_helper::append_int(pid, dest);
  596|    457|    }
_ZN6spdlog7details13scoped_padder12count_digitsIjEEjT_:
   64|    457|    static unsigned int count_digits(T n) {
   65|    457|        return fmt_helper::count_digits(n);
   66|    457|    }
_ZN6spdlog7details21color_start_formatterC2ENS0_12padding_infoE:
  642|  16.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details21color_start_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  644|  5.32k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  645|  5.32k|        msg.color_range_start = dest.size();
  646|  5.32k|    }
_ZN6spdlog7details20color_stop_formatterC2ENS0_12padding_infoE:
  652|  25.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details20color_stop_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  654|  8.34k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  655|  8.34k|        msg.color_range_end = dest.size();
  656|  8.34k|    }
_ZN6spdlog7details25source_location_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  664|  15.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_location_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  666|  5.19k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  667|  5.19k|        if (msg.source.empty()) {
  ------------------
  |  Branch (667:13): [True: 5.19k, False: 0]
  ------------------
  668|  5.19k|            ScopedPadder p(0, padinfo_, dest);
  669|  5.19k|            return;
  670|  5.19k|        }
  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|    438|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24short_filename_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  736|    141|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  737|    141|        if (msg.source.empty()) {
  ------------------
  |  Branch (737:13): [True: 141, False: 0]
  ------------------
  738|    141|            ScopedPadder p(0, padinfo_, dest);
  739|    141|            return;
  740|    141|        }
  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|  13.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_filename_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  695|  4.37k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  696|  4.37k|        if (msg.source.empty()) {
  ------------------
  |  Branch (696:13): [True: 4.37k, False: 0]
  ------------------
  697|  4.37k|            ScopedPadder p(0, padinfo_, dest);
  698|  4.37k|            return;
  699|  4.37k|        }
  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|  3.01k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24source_linenum_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  754|    962|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  755|    962|        if (msg.source.empty()) {
  ------------------
  |  Branch (755:13): [True: 962, False: 0]
  ------------------
  756|    962|            ScopedPadder p(0, padinfo_, dest);
  757|    962|            return;
  758|    962|        }
  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|  3.18k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_funcname_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  773|  1.04k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  774|  1.04k|        if (msg.source.empty()) {
  ------------------
  |  Branch (774:13): [True: 1.04k, False: 0]
  ------------------
  775|  1.04k|            ScopedPadder p(0, padinfo_, dest);
  776|  1.04k|            return;
  777|  1.04k|        }
  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|   473k|        : ch_(ch) {}
_ZN6spdlog7details12ch_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  616|   157k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  617|   157k|        dest.push_back(ch_);
  618|   157k|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEEC2ENS0_12padding_infoE:
  792|  12.2k|        : flag_formatter(padinfo),
  793|  12.2k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|  4.09k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|  4.09k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|  4.09k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|  4.09k|        last_message_time_ = msg.time;
  799|  4.09k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|  4.09k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|  4.09k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|  4.09k|        fmt_helper::append_int(delta_count, dest);
  803|  4.09k|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEEC2ENS0_12padding_infoE:
  792|   300k|        : flag_formatter(padinfo),
  793|   300k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|   100k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|   100k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|   100k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|   100k|        last_message_time_ = msg.time;
  799|   100k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|   100k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|   100k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|   100k|        fmt_helper::append_int(delta_count, dest);
  803|   100k|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEC2ENS0_12padding_infoE:
  792|  1.06k|        : flag_formatter(padinfo),
  793|  1.06k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|    333|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|    333|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|    333|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|    333|        last_message_time_ = msg.time;
  799|    333|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|    333|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|    333|        ScopedPadder p(n_digits, padinfo_, dest);
  802|    333|        fmt_helper::append_int(delta_count, dest);
  803|    333|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEEC2ENS0_12padding_infoE:
  792|  22.8k|        : flag_formatter(padinfo),
  793|  22.8k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|  7.62k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|  7.62k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|  7.62k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|  7.62k|        last_message_time_ = msg.time;
  799|  7.62k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|  7.62k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|  7.62k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|  7.62k|        fmt_helper::append_int(delta_count, dest);
  803|  7.62k|    }
_ZN6spdlog7details13mdc_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  816|  1.47k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13mdc_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  818|    488|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  819|    488|        const auto &mdc_map = mdc::get_context();
  820|    488|        if (mdc_map.empty()) {
  ------------------
  |  Branch (820:13): [True: 488, False: 0]
  ------------------
  821|    488|            ScopedPadder p(0, padinfo_, dest);
  822|    488|            return;
  823|    488|        } else {
  824|      0|            format_mdc(mdc_map, dest);
  825|      0|        }
  826|    488|    }
_ZN6spdlog17pattern_formatter12handle_flag_INS_7details18null_scoped_padderEEEvcNS2_12padding_infoE:
 1028|  8.75M|SPDLOG_INLINE void pattern_formatter::handle_flag_(char flag, details::padding_info padding) {
 1029|       |    // process custom flags
 1030|  8.75M|    auto it = custom_handlers_.find(flag);
 1031|  8.75M|    if (it != custom_handlers_.end()) {
  ------------------
  |  Branch (1031:9): [True: 11.2k, False: 8.74M]
  ------------------
 1032|  11.2k|        auto custom_handler = it->second->clone();
 1033|  11.2k|        custom_handler->set_padding_info(padding);
 1034|  11.2k|        formatters_.push_back(std::move(custom_handler));
 1035|  11.2k|        return;
 1036|  11.2k|    }
 1037|       |
 1038|       |    // process built-in flags
 1039|  8.74M|    switch (flag) {
 1040|   184k|        case ('+'):  // default formatter
  ------------------
  |  Branch (1040:9): [True: 184k, False: 8.55M]
  ------------------
 1041|   184k|            formatters_.push_back(details::make_unique<details::full_formatter>(padding));
 1042|   184k|            need_localtime_ = true;
 1043|   184k|            break;
 1044|       |
 1045|  31.7k|        case 'n':  // logger name
  ------------------
  |  Branch (1045:9): [True: 31.7k, False: 8.71M]
  ------------------
 1046|  31.7k|            formatters_.push_back(details::make_unique<details::name_formatter<Padder>>(padding));
 1047|  31.7k|            break;
 1048|       |
 1049|   775k|        case 'l':  // level
  ------------------
  |  Branch (1049:9): [True: 775k, False: 7.96M]
  ------------------
 1050|   775k|            formatters_.push_back(details::make_unique<details::level_formatter<Padder>>(padding));
 1051|   775k|            break;
 1052|       |
 1053|  18.8k|        case 'L':  // short level
  ------------------
  |  Branch (1053:9): [True: 18.8k, False: 8.72M]
  ------------------
 1054|  18.8k|            formatters_.push_back(
 1055|  18.8k|                details::make_unique<details::short_level_formatter<Padder>>(padding));
 1056|  18.8k|            break;
 1057|       |
 1058|  14.5k|        case ('t'):  // thread id
  ------------------
  |  Branch (1058:9): [True: 14.5k, False: 8.72M]
  ------------------
 1059|  14.5k|            formatters_.push_back(details::make_unique<details::t_formatter<Padder>>(padding));
 1060|  14.5k|            break;
 1061|       |
 1062|  9.11k|        case ('v'):  // the message text
  ------------------
  |  Branch (1062:9): [True: 9.11k, False: 8.73M]
  ------------------
 1063|  9.11k|            formatters_.push_back(details::make_unique<details::v_formatter<Padder>>(padding));
 1064|  9.11k|            break;
 1065|       |
 1066|  8.97k|        case ('a'):  // weekday
  ------------------
  |  Branch (1066:9): [True: 8.97k, False: 8.73M]
  ------------------
 1067|  8.97k|            formatters_.push_back(details::make_unique<details::a_formatter<Padder>>(padding));
 1068|  8.97k|            need_localtime_ = true;
 1069|  8.97k|            break;
 1070|       |
 1071|  81.5k|        case ('A'):  // short weekday
  ------------------
  |  Branch (1071:9): [True: 81.5k, False: 8.66M]
  ------------------
 1072|  81.5k|            formatters_.push_back(details::make_unique<details::A_formatter<Padder>>(padding));
 1073|  81.5k|            need_localtime_ = true;
 1074|  81.5k|            break;
 1075|       |
 1076|   203k|        case ('b'):
  ------------------
  |  Branch (1076:9): [True: 203k, False: 8.54M]
  ------------------
 1077|   205k|        case ('h'):  // month
  ------------------
  |  Branch (1077:9): [True: 1.85k, False: 8.74M]
  ------------------
 1078|   205k|            formatters_.push_back(details::make_unique<details::b_formatter<Padder>>(padding));
 1079|   205k|            need_localtime_ = true;
 1080|   205k|            break;
 1081|       |
 1082|  9.16k|        case ('B'):  // short month
  ------------------
  |  Branch (1082:9): [True: 9.16k, False: 8.73M]
  ------------------
 1083|  9.16k|            formatters_.push_back(details::make_unique<details::B_formatter<Padder>>(padding));
 1084|  9.16k|            need_localtime_ = true;
 1085|  9.16k|            break;
 1086|       |
 1087|  26.6k|        case ('c'):  // datetime
  ------------------
  |  Branch (1087:9): [True: 26.6k, False: 8.71M]
  ------------------
 1088|  26.6k|            formatters_.push_back(details::make_unique<details::c_formatter<Padder>>(padding));
 1089|  26.6k|            need_localtime_ = true;
 1090|  26.6k|            break;
 1091|       |
 1092|  18.8k|        case ('C'):  // year 2 digits
  ------------------
  |  Branch (1092:9): [True: 18.8k, False: 8.72M]
  ------------------
 1093|  18.8k|            formatters_.push_back(details::make_unique<details::C_formatter<Padder>>(padding));
 1094|  18.8k|            need_localtime_ = true;
 1095|  18.8k|            break;
 1096|       |
 1097|  9.76k|        case ('Y'):  // year 4 digits
  ------------------
  |  Branch (1097:9): [True: 9.76k, False: 8.73M]
  ------------------
 1098|  9.76k|            formatters_.push_back(details::make_unique<details::Y_formatter<Padder>>(padding));
 1099|  9.76k|            need_localtime_ = true;
 1100|  9.76k|            break;
 1101|       |
 1102|  2.25k|        case ('D'):
  ------------------
  |  Branch (1102:9): [True: 2.25k, False: 8.74M]
  ------------------
 1103|  36.1k|        case ('x'):  // datetime MM/DD/YY
  ------------------
  |  Branch (1103:9): [True: 33.8k, False: 8.70M]
  ------------------
 1104|  36.1k|            formatters_.push_back(details::make_unique<details::D_formatter<Padder>>(padding));
 1105|  36.1k|            need_localtime_ = true;
 1106|  36.1k|            break;
 1107|       |
 1108|  13.4k|        case ('m'):  // month 1-12
  ------------------
  |  Branch (1108:9): [True: 13.4k, False: 8.73M]
  ------------------
 1109|  13.4k|            formatters_.push_back(details::make_unique<details::m_formatter<Padder>>(padding));
 1110|  13.4k|            need_localtime_ = true;
 1111|  13.4k|            break;
 1112|       |
 1113|  77.6k|        case ('d'):  // day of month 1-31
  ------------------
  |  Branch (1113:9): [True: 77.6k, False: 8.66M]
  ------------------
 1114|  77.6k|            formatters_.push_back(details::make_unique<details::d_formatter<Padder>>(padding));
 1115|  77.6k|            need_localtime_ = true;
 1116|  77.6k|            break;
 1117|       |
 1118|  33.8k|        case ('H'):  // hours 24
  ------------------
  |  Branch (1118:9): [True: 33.8k, False: 8.70M]
  ------------------
 1119|  33.8k|            formatters_.push_back(details::make_unique<details::H_formatter<Padder>>(padding));
 1120|  33.8k|            need_localtime_ = true;
 1121|  33.8k|            break;
 1122|       |
 1123|  82.7k|        case ('I'):  // hours 12
  ------------------
  |  Branch (1123:9): [True: 82.7k, False: 8.66M]
  ------------------
 1124|  82.7k|            formatters_.push_back(details::make_unique<details::I_formatter<Padder>>(padding));
 1125|  82.7k|            need_localtime_ = true;
 1126|  82.7k|            break;
 1127|       |
 1128|  63.8k|        case ('M'):  // minutes
  ------------------
  |  Branch (1128:9): [True: 63.8k, False: 8.67M]
  ------------------
 1129|  63.8k|            formatters_.push_back(details::make_unique<details::M_formatter<Padder>>(padding));
 1130|  63.8k|            need_localtime_ = true;
 1131|  63.8k|            break;
 1132|       |
 1133|  39.5k|        case ('S'):  // seconds
  ------------------
  |  Branch (1133:9): [True: 39.5k, False: 8.70M]
  ------------------
 1134|  39.5k|            formatters_.push_back(details::make_unique<details::S_formatter<Padder>>(padding));
 1135|  39.5k|            need_localtime_ = true;
 1136|  39.5k|            break;
 1137|       |
 1138|  51.3k|        case ('e'):  // milliseconds
  ------------------
  |  Branch (1138:9): [True: 51.3k, False: 8.69M]
  ------------------
 1139|  51.3k|            formatters_.push_back(details::make_unique<details::e_formatter<Padder>>(padding));
 1140|  51.3k|            break;
 1141|       |
 1142|  14.5k|        case ('f'):  // microseconds
  ------------------
  |  Branch (1142:9): [True: 14.5k, False: 8.72M]
  ------------------
 1143|  14.5k|            formatters_.push_back(details::make_unique<details::f_formatter<Padder>>(padding));
 1144|  14.5k|            break;
 1145|       |
 1146|   412k|        case ('F'):  // nanoseconds
  ------------------
  |  Branch (1146:9): [True: 412k, False: 8.33M]
  ------------------
 1147|   412k|            formatters_.push_back(details::make_unique<details::F_formatter<Padder>>(padding));
 1148|   412k|            break;
 1149|       |
 1150|  55.3k|        case ('E'):  // seconds since epoch
  ------------------
  |  Branch (1150:9): [True: 55.3k, False: 8.68M]
  ------------------
 1151|  55.3k|            formatters_.push_back(details::make_unique<details::E_formatter<Padder>>(padding));
 1152|  55.3k|            break;
 1153|       |
 1154|  10.2k|        case ('p'):  // am/pm
  ------------------
  |  Branch (1154:9): [True: 10.2k, False: 8.73M]
  ------------------
 1155|  10.2k|            formatters_.push_back(details::make_unique<details::p_formatter<Padder>>(padding));
 1156|  10.2k|            need_localtime_ = true;
 1157|  10.2k|            break;
 1158|       |
 1159|  18.6k|        case ('r'):  // 12 hour clock 02:55:02 pm
  ------------------
  |  Branch (1159:9): [True: 18.6k, False: 8.72M]
  ------------------
 1160|  18.6k|            formatters_.push_back(details::make_unique<details::r_formatter<Padder>>(padding));
 1161|  18.6k|            need_localtime_ = true;
 1162|  18.6k|            break;
 1163|       |
 1164|  42.9k|        case ('R'):  // 24-hour HH:MM time
  ------------------
  |  Branch (1164:9): [True: 42.9k, False: 8.70M]
  ------------------
 1165|  42.9k|            formatters_.push_back(details::make_unique<details::R_formatter<Padder>>(padding));
 1166|  42.9k|            need_localtime_ = true;
 1167|  42.9k|            break;
 1168|       |
 1169|  50.1k|        case ('T'):
  ------------------
  |  Branch (1169:9): [True: 50.1k, False: 8.69M]
  ------------------
 1170|  64.6k|        case ('X'):  // ISO 8601 time format (HH:MM:SS)
  ------------------
  |  Branch (1170:9): [True: 14.5k, False: 8.72M]
  ------------------
 1171|  64.6k|            formatters_.push_back(details::make_unique<details::T_formatter<Padder>>(padding));
 1172|  64.6k|            need_localtime_ = true;
 1173|  64.6k|            break;
 1174|  48.9k|        case ('z'):  // timezone
  ------------------
  |  Branch (1174:9): [True: 48.9k, False: 8.69M]
  ------------------
 1175|  48.9k|            formatters_.push_back(
 1176|  48.9k|                details::make_unique<details::z_formatter<Padder>>(padding, pattern_time_type_));
 1177|  48.9k|            need_localtime_ = true;
 1178|  48.9k|            break;
 1179|  61.5k|        case ('P'):  // pid
  ------------------
  |  Branch (1179:9): [True: 61.5k, False: 8.68M]
  ------------------
 1180|  61.5k|            formatters_.push_back(details::make_unique<details::pid_formatter<Padder>>(padding));
 1181|  61.5k|            break;
 1182|       |
 1183|  7.45k|        case ('^'):  // color range start
  ------------------
  |  Branch (1183:9): [True: 7.45k, False: 8.73M]
  ------------------
 1184|  7.45k|            formatters_.push_back(details::make_unique<details::color_start_formatter>(padding));
 1185|  7.45k|            break;
 1186|       |
 1187|  14.9k|        case ('$'):  // color range end
  ------------------
  |  Branch (1187:9): [True: 14.9k, False: 8.72M]
  ------------------
 1188|  14.9k|            formatters_.push_back(details::make_unique<details::color_stop_formatter>(padding));
 1189|  14.9k|            break;
 1190|       |
 1191|  13.4k|        case ('@'):  // source location (filename:filenumber)
  ------------------
  |  Branch (1191:9): [True: 13.4k, False: 8.73M]
  ------------------
 1192|  13.4k|            formatters_.push_back(
 1193|  13.4k|                details::make_unique<details::source_location_formatter<Padder>>(padding));
 1194|  13.4k|            break;
 1195|       |
 1196|  2.52k|        case ('s'):  // short source filename - without directory name
  ------------------
  |  Branch (1196:9): [True: 2.52k, False: 8.74M]
  ------------------
 1197|  2.52k|            formatters_.push_back(
 1198|  2.52k|                details::make_unique<details::short_filename_formatter<Padder>>(padding));
 1199|  2.52k|            break;
 1200|       |
 1201|  3.26k|        case ('g'):  // full source filename
  ------------------
  |  Branch (1201:9): [True: 3.26k, False: 8.74M]
  ------------------
 1202|  3.26k|            formatters_.push_back(
 1203|  3.26k|                details::make_unique<details::source_filename_formatter<Padder>>(padding));
 1204|  3.26k|            break;
 1205|       |
 1206|  4.24k|        case ('#'):  // source line number
  ------------------
  |  Branch (1206:9): [True: 4.24k, False: 8.73M]
  ------------------
 1207|  4.24k|            formatters_.push_back(
 1208|  4.24k|                details::make_unique<details::source_linenum_formatter<Padder>>(padding));
 1209|  4.24k|            break;
 1210|       |
 1211|  5.70k|        case ('!'):  // source funcname
  ------------------
  |  Branch (1211:9): [True: 5.70k, False: 8.73M]
  ------------------
 1212|  5.70k|            formatters_.push_back(
 1213|  5.70k|                details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1214|  5.70k|            break;
 1215|       |
 1216|   447k|        case ('%'):  // % char
  ------------------
  |  Branch (1216:9): [True: 447k, False: 8.29M]
  ------------------
 1217|   447k|            formatters_.push_back(details::make_unique<details::ch_formatter>('%'));
 1218|   447k|            break;
 1219|       |
 1220|  12.5k|        case ('u'):  // elapsed time since last log message in nanos
  ------------------
  |  Branch (1220:9): [True: 12.5k, False: 8.73M]
  ------------------
 1221|  12.5k|            formatters_.push_back(
 1222|  12.5k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::nanoseconds>>(
 1223|  12.5k|                    padding));
 1224|  12.5k|            break;
 1225|       |
 1226|  7.60k|        case ('i'):  // elapsed time since last log message in micros
  ------------------
  |  Branch (1226:9): [True: 7.60k, False: 8.73M]
  ------------------
 1227|  7.60k|            formatters_.push_back(
 1228|  7.60k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::microseconds>>(
 1229|  7.60k|                    padding));
 1230|  7.60k|            break;
 1231|       |
 1232|  2.00k|        case ('o'):  // elapsed time since last log message in millis
  ------------------
  |  Branch (1232:9): [True: 2.00k, False: 8.74M]
  ------------------
 1233|  2.00k|            formatters_.push_back(
 1234|  2.00k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::milliseconds>>(
 1235|  2.00k|                    padding));
 1236|  2.00k|            break;
 1237|       |
 1238|  97.4k|        case ('O'):  // elapsed time since last log message in seconds
  ------------------
  |  Branch (1238:9): [True: 97.4k, False: 8.64M]
  ------------------
 1239|  97.4k|            formatters_.push_back(
 1240|  97.4k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::seconds>>(
 1241|  97.4k|                    padding));
 1242|  97.4k|            break;
 1243|       |
 1244|      0|#ifndef SPDLOG_NO_TLS  // mdc formatter requires TLS support
 1245|  5.40M|        case ('&'):
  ------------------
  |  Branch (1245:9): [True: 5.40M, False: 3.33M]
  ------------------
 1246|  5.40M|            formatters_.push_back(details::make_unique<details::mdc_formatter<Padder>>(padding));
 1247|  5.40M|            break;
 1248|      0|#endif
 1249|       |
 1250|   195k|        default:  // Unknown flag appears as is
  ------------------
  |  Branch (1250:9): [True: 195k, False: 8.54M]
  ------------------
 1251|   195k|            auto unknown_flag = details::make_unique<details::aggregate_formatter>();
 1252|       |
 1253|   195k|            if (!padding.truncate_) {
  ------------------
  |  Branch (1253:17): [True: 195k, False: 0]
  ------------------
 1254|   195k|                unknown_flag->add_ch('%');
 1255|   195k|                unknown_flag->add_ch(flag);
 1256|   195k|                formatters_.push_back((std::move(unknown_flag)));
 1257|   195k|            }
 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|   195k|            break;
 1270|  8.74M|    }
 1271|  8.74M|}
_ZN6spdlog7details14name_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  107|  31.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details14name_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  109|  10.5k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  110|  10.5k|        ScopedPadder p(msg.logger_name.size(), padinfo_, dest);
  111|  10.5k|        fmt_helper::append_string_view(msg.logger_name, dest);
  112|  10.5k|    }
_ZN6spdlog7details15level_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  120|   775k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details15level_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  122|   258k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  123|   258k|        const string_view_t &level_name = level::to_string_view(msg.level);
  124|   258k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  125|   258k|        fmt_helper::append_string_view(level_name, dest);
  126|   258k|    }
_ZN6spdlog7details21short_level_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  134|  18.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details21short_level_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  136|  6.26k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  137|  6.26k|        string_view_t level_name{level::to_short_c_str(msg.level)};
  138|  6.26k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  139|  6.26k|        fmt_helper::append_string_view(level_name, dest);
  140|  6.26k|    }
_ZN6spdlog7details11t_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  575|  14.5k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11t_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  577|  4.80k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  578|  4.80k|        const auto field_size = ScopedPadder::count_digits(msg.thread_id);
  579|  4.80k|        ScopedPadder p(field_size, padinfo_, dest);
  580|  4.80k|        fmt_helper::append_int(msg.thread_id, dest);
  581|  4.80k|    }
_ZN6spdlog7details18null_scoped_padder12count_digitsImEEjT_:
   98|  44.5k|    static unsigned int count_digits(T /* number */) {
   99|  44.5k|        return 0;
  100|  44.5k|    }
_ZN6spdlog7details11v_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  603|  9.11k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11v_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  605|  3.00k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  606|  3.00k|        ScopedPadder p(msg.payload.size(), padinfo_, dest);
  607|  3.00k|        fmt_helper::append_string_view(msg.payload, dest);
  608|  3.00k|    }
_ZN6spdlog7details11a_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  158|  8.97k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11a_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  160|  2.96k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  161|  2.96k|        string_view_t field_value{days[static_cast<size_t>(tm_time.tm_wday)]};
  162|  2.96k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  163|  2.96k|        fmt_helper::append_string_view(field_value, dest);
  164|  2.96k|    }
_ZN6spdlog7details11A_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  175|  81.5k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11A_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  177|  27.1k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  178|  27.1k|        string_view_t field_value{full_days[static_cast<size_t>(tm_time.tm_wday)]};
  179|  27.1k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  180|  27.1k|        fmt_helper::append_string_view(field_value, dest);
  181|  27.1k|    }
_ZN6spdlog7details11b_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  192|   205k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11b_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  194|  68.3k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  195|  68.3k|        string_view_t field_value{months[static_cast<size_t>(tm_time.tm_mon)]};
  196|  68.3k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  197|  68.3k|        fmt_helper::append_string_view(field_value, dest);
  198|  68.3k|    }
_ZN6spdlog7details11B_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  210|  9.16k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11B_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  212|  3.04k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  213|  3.04k|        string_view_t field_value{full_months[static_cast<size_t>(tm_time.tm_mon)]};
  214|  3.04k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  215|  3.04k|        fmt_helper::append_string_view(field_value, dest);
  216|  3.04k|    }
_ZN6spdlog7details11c_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  224|  26.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11c_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  226|  8.55k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  227|  8.55k|        const size_t field_size = 18 + ScopedPadder::count_digits(tm_time.tm_mday) +
  228|  8.55k|                                  ScopedPadder::count_digits(tm_time.tm_year + 1900);
  229|  8.55k|        ScopedPadder p(field_size, padinfo_, dest);
  230|       |
  231|  8.55k|        fmt_helper::append_string_view(days[static_cast<size_t>(tm_time.tm_wday)], dest);
  232|  8.55k|        dest.push_back(' ');
  233|  8.55k|        fmt_helper::append_string_view(months[static_cast<size_t>(tm_time.tm_mon)], dest);
  234|  8.55k|        dest.push_back(' ');
  235|  8.55k|        fmt_helper::append_int(tm_time.tm_mday, dest);
  236|  8.55k|        dest.push_back(' ');
  237|       |        // time
  238|       |
  239|  8.55k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  240|  8.55k|        dest.push_back(':');
  241|  8.55k|        fmt_helper::pad2(tm_time.tm_min, dest);
  242|  8.55k|        dest.push_back(':');
  243|  8.55k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  244|  8.55k|        dest.push_back(' ');
  245|  8.55k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  246|  8.55k|    }
_ZN6spdlog7details18null_scoped_padder12count_digitsIiEEjT_:
   98|  17.1k|    static unsigned int count_digits(T /* number */) {
   99|  17.1k|        return 0;
  100|  17.1k|    }
_ZN6spdlog7details11C_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  254|  18.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11C_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  256|  6.22k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  257|  6.22k|        const size_t field_size = 2;
  258|  6.22k|        ScopedPadder p(field_size, padinfo_, dest);
  259|  6.22k|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  260|  6.22k|    }
_ZN6spdlog7details11Y_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  287|  9.76k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11Y_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  289|  3.21k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  290|  3.21k|        const size_t field_size = 4;
  291|  3.21k|        ScopedPadder p(field_size, padinfo_, dest);
  292|  3.21k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  293|  3.21k|    }
_ZN6spdlog7details11D_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  268|  36.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11D_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  270|  11.9k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  271|  11.9k|        const size_t field_size = 8;
  272|  11.9k|        ScopedPadder p(field_size, padinfo_, dest);
  273|       |
  274|  11.9k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  275|  11.9k|        dest.push_back('/');
  276|  11.9k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  277|  11.9k|        dest.push_back('/');
  278|  11.9k|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  279|  11.9k|    }
_ZN6spdlog7details11m_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  301|  13.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11m_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  303|  4.46k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  304|  4.46k|        const size_t field_size = 2;
  305|  4.46k|        ScopedPadder p(field_size, padinfo_, dest);
  306|  4.46k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  307|  4.46k|    }
_ZN6spdlog7details11d_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  315|  77.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11d_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  317|  25.8k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  318|  25.8k|        const size_t field_size = 2;
  319|  25.8k|        ScopedPadder p(field_size, padinfo_, dest);
  320|  25.8k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  321|  25.8k|    }
_ZN6spdlog7details11H_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  329|  33.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11H_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  331|  10.8k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  332|  10.8k|        const size_t field_size = 2;
  333|  10.8k|        ScopedPadder p(field_size, padinfo_, dest);
  334|  10.8k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  335|  10.8k|    }
_ZN6spdlog7details11I_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  343|  82.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11I_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  345|  27.5k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  346|  27.5k|        const size_t field_size = 2;
  347|  27.5k|        ScopedPadder p(field_size, padinfo_, dest);
  348|  27.5k|        fmt_helper::pad2(to12h(tm_time), dest);
  349|  27.5k|    }
_ZN6spdlog7details11M_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  357|  63.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11M_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  359|  21.2k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  360|  21.2k|        const size_t field_size = 2;
  361|  21.2k|        ScopedPadder p(field_size, padinfo_, dest);
  362|  21.2k|        fmt_helper::pad2(tm_time.tm_min, dest);
  363|  21.2k|    }
_ZN6spdlog7details11S_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  371|  39.5k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11S_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  373|  11.9k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  374|  11.9k|        const size_t field_size = 2;
  375|  11.9k|        ScopedPadder p(field_size, padinfo_, dest);
  376|  11.9k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  377|  11.9k|    }
_ZN6spdlog7details11e_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  385|  51.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11e_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  387|  17.1k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  388|  17.1k|        auto millis = fmt_helper::time_fraction<std::chrono::milliseconds>(msg.time);
  389|  17.1k|        const size_t field_size = 3;
  390|  17.1k|        ScopedPadder p(field_size, padinfo_, dest);
  391|  17.1k|        fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
  392|  17.1k|    }
_ZN6spdlog7details11f_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  400|  14.5k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11f_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  402|  4.78k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  403|  4.78k|        auto micros = fmt_helper::time_fraction<std::chrono::microseconds>(msg.time);
  404|       |
  405|  4.78k|        const size_t field_size = 6;
  406|  4.78k|        ScopedPadder p(field_size, padinfo_, dest);
  407|  4.78k|        fmt_helper::pad6(static_cast<size_t>(micros.count()), dest);
  408|  4.78k|    }
_ZN6spdlog7details11F_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  416|   412k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11F_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  418|   137k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  419|   137k|        auto ns = fmt_helper::time_fraction<std::chrono::nanoseconds>(msg.time);
  420|   137k|        const size_t field_size = 9;
  421|   137k|        ScopedPadder p(field_size, padinfo_, dest);
  422|   137k|        fmt_helper::pad9(static_cast<size_t>(ns.count()), dest);
  423|   137k|    }
_ZN6spdlog7details11E_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  431|  55.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11E_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  433|  16.5k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  434|  16.5k|        auto duration = msg.time.time_since_epoch();
  435|  16.5k|        auto seconds = std::chrono::duration_cast<std::chrono::seconds>(duration).count();
  436|  16.5k|        const auto field_size = ScopedPadder::count_digits(seconds);
  437|  16.5k|        ScopedPadder p(field_size, padinfo_, dest);
  438|  16.5k|        fmt_helper::append_int(seconds, dest);
  439|  16.5k|    }
_ZN6spdlog7details18null_scoped_padder12count_digitsIxEEjT_:
   98|  16.5k|    static unsigned int count_digits(T /* number */) {
   99|  16.5k|        return 0;
  100|  16.5k|    }
_ZN6spdlog7details11p_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  447|  10.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11p_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  449|  3.33k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  450|  3.33k|        const size_t field_size = 2;
  451|  3.33k|        ScopedPadder p(field_size, padinfo_, dest);
  452|  3.33k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  453|  3.33k|    }
_ZN6spdlog7details11r_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  461|  18.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11r_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  463|  6.04k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  464|  6.04k|        const size_t field_size = 11;
  465|  6.04k|        ScopedPadder p(field_size, padinfo_, dest);
  466|       |
  467|  6.04k|        fmt_helper::pad2(to12h(tm_time), dest);
  468|  6.04k|        dest.push_back(':');
  469|  6.04k|        fmt_helper::pad2(tm_time.tm_min, dest);
  470|  6.04k|        dest.push_back(':');
  471|  6.04k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  472|  6.04k|        dest.push_back(' ');
  473|  6.04k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  474|  6.04k|    }
_ZN6spdlog7details11R_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  482|  42.9k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11R_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  484|  14.2k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  485|  14.2k|        const size_t field_size = 5;
  486|  14.2k|        ScopedPadder p(field_size, padinfo_, dest);
  487|       |
  488|  14.2k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  489|  14.2k|        dest.push_back(':');
  490|  14.2k|        fmt_helper::pad2(tm_time.tm_min, dest);
  491|  14.2k|    }
_ZN6spdlog7details11T_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  499|  64.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11T_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  501|  21.5k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  502|  21.5k|        const size_t field_size = 8;
  503|  21.5k|        ScopedPadder p(field_size, padinfo_, dest);
  504|       |
  505|  21.5k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  506|  21.5k|        dest.push_back(':');
  507|  21.5k|        fmt_helper::pad2(tm_time.tm_min, dest);
  508|  21.5k|        dest.push_back(':');
  509|  21.5k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  510|  21.5k|    }
_ZN6spdlog7details11z_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoENS_17pattern_time_typeE:
  519|  48.9k|        : flag_formatter(padinfo),
  520|  48.9k|          time_type_(time_type) {}
_ZN6spdlog7details11z_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  526|  16.1k|    void format(const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override {
  527|  16.1k|        const size_t field_size = 6;
  528|  16.1k|        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|  16.1k|        if (time_type_ == pattern_time_type::utc) {
  ------------------
  |  Branch (535:13): [True: 0, False: 16.1k]
  ------------------
  536|      0|            const char *zeroes = "+00:00";
  537|      0|            dest.append(zeroes, zeroes + 6);
  538|      0|            return;
  539|      0|        }
  540|  16.1k|        auto total_minutes = get_cached_offset(msg, tm_time);
  541|  16.1k|        bool is_negative = total_minutes < 0;
  542|  16.1k|        if (is_negative) {
  ------------------
  |  Branch (542:13): [True: 0, False: 16.1k]
  ------------------
  543|      0|            total_minutes = -total_minutes;
  544|      0|            dest.push_back('-');
  545|  16.1k|        } else {
  546|  16.1k|            dest.push_back('+');
  547|  16.1k|        }
  548|       |
  549|  16.1k|        fmt_helper::pad2(total_minutes / 60, dest);  // hours
  550|  16.1k|        dest.push_back(':');
  551|  16.1k|        fmt_helper::pad2(total_minutes % 60, dest);  // minutes
  552|  16.1k|#endif  // SPDLOG_NO_TZ_OFFSET
  553|  16.1k|    }
_ZN6spdlog7details11z_formatterINS0_18null_scoped_padderEE17get_cached_offsetERKNS0_7log_msgERK2tm:
  560|  16.1k|    int get_cached_offset(const log_msg &msg, const std::tm &tm_time) {
  561|       |        // refresh every 10 seconds
  562|  16.1k|        if (msg.time - last_update_ >= std::chrono::seconds(10)) {
  ------------------
  |  Branch (562:13): [True: 16.1k, False: 0]
  ------------------
  563|  16.1k|            offset_minutes_ = os::utc_minutes_offset(tm_time);
  564|  16.1k|            last_update_ = msg.time;
  565|  16.1k|        }
  566|  16.1k|        return offset_minutes_;
  567|  16.1k|    }
_ZN6spdlog7details13pid_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  589|  61.5k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13pid_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  591|  20.5k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  592|  20.5k|        const auto pid = static_cast<uint32_t>(details::os::pid());
  593|  20.5k|        auto field_size = ScopedPadder::count_digits(pid);
  594|  20.5k|        ScopedPadder p(field_size, padinfo_, dest);
  595|  20.5k|        fmt_helper::append_int(pid, dest);
  596|  20.5k|    }
_ZN6spdlog7details18null_scoped_padder12count_digitsIjEEjT_:
   98|  20.5k|    static unsigned int count_digits(T /* number */) {
   99|  20.5k|        return 0;
  100|  20.5k|    }
_ZN6spdlog7details25source_location_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  664|  13.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_location_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  666|  4.41k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  667|  4.41k|        if (msg.source.empty()) {
  ------------------
  |  Branch (667:13): [True: 4.41k, False: 0]
  ------------------
  668|  4.41k|            ScopedPadder p(0, padinfo_, dest);
  669|  4.41k|            return;
  670|  4.41k|        }
  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|  2.52k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24short_filename_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  736|    773|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  737|    773|        if (msg.source.empty()) {
  ------------------
  |  Branch (737:13): [True: 773, False: 0]
  ------------------
  738|    773|            ScopedPadder p(0, padinfo_, dest);
  739|    773|            return;
  740|    773|        }
  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|  3.26k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_filename_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  695|  1.06k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  696|  1.06k|        if (msg.source.empty()) {
  ------------------
  |  Branch (696:13): [True: 1.06k, False: 0]
  ------------------
  697|  1.06k|            ScopedPadder p(0, padinfo_, dest);
  698|  1.06k|            return;
  699|  1.06k|        }
  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|  4.24k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24source_linenum_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  754|  1.40k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  755|  1.40k|        if (msg.source.empty()) {
  ------------------
  |  Branch (755:13): [True: 1.40k, False: 0]
  ------------------
  756|  1.40k|            ScopedPadder p(0, padinfo_, dest);
  757|  1.40k|            return;
  758|  1.40k|        }
  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|  5.70k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_funcname_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  773|  1.84k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  774|  1.84k|        if (msg.source.empty()) {
  ------------------
  |  Branch (774:13): [True: 1.84k, False: 0]
  ------------------
  775|  1.84k|            ScopedPadder p(0, padinfo_, dest);
  776|  1.84k|            return;
  777|  1.84k|        }
  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|  12.5k|        : flag_formatter(padinfo),
  793|  12.5k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|  4.08k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|  4.08k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|  4.08k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|  4.08k|        last_message_time_ = msg.time;
  799|  4.08k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|  4.08k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|  4.08k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|  4.08k|        fmt_helper::append_int(delta_count, dest);
  803|  4.08k|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEEC2ENS0_12padding_infoE:
  792|  7.60k|        : flag_formatter(padinfo),
  793|  7.60k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|  2.52k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|  2.52k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|  2.52k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|  2.52k|        last_message_time_ = msg.time;
  799|  2.52k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|  2.52k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|  2.52k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|  2.52k|        fmt_helper::append_int(delta_count, dest);
  803|  2.52k|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEC2ENS0_12padding_infoE:
  792|  2.00k|        : flag_formatter(padinfo),
  793|  2.00k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|    662|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|    662|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|    662|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|    662|        last_message_time_ = msg.time;
  799|    662|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|    662|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|    662|        ScopedPadder p(n_digits, padinfo_, dest);
  802|    662|        fmt_helper::append_int(delta_count, dest);
  803|    662|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEEC2ENS0_12padding_infoE:
  792|  97.4k|        : flag_formatter(padinfo),
  793|  97.4k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  795|  32.4k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  796|  32.4k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  797|  32.4k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  798|  32.4k|        last_message_time_ = msg.time;
  799|  32.4k|        auto delta_count = static_cast<size_t>(delta_units.count());
  800|  32.4k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  801|  32.4k|        ScopedPadder p(n_digits, padinfo_, dest);
  802|  32.4k|        fmt_helper::append_int(delta_count, dest);
  803|  32.4k|    }
_ZN6spdlog7details19aggregate_formatterC2Ev:
  627|  1.47M|    aggregate_formatter() = default;
_ZN6spdlog7details19aggregate_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  630|   487k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  631|   487k|        fmt_helper::append_string_view(str_, dest);
  632|   487k|    }
_ZN6spdlog7details19aggregate_formatter6add_chEc:
  629|  54.9M|    void add_ch(char ch) { str_ += ch; }
_ZN6spdlog17pattern_formatter11set_patternENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1012|    608|SPDLOG_INLINE void pattern_formatter::set_pattern(std::string pattern) {
 1013|    608|    pattern_ = std::move(pattern);
 1014|    608|    need_localtime_ = false;
 1015|    608|    compile_pattern_(pattern_);
 1016|    608|}
_ZN6spdlog17pattern_formatter6formatERKNS_7details7log_msgERN3fmt3v1219basic_memory_bufferIcLm250ENS6_6detail9allocatorIcEEEE:
  995|    380|SPDLOG_INLINE void pattern_formatter::format(const details::log_msg &msg, memory_buf_t &dest) {
  996|    380|    if (need_localtime_) {
  ------------------
  |  Branch (996:9): [True: 296, False: 84]
  ------------------
  997|    296|        const auto secs =
  998|    296|            std::chrono::duration_cast<std::chrono::seconds>(msg.time.time_since_epoch());
  999|    296|        if (secs != last_log_secs_ || cached_tm_.tm_mday == 0) {
  ------------------
  |  Branch (999:13): [True: 296, False: 0]
  |  Branch (999:39): [True: 0, False: 0]
  ------------------
 1000|    296|            cached_tm_ = get_time_(msg);
 1001|    296|            last_log_secs_ = secs;
 1002|    296|        }
 1003|    296|    }
 1004|       |
 1005|  3.72M|    for (auto &f : formatters_) {
  ------------------
  |  Branch (1005:18): [True: 3.72M, False: 380]
  ------------------
 1006|  3.72M|        f->format(msg, cached_tm_, dest);
 1007|  3.72M|    }
 1008|       |    // write eol
 1009|    380|    details::fmt_helper::append_string_view(eol_, dest);
 1010|    380|}
_ZNK6spdlog17pattern_formatter9get_time_ERKNS_7details7log_msgE:
 1020|    296|SPDLOG_INLINE std::tm pattern_formatter::get_time_(const details::log_msg &msg) const {
 1021|    296|    if (pattern_time_type_ == pattern_time_type::local) {
  ------------------
  |  Branch (1021:9): [True: 296, False: 0]
  ------------------
 1022|    296|        return details::os::localtime(log_clock::to_time_t(msg.time));
 1023|    296|    }
 1024|      0|    return details::os::gmtime(log_clock::to_time_t(msg.time));
 1025|    296|}

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

_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|    608|    std::unique_ptr<formatter> sink_formatter) {
   80|    608|    std::lock_guard<mutex_t> lock(mutex_);
   81|    608|    formatter_ = std::move(sink_formatter);
   82|    608|}

_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|    380|void SPDLOG_INLINE sinks::base_sink<Mutex>::log(const details::log_msg &msg) {
   29|    380|    std::lock_guard<Mutex> lock(mutex_);
   30|    380|    sink_it_(msg);
   31|    380|}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE13set_formatterENS2_10unique_ptrINS_9formatterENS2_14default_deleteIS6_EEEE:
   47|    609|sinks::base_sink<Mutex>::set_formatter(std::unique_ptr<formatter> sink_formatter) {
   48|    609|    std::lock_guard<Mutex> lock(mutex_);
   49|    609|    set_formatter_(std::move(sink_formatter));
   50|    609|}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE14set_formatter_ENS2_10unique_ptrINS_9formatterENS2_14default_deleteIS6_EEEE:
   59|    609|sinks::base_sink<Mutex>::set_formatter_(std::unique_ptr<formatter> sink_formatter) {
   60|    609|    formatter_ = std::move(sink_formatter);
   61|    609|}

_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|    380|SPDLOG_INLINE void basic_file_sink<Mutex>::sink_it_(const details::log_msg &msg) {
   51|    380|    memory_buf_t formatted;
   52|    380|    base_sink<Mutex>::formatter_->format(msg, formatted);
   53|    380|    file_helper_.write(formatted);
   54|    380|}

_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|    380|SPDLOG_INLINE bool sinks::sink::should_log(level::level_enum msg_level) const {
   15|    380|    return msg_level >= level_.load(std::memory_order_relaxed);
   16|    380|}

_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|    608|SPDLOG_INLINE void set_formatter(std::unique_ptr<formatter> formatter) {
   24|    608|    details::registry::instance().set_formatter(std::move(formatter));
   25|    608|}
_ZN6spdlog18default_logger_rawEv:
   88|    608|SPDLOG_INLINE logger *default_logger_raw() {
   89|    608|    return details::registry::instance().get_default_raw();
   90|    608|}

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

