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

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

_ZN6spdlog19file_event_handlersC2Ev:
  330|      1|        : before_open(nullptr),
  331|      1|          after_open(nullptr),
  332|      1|          before_close(nullptr),
  333|      1|          after_close(nullptr) {}
_ZNK6spdlog10source_loc5emptyEv:
  322|   175k|    SPDLOG_CONSTEXPR bool empty() const SPDLOG_NOEXCEPT { return line <= 0; }
_ZN6spdlog7details23conditional_static_castIiiTnNSt3__19enable_ifIXsr3std7is_sameIT_T0_EE5valueEiE4typeELi0EEES4_S5_:
  365|  31.6k|constexpr T conditional_static_cast(U value) {
  366|  31.6k|    return value;
  367|  31.6k|}
_ZN6spdlog10source_locC2Ev:
  316|  1.46k|    SPDLOG_CONSTEXPR source_loc() = default;

_ZNK6spdlog7details10backtracer7enabledEv:
   41|  1.46k|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_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");
  ------------------
  |  |  138|      1|#define SPDLOG_FILENAME_T(s) s
  ------------------
   31|      1|    auto *trunc_mode = SPDLOG_FILENAME_T("wb");
  ------------------
  |  |  138|      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 (event_handlers_.after_open) {
  ------------------
  |  Branch (51:17): [True: 0, False: 1]
  ------------------
   52|      0|                event_handlers_.after_open(filename_, fd_);
   53|      0|            }
   54|      1|            return;
   55|      1|        }
   56|       |
   57|      0|        details::os::sleep_for_millis(open_interval_);
   58|      0|    }
   59|       |
   60|      0|    throw_spdlog_ex("Failed opening file " + os::filename_to_str(filename_) + " for writing",
   61|       |                    errno);
   62|      0|}
_ZN6spdlog7details11file_helper5closeEv:
   83|      2|SPDLOG_INLINE void file_helper::close() {
   84|      2|    if (fd_ != nullptr) {
  ------------------
  |  Branch (84:9): [True: 1, False: 1]
  ------------------
   85|      1|        if (event_handlers_.before_close) {
  ------------------
  |  Branch (85:13): [True: 0, False: 1]
  ------------------
   86|      0|            event_handlers_.before_close(filename_, fd_);
   87|      0|        }
   88|       |
   89|      1|        std::fclose(fd_);
   90|      1|        fd_ = nullptr;
   91|       |
   92|      1|        if (event_handlers_.after_close) {
  ------------------
  |  Branch (92:13): [True: 0, False: 1]
  ------------------
   93|      0|            event_handlers_.after_close(filename_);
   94|      0|        }
   95|      1|    }
   96|      2|}
_ZN6spdlog7details11file_helperD2Ev:
   24|      1|SPDLOG_INLINE file_helper::~file_helper() { close(); }
_ZN6spdlog7details11file_helper5writeERKN3fmt3v1219basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   98|  1.04k|SPDLOG_INLINE void file_helper::write(const memory_buf_t &buf) {
   99|  1.04k|    if (fd_ == nullptr) return;
  ------------------
  |  Branch (99:9): [True: 0, False: 1.04k]
  ------------------
  100|  1.04k|    size_t msg_size = buf.size();
  101|  1.04k|    auto data = buf.data();
  102|       |
  103|  1.04k|    if (!details::os::fwrite_bytes(data, msg_size, fd_)) {
  ------------------
  |  Branch (103:9): [True: 0, False: 1.04k]
  ------------------
  104|       |        throw_spdlog_ex("Failed writing to file " + os::filename_to_str(filename_), errno);
  105|      0|    }
  106|  1.04k|}

_ZN6spdlog7details10fmt_helper18append_string_viewEN3fmt3v1217basic_string_viewIcEERNS3_19basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   21|  1.74M|inline void append_string_view(spdlog::string_view_t view, memory_buf_t &dest) {
   22|  1.74M|    auto *buf_ptr = view.data();
   23|  1.74M|    dest.append(buf_ptr, buf_ptr + view.size());
   24|  1.74M|}
_ZN6spdlog7details10fmt_helper10append_intIiEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|   265k|inline void append_int(T n, memory_buf_t &dest) {
   43|   265k|    fmt::format_int i(n);
   44|   265k|    dest.append(i.data(), i.data() + i.size());
   45|   265k|}
_ZN6spdlog7details10fmt_helper4pad2EiRN3fmt3v1219basic_memory_bufferIcLm250ENS3_6detail9allocatorIcEEEE:
   84|  1.25M|inline void pad2(int n, memory_buf_t &dest) {
   85|  1.25M|    if (n >= 0 && n < 100)  // 0-99
  ------------------
  |  Branch (85:9): [True: 1.25M, False: 0]
  |  Branch (85:19): [True: 1.25M, False: 0]
  ------------------
   86|  1.25M|    {
   87|  1.25M|        dest.push_back(static_cast<char>('0' + n / 10));
   88|  1.25M|        dest.push_back(static_cast<char>('0' + n % 10));
   89|  1.25M|    } else  // unlikely, but just in case, let fmt deal with it
   90|      0|    {
   91|      0|        fmt_lib::format_to(std::back_inserter(dest), SPDLOG_FMT_STRING("{:02}"), n);
  ------------------
  |  |   55|      0|#define SPDLOG_FMT_STRING(format_string) FMT_STRING(format_string)
  |  |  ------------------
  |  |  |  | 4251|      0|#define FMT_STRING(s) FMT_STRING_IMPL(s, fmt::detail::compile_string)
  |  |  |  |  ------------------
  |  |  |  |  |  | 4226|      0|    [] {                                                                     \
  |  |  |  |  |  | 4227|      0|      /* Use the hidden visibility as a workaround for a GCC bug (#1973). */ \
  |  |  |  |  |  | 4228|      0|      /* Use a macro-like name to avoid shadowing warnings. */               \
  |  |  |  |  |  | 4229|      0|      struct FMT_VISIBILITY("hidden") FMT_COMPILE_STRING : base {            \
  |  |  |  |  |  | 4230|      0|        using char_type = fmt::remove_cvref_t<decltype(s[0])>;               \
  |  |  |  |  |  | 4231|      0|        constexpr explicit operator fmt::basic_string_view<char_type>()      \
  |  |  |  |  |  | 4232|      0|            const {                                                          \
  |  |  |  |  |  | 4233|      0|          return fmt::detail::compile_string_to_view<char_type>(s);          \
  |  |  |  |  |  | 4234|      0|        }                                                                    \
  |  |  |  |  |  | 4235|      0|      };                                                                     \
  |  |  |  |  |  | 4236|      0|      using FMT_STRING_VIEW =                                                \
  |  |  |  |  |  | 4237|      0|          fmt::basic_string_view<typename FMT_COMPILE_STRING::char_type>;    \
  |  |  |  |  |  | 4238|      0|      fmt::detail::ignore_unused(FMT_STRING_VIEW(FMT_COMPILE_STRING()));     \
  |  |  |  |  |  | 4239|      0|      return FMT_COMPILE_STRING();                                           \
  |  |  |  |  |  | 4240|      0|    }()
  |  |  |  |  ------------------
  |  |  ------------------
  ------------------
   92|      0|    }
   93|  1.25M|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEET_NS4_10time_pointINS4_12system_clockENS5_IxNS6_ILl1ELl1000000EEEEEEE:
  131|   149k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|   149k|    using std::chrono::duration_cast;
  133|   149k|    using std::chrono::seconds;
  134|   149k|    auto duration = tp.time_since_epoch();
  135|   149k|    auto secs = duration_cast<seconds>(duration);
  136|   149k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|   149k|}
_ZN6spdlog7details10fmt_helper4pad3IjEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  105|   149k|inline void pad3(T n, memory_buf_t &dest) {
  106|   149k|    static_assert(std::is_unsigned<T>::value, "pad3 must get unsigned T");
  107|   149k|    if (n < 1000) {
  ------------------
  |  Branch (107:9): [True: 149k, False: 0]
  ------------------
  108|   149k|        dest.push_back(static_cast<char>(n / 100 + '0'));
  109|   149k|        n = n % 100;
  110|   149k|        dest.push_back(static_cast<char>((n / 10) + '0'));
  111|   149k|        dest.push_back(static_cast<char>((n % 10) + '0'));
  112|   149k|    } else {
  113|      0|        append_int(n, dest);
  114|      0|    }
  115|   149k|}
_ZN6spdlog7details10fmt_helper10append_intIjEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|  31.6k|inline void append_int(T n, memory_buf_t &dest) {
   43|  31.6k|    fmt::format_int i(n);
   44|  31.6k|    dest.append(i.data(), i.data() + i.size());
   45|  31.6k|}
_ZN6spdlog7details10fmt_helper12count_digitsImEEjT_:
   66|   217k|inline unsigned int count_digits(T n) {
   67|   217k|    using count_type =
   68|   217k|        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|   217k|    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|   217k|                                         detail
   79|   217k|#endif
   80|   217k|                                     ::count_digits(static_cast<count_type>(n)));
   81|   217k|#endif
   82|   217k|}
_ZN6spdlog7details10fmt_helper10append_intImEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|   318k|inline void append_int(T n, memory_buf_t &dest) {
   43|   318k|    fmt::format_int i(n);
   44|   318k|    dest.append(i.data(), i.data() + i.size());
   45|   318k|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEEET_NS4_10time_pointINS4_12system_clockES8_EE:
  131|  16.7k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|  16.7k|    using std::chrono::duration_cast;
  133|  16.7k|    using std::chrono::seconds;
  134|  16.7k|    auto duration = tp.time_since_epoch();
  135|  16.7k|    auto secs = duration_cast<seconds>(duration);
  136|  16.7k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|  16.7k|}
_ZN6spdlog7details10fmt_helper4pad6ImEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  118|  16.7k|inline void pad6(T n, memory_buf_t &dest) {
  119|  16.7k|    pad_uint(n, 6, dest);
  120|  16.7k|}
_ZN6spdlog7details10fmt_helper8pad_uintImEEvT_jRN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   96|  31.9k|inline void pad_uint(T n, unsigned int width, memory_buf_t &dest) {
   97|  31.9k|    static_assert(std::is_unsigned<T>::value, "pad_uint must get unsigned T");
   98|  36.8k|    for (auto digits = count_digits(n); digits < width; digits++) {
  ------------------
  |  Branch (98:41): [True: 4.99k, False: 31.9k]
  ------------------
   99|  4.99k|        dest.push_back('0');
  100|  4.99k|    }
  101|  31.9k|    append_int(n, dest);
  102|  31.9k|}
_ZN6spdlog7details10fmt_helper13time_fractionINSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEEET_NS4_10time_pointINS4_12system_clockENS5_IxNS6_ILl1ELl1000000EEEEEEE:
  131|  15.1k|inline ToDuration time_fraction(log_clock::time_point tp) {
  132|  15.1k|    using std::chrono::duration_cast;
  133|  15.1k|    using std::chrono::seconds;
  134|  15.1k|    auto duration = tp.time_since_epoch();
  135|  15.1k|    auto secs = duration_cast<seconds>(duration);
  136|  15.1k|    return duration_cast<ToDuration>(duration) - duration_cast<ToDuration>(secs);
  137|  15.1k|}
_ZN6spdlog7details10fmt_helper4pad9ImEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
  123|  15.1k|inline void pad9(T n, memory_buf_t &dest) {
  124|  15.1k|    pad_uint(n, 9, dest);
  125|  15.1k|}
_ZN6spdlog7details10fmt_helper10append_intIxEEvT_RN3fmt3v1219basic_memory_bufferIcLm250ENS5_6detail9allocatorIcEEEE:
   42|  16.3k|inline void append_int(T n, memory_buf_t &dest) {
   43|  16.3k|    fmt::format_int i(n);
   44|  16.3k|    dest.append(i.data(), i.data() + i.size());
   45|  16.3k|}
_ZN6spdlog7details10fmt_helper12count_digitsIjEEjT_:
   66|    912|inline unsigned int count_digits(T n) {
   67|    912|    using count_type =
   68|    912|        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|    912|    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|    912|                                         detail
   79|    912|#endif
   80|    912|                                     ::count_digits(static_cast<count_type>(n)));
   81|    912|#endif
   82|    912|}

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

_ZN6spdlog7details2os11in_terminalEP8_IO_FILE:
  396|      1|SPDLOG_INLINE bool in_terminal(FILE *file) SPDLOG_NOEXCEPT {
  397|       |#ifdef _WIN32
  398|       |    return ::_isatty(_fileno(file)) != 0;
  399|       |#else
  400|      1|    return ::isatty(fileno(file)) != 0;
  401|      1|#endif
  402|      1|}
_ZN6spdlog7details2os12fwrite_bytesEPKvmP8_IO_FILE:
  558|  1.04k|SPDLOG_INLINE bool fwrite_bytes(const void *ptr, const size_t n_bytes, FILE *fp) {
  559|       |#if defined(_WIN32) && defined(SPDLOG_FWRITE_UNLOCKED)
  560|       |    return _fwrite_nolock(ptr, 1, n_bytes, fp) == n_bytes;
  561|       |#elif defined(SPDLOG_FWRITE_UNLOCKED)
  562|       |    return ::fwrite_unlocked(ptr, 1, n_bytes, fp) == n_bytes;
  563|       |#else
  564|  1.04k|    return std::fwrite(ptr, 1, n_bytes, fp) == n_bytes;
  565|  1.04k|#endif
  566|  1.04k|}
_ZN6spdlog7details2os18utc_minutes_offsetERK2tm:
  265|  12.7k|SPDLOG_INLINE int utc_minutes_offset(const std::tm &tm) {
  266|  12.7k|    return static_cast<int>(tm.tm_gmtoff / 60);
  267|  12.7k|}
_ZN6spdlog7details2os3pidEv:
  355|  31.6k|SPDLOG_INLINE int pid() SPDLOG_NOEXCEPT {
  356|       |#ifdef _WIN32
  357|       |    return conditional_static_cast<int>(::GetCurrentProcessId());
  358|       |#else
  359|  31.6k|    return conditional_static_cast<int>(::getpid());
  360|  31.6k|#endif
  361|  31.6k|}
_ZN6spdlog7details2os9localtimeERKl:
   87|    919|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|    919|    std::tm tm;
   93|    919|    ::localtime_r(&time_tt, &tm);
   94|    919|#endif
   95|    919|    return tm;
   96|    919|}
_ZN6spdlog7details2os10create_dirERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  482|      1|SPDLOG_INLINE bool create_dir(const filename_t &path) {
  483|      1|    if (path_exists(path)) {
  ------------------
  |  Branch (483:9): [True: 1, False: 0]
  ------------------
  484|      1|        return true;
  485|      1|    }
  486|       |
  487|      0|    if (path.empty()) {
  ------------------
  |  Branch (487:9): [True: 0, False: 0]
  ------------------
  488|      0|        return false;
  489|      0|    }
  490|       |
  491|      0|    size_t search_offset = 0;
  492|      0|    do {
  493|      0|        auto token_pos = path.find_first_of(folder_seps_filename, search_offset);
  494|       |        // treat the entire path as a folder if no folder separator not found
  495|      0|        if (token_pos == filename_t::npos) {
  ------------------
  |  Branch (495:13): [True: 0, False: 0]
  ------------------
  496|      0|            token_pos = path.size();
  497|      0|        }
  498|       |
  499|      0|        auto subdir = path.substr(0, token_pos);
  500|       |#ifdef _WIN32
  501|       |        // if subdir is just a drive letter, add a slash e.g. "c:"=>"c:\",
  502|       |        // otherwise path_exists(subdir) returns false (issue #3079)
  503|       |        const bool is_drive = subdir.length() == 2 && subdir[1] == ':';
  504|       |        if (is_drive) {
  505|       |            subdir += '\\';
  506|       |            token_pos++;
  507|       |        }
  508|       |#endif
  509|       |
  510|      0|        if (!subdir.empty() && !path_exists(subdir) && !mkdir_(subdir)) {
  ------------------
  |  Branch (510:13): [True: 0, False: 0]
  |  Branch (510:32): [True: 0, False: 0]
  |  Branch (510:56): [True: 0, False: 0]
  ------------------
  511|      0|            return false;  // return error if failed creating dir
  512|      0|        }
  513|      0|        search_offset = token_pos + 1;
  514|      0|    } while (search_offset < path.size());
  ------------------
  |  Branch (514:14): [True: 0, False: 0]
  ------------------
  515|       |
  516|      0|    return true;
  517|      0|}
_ZN6spdlog7details2os11path_existsERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  177|      1|SPDLOG_INLINE bool path_exists(const filename_t &filename) SPDLOG_NOEXCEPT {
  178|       |#ifdef _WIN32
  179|       |    struct _stat buffer;
  180|       |#ifdef SPDLOG_WCHAR_FILENAMES
  181|       |    return (::_wstat(filename.c_str(), &buffer) == 0);
  182|       |#else
  183|       |    return (::_stat(filename.c_str(), &buffer) == 0);
  184|       |#endif
  185|       |#else  // common linux/unix all have the stat system call
  186|      1|    struct stat buffer;
  187|      1|    return (::stat(filename.c_str(), &buffer) == 0);
  188|      1|#endif
  189|      1|}
_ZN6spdlog7details2os8dir_nameERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  524|      1|SPDLOG_INLINE filename_t dir_name(const filename_t &path) {
  525|      1|    auto pos = path.find_last_of(folder_seps_filename);
  526|      1|    return pos != filename_t::npos ? path.substr(0, pos) : filename_t{};
  ------------------
  |  Branch (526:12): [True: 1, False: 0]
  ------------------
  527|      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|  1.04k|SPDLOG_INLINE spdlog::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|  1.04k|    return log_clock::now();
   85|  1.04k|#endif
   86|  1.04k|}
_ZN6spdlog7details2os9thread_idEv:
  325|  1.04k|SPDLOG_INLINE size_t thread_id() SPDLOG_NOEXCEPT {
  326|       |#if defined(SPDLOG_NO_TLS)
  327|       |    return _thread_id();
  328|       |#else  // cache thread id in tls
  329|  1.04k|    static thread_local const size_t tid = _thread_id();
  330|  1.04k|    return tid;
  331|  1.04k|#endif
  332|  1.04k|}
_ZN6spdlog7details2os10_thread_idEv:
  274|      1|SPDLOG_INLINE size_t _thread_id() SPDLOG_NOEXCEPT {
  275|       |#ifdef _WIN32
  276|       |    return static_cast<size_t>(::GetCurrentThreadId());
  277|       |#elif defined(__linux__)
  278|       |#if defined(__ANDROID__) && defined(__ANDROID_API__) && (__ANDROID_API__ < 21)
  279|       |#define SYS_gettid __NR_gettid
  280|       |#endif
  281|      1|    return static_cast<size_t>(::syscall(SYS_gettid));
  282|       |#elif defined(_AIX)
  283|       |    struct __pthrdsinfo buf;
  284|       |    int reg_size = 0;
  285|       |    pthread_t pt = pthread_self();
  286|       |    int retval = pthread_getthrds_np(&pt, PTHRDSINFO_QUERY_TID, &buf, sizeof(buf), NULL, &reg_size);
  287|       |    int tid = (!retval) ? buf.__pi_tid : 0;
  288|       |    return static_cast<size_t>(tid);
  289|       |#elif defined(__DragonFly__) || defined(__FreeBSD__)
  290|       |    return static_cast<size_t>(::pthread_getthreadid_np());
  291|       |#elif defined(__NetBSD__)
  292|       |    return static_cast<size_t>(::_lwp_self());
  293|       |#elif defined(__OpenBSD__)
  294|       |    return static_cast<size_t>(::getthrid());
  295|       |#elif defined(__sun)
  296|       |    return static_cast<size_t>(::thr_self());
  297|       |#elif __APPLE__
  298|       |    uint64_t tid;
  299|       |// There is no pthread_threadid_np prior to Mac OS X 10.6, and it is not supported on any PPC,
  300|       |// including 10.6.8 Rosetta. __POWERPC__ is Apple-specific define encompassing ppc and ppc64.
  301|       |#ifdef MAC_OS_X_VERSION_MAX_ALLOWED
  302|       |    {
  303|       |#if (MAC_OS_X_VERSION_MAX_ALLOWED < 1060) || defined(__POWERPC__)
  304|       |        tid = pthread_mach_thread_np(pthread_self());
  305|       |#elif MAC_OS_X_VERSION_MIN_REQUIRED < 1060
  306|       |        if (&pthread_threadid_np) {
  307|       |            pthread_threadid_np(nullptr, &tid);
  308|       |        } else {
  309|       |            tid = pthread_mach_thread_np(pthread_self());
  310|       |        }
  311|       |#else
  312|       |        pthread_threadid_np(nullptr, &tid);
  313|       |#endif
  314|       |    }
  315|       |#else
  316|       |    pthread_threadid_np(nullptr, &tid);
  317|       |#endif
  318|       |    return static_cast<size_t>(tid);
  319|       |#else  // Default to standard C++11 (other Unix)
  320|       |    return static_cast<size_t>(std::hash<std::thread::id>()(std::this_thread::get_id()));
  321|       |#endif
  322|      1|}

_ZN6spdlog7details8registry8instanceEv:
  241|  2.93k|SPDLOG_INLINE registry &registry::instance() {
  242|  2.93k|    static registry s_instance;
  243|  2.93k|    return s_instance;
  244|  2.93k|}
_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<spdlog::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|  1.46k|SPDLOG_INLINE void registry::set_formatter(std::unique_ptr<formatter> formatter) {
  125|  1.46k|    std::lock_guard<std::mutex> lock(logger_map_mutex_);
  126|  1.46k|    formatter_ = std::move(formatter);
  127|  2.93k|    for (auto &l : loggers_) {
  ------------------
  |  Branch (127:18): [True: 2.93k, False: 1.46k]
  ------------------
  128|  2.93k|        l.second->set_formatter(formatter_->clone());
  129|  2.93k|    }
  130|  1.46k|}
_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|  1.46k|SPDLOG_INLINE logger *registry::get_default_raw() { return default_logger_.get(); }

_ZN6spdlog19synchronous_factory6createINS_5sinks15basic_file_sinkINSt3__15mutexEEEJRKNS4_12basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEERbRKNS_19file_event_handlersEEEENS4_10shared_ptrINS_6loggerEEESC_DpOT0_:
   15|      1|    static std::shared_ptr<spdlog::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<spdlog::logger>(std::move(logger_name), std::move(sink));
   18|      1|        details::registry::instance().initialize_logger(new_logger);
   19|      1|        return new_logger;
   20|      1|    }

_ZN3fmt3v126detail13ignore_unusedIJbEEEvDpRKT_:
  361|  9.05k|template <typename... T> FMT_CONSTEXPR void ignore_unused(const T&...) {}
_ZNK3fmt3v126detail6bufferIcE8capacityEv:
 1818|  19.3k|  constexpr auto capacity() const noexcept -> size_t { return capacity_; }
_ZN3fmt3v126detail6bufferIcE4dataEv:
 1821|   382k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZNK3fmt3v126detail6bufferIcE4sizeEv:
 1815|  14.5M|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIcEC2EPFvRS3_mEPcmm:
 1790|  14.5M|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIcE3setEPcm:
 1796|   367k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1797|   367k|    ptr_ = buf_data;
 1798|   367k|    capacity_ = buf_capacity;
 1799|   367k|  }
_ZNK3fmt3v1217basic_string_viewIcE4dataEv:
  564|  33.0M|  constexpr auto data() const noexcept -> const Char* { return data_; }
_ZN3fmt3v126detail6bufferIcE6appendIcEEvPKT_S7_:
 1855|  39.6M|      append(const U* begin, const U* end) {
 1856|  64.1M|    while (begin != end) {
  ------------------
  |  Branch (1856:12): [True: 24.5M, False: 39.6M]
  ------------------
 1857|  24.5M|      auto size = size_;
 1858|  24.5M|      auto free_cap = capacity_ - size;
 1859|  24.5M|      auto count = to_unsigned(end - begin);
 1860|  24.5M|      if (free_cap < count) {
  ------------------
  |  Branch (1860:11): [True: 4.90k, False: 24.5M]
  ------------------
 1861|  4.90k|        grow_(*this, size + count);
 1862|  4.90k|        size = size_;
 1863|  4.90k|        free_cap = capacity_ - size;
 1864|  4.90k|        count = count < free_cap ? count : free_cap;
  ------------------
  |  Branch (1864:17): [True: 4.54k, False: 364]
  ------------------
 1865|  4.90k|      }
 1866|       |      // A loop is faster than memcpy on small sizes.
 1867|  24.5M|      T* out = ptr_ + size;
 1868|  26.9G|      for (size_t i = 0; i < count; ++i) out[i] = begin[i];
  ------------------
  |  Branch (1868:26): [True: 26.9G, False: 24.5M]
  ------------------
 1869|  24.5M|      size_ += count;
 1870|  24.5M|      begin += count;
 1871|  24.5M|    }
 1872|  39.6M|  }
_ZN3fmt3v126detail11to_unsignedIlEENSt3__113make_unsignedIT_E4typeES5_:
  439|   126M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|   126M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|   252M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [Folded, False: 126M]
  |  |  |  Branch (395:7): [True: 126M, False: 0]
  |  |  ------------------
  |  |  396|   126M|         ? (void)0                                                          \
  |  |  397|   126M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|   126M|  return static_cast<make_unsigned_t<Int>>(value);
  442|   126M|}
_ZNK3fmt3v1217basic_string_viewIcE4sizeEv:
  567|  73.2M|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v1217basic_string_viewIcEC2INSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEETnNS4_9enable_ifIXaasr6detail18is_std_string_likeIT_EE5valuesr3std7is_sameINSC_10value_typeEcEE5valueEiE4typeELi0EEERKSC_:
  561|   667k|      : data_(s.data()), size_(s.size()) {}
_ZN3fmt3v1217basic_string_viewIcEC2EPKc:
  543|   409k|  FMT_CONSTEXPR20 basic_string_view(const Char* s) : data_(s) {
  544|   409k|#if FMT_HAS_BUILTIN(__builtin_strlen) || FMT_GCC_VERSION || FMT_CLANG_VERSION
  545|   409k|    if (std::is_same<Char, char>::value && !detail::is_constant_evaluated()) {
  ------------------
  |  Branch (545:9): [True: 0, Folded]
  |  Branch (545:44): [True: 0, Folded]
  ------------------
  546|   409k|      size_ = __builtin_strlen(detail::narrow(s));  // strlen is not constexpr.
  547|   409k|      return;
  548|   409k|    }
  549|      0|#endif
  550|      0|    size_t len = 0;
  551|      0|    while (*s++) ++len;
  ------------------
  |  Branch (551:12): [True: 0, False: 0]
  ------------------
  552|      0|    size_ = len;
  553|      0|  }
_ZN3fmt3v126detail6narrowEPKc:
  469|   409k|constexpr FMT_ALWAYS_INLINE auto narrow(const char* s) -> const char* {
  470|   409k|  return s;
  471|   409k|}
_ZN3fmt3v126detail6bufferIcE5clearEv:
 1825|   115k|  FMT_CONSTEXPR void clear() { size_ = 0; }
_ZN3fmt3v126detail6bufferIcE9push_backERKc:
 1842|  6.54G|  FMT_CONSTEXPR void push_back(const T& value) {
 1843|  6.54G|    try_reserve(size_ + 1);
 1844|  6.54G|    ptr_[size_++] = value;
 1845|  6.54G|  }
_ZN3fmt3v126detail6bufferIcE11try_reserveEm:
 1838|  6.54G|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1839|  6.54G|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1839:9): [True: 4.15k, False: 6.54G]
  ------------------
 1840|  6.54G|  }
_ZN3fmt3v126detail11to_unsignedIiEENSt3__113make_unsignedIT_E4typeES5_:
  439|  9.99M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|  9.99M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|  19.9M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [Folded, False: 9.99M]
  |  |  |  Branch (395:7): [True: 9.99M, False: 0]
  |  |  ------------------
  |  |  396|  9.99M|         ? (void)0                                                          \
  |  |  397|  9.99M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|  9.99M|  return static_cast<make_unsigned_t<Int>>(value);
  442|  9.99M|}
_ZN3fmt3v1214basic_appenderIcEC2ERNS0_6detail6bufferIcEE:
 2491|  14.2M|  FMT_CONSTEXPR basic_appender(detail::buffer<T>& buf) : container(&buf) {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE3getEi:
 2646|  43.5k|  FMT_CONSTEXPR auto get(int id) const -> format_arg {
 2647|  43.5k|    auto arg = format_arg();
 2648|  43.5k|    if (!is_packed()) {
  ------------------
  |  Branch (2648:9): [True: 0, False: 43.5k]
  ------------------
 2649|      0|      if (id < max_size()) arg = args_[id];
  ------------------
  |  Branch (2649:11): [True: 0, False: 0]
  ------------------
 2650|      0|      return arg;
 2651|      0|    }
 2652|  43.5k|    if (static_cast<unsigned>(id) >= detail::max_packed_args) return arg;
  ------------------
  |  Branch (2652:9): [True: 13, False: 43.5k]
  ------------------
 2653|  43.5k|    arg.type_ = type(id);
 2654|  43.5k|    if (arg.type_ != detail::type::none_type) arg.value_ = values_[id];
  ------------------
  |  Branch (2654:9): [True: 43.5k, False: 17]
  ------------------
 2655|  43.5k|    return arg;
 2656|  43.5k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2Ev:
 2526|  43.5k|  constexpr basic_format_arg() : type_(detail::type::none_type) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ev:
 2201|  43.5k|  constexpr FMT_INLINE value() : no_value() {}
_ZN3fmt3v129monostateC2Ev:
  335|  43.5k|  constexpr monostate() {}
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE9is_packedEv:
 2602|  43.5k|  constexpr auto is_packed() const -> bool {
 2603|  43.5k|    return (desc_ & detail::is_unpacked_bit) == 0;
 2604|  43.5k|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE4typeEi:
 2609|  43.5k|  FMT_CONSTEXPR auto type(int index) const -> detail::type {
 2610|  43.5k|    int shift = index * detail::packed_arg_bits;
 2611|  43.5k|    unsigned mask = (1 << detail::packed_arg_bits) - 1;
 2612|  43.5k|    return static_cast<detail::type>((desc_ >> shift) & mask);
 2613|  43.5k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail21default_arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2544|  4.94k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  4.94k|    using detail::map;
 2546|  4.94k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 4.94k, False: 0]
  ------------------
 2547|      4|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 4, False: 4.94k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 4.94k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 4.94k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 4.94k]
  ------------------
 2551|  3.10k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 3.10k, False: 1.84k]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 4.94k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 4.94k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 4.94k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 4.94k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 4.94k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 4.94k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 4.94k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 4.94k]
  ------------------
 2560|  1.84k|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 1.84k, False: 3.10k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 4.94k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 4.94k]
  ------------------
 2563|  4.94k|    }
 2564|      4|    return vis(monostate());
 2565|  4.94k|  }
_ZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_:
  503|  37.0M|    typename OutputIt::container_type& {
  504|  37.0M|  struct accessor : OutputIt {
  505|  37.0M|    FMT_CONSTEXPR20 accessor(OutputIt base) : OutputIt(base) {}
  506|  37.0M|    using OutputIt::container;
  507|  37.0M|  };
  508|  37.0M|  return *accessor(it).container;
  509|  37.0M|}
_ZZN3fmt3v126detail13get_containerINS0_14basic_appenderIcEEEERNT_14container_typeES5_EN8accessorC2ES4_:
  505|  37.0M|    FMT_CONSTEXPR20 accessor(OutputIt base) : OutputIt(base) {}
_ZN3fmt3v126detail6bufferIcE10try_resizeEm:
 1829|  11.0k|  FMT_CONSTEXPR void try_resize(size_t count) {
 1830|  11.0k|    try_reserve(count);
 1831|  11.0k|    size_ = min_of(count, capacity_);
 1832|  11.0k|  }
_ZN3fmt3v126min_ofImEET_S2_S2_:
  347|  11.0k|template <typename T> constexpr auto min_of(T a, T b) -> T {
  348|  11.0k|  return a < b ? a : b;
  ------------------
  |  Branch (348:10): [True: 11.0k, False: 8]
  ------------------
  349|  11.0k|}
_ZN3fmt3v1214basic_appenderIcEppEi:
 2499|  6.53G|  FMT_CONSTEXPR20 auto operator++(int) -> basic_appender { return *this; }
_ZN3fmt3v1214basic_appenderIcEdeEv:
 2497|  6.53G|  FMT_CONSTEXPR20 auto operator*() -> basic_appender& { return *this; }
_ZN3fmt3v1214basic_appenderIcEaSEc:
 2493|  6.53G|  FMT_CONSTEXPR20 auto operator=(T c) -> basic_appender& {
 2494|  6.53G|    container->push_back(c);
 2495|  6.53G|    return *this;
 2496|  6.53G|  }
_ZN3fmt3v126detail4copyIcPcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaasr23is_back_insert_iteratorIT1_EE5valuesr41has_back_insert_iterator_container_appendIS8_T0_EE5valueEiE4typeELi0EEES8_S9_S9_S8_:
 2084|  21.2M|    -> OutputIt {
 2085|  21.2M|  get_container(out).append(begin, end);
 2086|  21.2M|  return out;
 2087|  21.2M|}
_ZNK3fmt3v1211basic_specs4typeEv:
  744|  39.0k|  constexpr auto type() const -> presentation_type {
  745|  39.0k|    return static_cast<presentation_type>(data_ & type_mask);
  746|  39.0k|  }
_ZNK3fmt3v1211basic_specs9localizedEv:
  792|  16.0k|  constexpr auto localized() const -> bool {
  793|  16.0k|    return (data_ & localized_mask) != 0;
  794|  16.0k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitIRNS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 2544|  6.14k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  6.14k|    using detail::map;
 2546|  6.14k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 6.14k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 6.14k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 6.14k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 6.14k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 6.14k]
  ------------------
 2551|  6.14k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 6.14k, False: 0]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 6.14k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 6.14k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 6.14k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 6.14k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 6.14k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 6.14k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 6.14k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 6.14k]
  ------------------
 2560|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 0, False: 6.14k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 6.14k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 6.14k]
  ------------------
 2563|  6.14k|    }
 2564|      0|    return vis(monostate());
 2565|  6.14k|  }
_ZNK3fmt3v1211basic_specs3altEv:
  788|  9.27k|  constexpr auto alt() const -> bool { return (data_ & alternate_mask) != 0; }
_ZNK3fmt3v1211basic_specs5upperEv:
  785|  5.74k|  constexpr auto upper() const -> bool { return (data_ & uppercase_mask) != 0; }
_ZNK3fmt3v1211basic_specs5alignEv:
  751|  36.3k|  constexpr auto align() const -> align {
  752|  36.3k|    return static_cast<fmt::align>((data_ & align_mask) >> align_shift);
  753|  36.3k|  }
_ZNK3fmt3v1211basic_specs9fill_sizeEv:
  797|  37.3k|  constexpr auto fill_size() const -> size_t {
  798|  37.3k|    return (data_ & fill_size_mask) >> fill_size_shift;
  799|  37.3k|  }
_ZNK3fmt3v1211basic_specs9fill_unitIcEET_v:
  810|  6.69k|  template <typename Char> constexpr auto fill_unit() const -> Char {
  811|  6.69k|    using uchar = unsigned char;
  812|  6.69k|    return static_cast<Char>(static_cast<uchar>(fill_data_[0]) |
  813|  6.69k|                             (static_cast<uchar>(fill_data_[1]) << 8) |
  814|  6.69k|                             (static_cast<uchar>(fill_data_[2]) << 16));
  815|  6.69k|  }
_ZNK3fmt3v1211basic_specs4fillIcTnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEEPKS5_v:
  802|    696|  constexpr auto fill() const -> const Char* {
  803|    696|    return fill_data_;
  804|    696|  }
_ZN3fmt3v126detail4copyIcPKcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXaasr23is_back_insert_iteratorIT1_EE5valuesr41has_back_insert_iterator_container_appendIS9_T0_EE5valueEiE4typeELi0EEES9_SA_SA_S9_:
 2084|  15.7M|    -> OutputIt {
 2085|  15.7M|  get_container(out).append(begin, end);
 2086|  15.7M|  return out;
 2087|  15.7M|}
_ZN3fmt3v126detail11to_unsignedImEENSt3__113make_unsignedIT_E4typeES5_:
  439|  34.0M|FMT_CONSTEXPR auto to_unsigned(Int value) -> make_unsigned_t<Int> {
  440|  34.0M|  FMT_ASSERT(std::is_unsigned<Int>::value || value >= 0, "negative value");
  ------------------
  |  |  395|  34.0M|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [True: 34.0M, Folded]
  |  |  |  Branch (395:7): [True: 0, False: 0]
  |  |  ------------------
  |  |  396|  34.0M|         ? (void)0                                                          \
  |  |  397|  34.0M|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  441|  34.0M|  return static_cast<make_unsigned_t<Int>>(value);
  442|  34.0M|}
_ZN3fmt3v1217basic_string_viewIcEC2EPKcm:
  535|   116M|      : data_(s), size_(count) {}
_ZNK3fmt3v1217basic_string_viewIcE5beginEv:
  569|  59.3M|  constexpr auto begin() const noexcept -> iterator { return data_; }
_ZNK3fmt3v1217basic_string_viewIcE3endEv:
  570|   102M|  constexpr auto end() const noexcept -> iterator { return data_ + size_; }
_ZN3fmt3v126detail6bufferIiE4dataEv:
 1821|  5.66k|  FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIiEC2EPFvRS3_mEPimm:
 1790|  5.66k|      : ptr_(p), size_(sz), capacity_(cap), grow_(grow) {}
_ZN3fmt3v126detail6bufferIiE3setEPim:
 1796|  5.66k|  FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept {
 1797|  5.66k|    ptr_ = buf_data;
 1798|  5.66k|    capacity_ = buf_capacity;
 1799|  5.66k|  }
_ZN3fmt3v126detail6bufferIiE9push_backERKi:
 1842|  5.66k|  FMT_CONSTEXPR void push_back(const T& value) {
 1843|  5.66k|    try_reserve(size_ + 1);
 1844|  5.66k|    ptr_[size_++] = value;
 1845|  5.66k|  }
_ZN3fmt3v126detail6bufferIiE11try_reserveEm:
 1838|  5.66k|  FMT_CONSTEXPR void try_reserve(size_t new_capacity) {
 1839|  5.66k|    if (new_capacity > capacity_) grow_(*this, new_capacity);
  ------------------
  |  Branch (1839:9): [True: 0, False: 5.66k]
  ------------------
 1840|  5.66k|  }
_ZNK3fmt3v126detail6bufferIiE4sizeEv:
 1815|  5.66k|  constexpr auto size() const noexcept -> size_t { return size_; }
_ZN3fmt3v126detail6bufferIiEixIiEERiT_:
 1874|   148k|  template <typename Idx> FMT_CONSTEXPR auto operator[](Idx index) -> T& {
 1875|   148k|    return ptr_[index];
 1876|   148k|  }
_ZNK3fmt3v1217basic_string_viewIcEixEm:
  572|   150k|  constexpr auto operator[](size_t pos) const noexcept -> const Char& {
  573|   150k|    return data_[pos];
  574|   150k|  }
_ZNK3fmt3v1211basic_specs4signEv:
  778|  16.0k|  constexpr auto sign() const -> sign {
  779|  16.0k|    return static_cast<fmt::sign>((data_ & sign_mask) >> sign_shift);
  780|  16.0k|  }
_ZN3fmt3v1212format_specsC2Ev:
  850|  38.0k|  constexpr format_specs() : width(0), precision(-1) {}
_ZN3fmt3v1211basic_specs8set_fillEc:
  817|  2.12k|  FMT_CONSTEXPR void set_fill(char c) {
  818|  2.12k|    fill_data_[0] = c;
  819|  2.12k|    set_fill_size(1);
  820|  2.12k|  }
_ZN3fmt3v1211basic_specs13set_fill_sizeEm:
  738|  3.57k|  FMT_CONSTEXPR void set_fill_size(size_t size) {
  739|  3.57k|    data_ = (data_ & ~fill_size_mask) |
  740|  3.57k|            (static_cast<unsigned>(size) << fill_size_shift);
  741|  3.57k|  }
_ZN3fmt3v1211basic_specs7set_altEv:
  789|  5.56k|  FMT_CONSTEXPR void set_alt() { data_ |= alternate_mask; }
_ZNK3fmt3v126detail12string_valueIcE3strEv:
 2155|  23.7k|  auto str() const -> basic_string_view<Char> { return {data, size}; }
_ZN3fmt3v126detail19parse_format_stringIcNS1_14format_handlerIcEEEEvNS0_17basic_string_viewIT_EEOT0_:
 1657|  1.46k|                                       Handler&& handler) {
 1658|  1.46k|  auto begin = fmt.data(), end = begin + fmt.size();
 1659|  1.46k|  auto p = begin;
 1660|  6.14M|  while (p != end) {
  ------------------
  |  Branch (1660:10): [True: 6.14M, False: 1.40k]
  ------------------
 1661|  6.14M|    auto c = *p++;
 1662|  6.14M|    if (c == '{') {
  ------------------
  |  Branch (1662:9): [True: 46.3k, False: 6.09M]
  ------------------
 1663|  46.3k|      handler.on_text(begin, p - 1);
 1664|  46.3k|      begin = p = parse_replacement_field(p - 1, end, handler);
 1665|  6.09M|    } else if (c == '}') {
  ------------------
  |  Branch (1665:16): [True: 140, False: 6.09M]
  ------------------
 1666|    140|      if (p == end || *p != '}')
  ------------------
  |  Branch (1666:11): [True: 2, False: 138]
  |  Branch (1666:23): [True: 62, False: 76]
  ------------------
 1667|     64|        return handler.on_error("unmatched '}' in format string");
 1668|     76|      handler.on_text(begin, p);
 1669|     76|      begin = ++p;
 1670|     76|    }
 1671|  6.14M|  }
 1672|  1.40k|  handler.on_text(begin, end);
 1673|  1.40k|}
_ZNK3fmt3v127context3outEv:
 2713|  93.5k|  FMT_CONSTEXPR auto out() const -> iterator { return out_; }
_ZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_:
 1612|  46.3k|    -> const Char* {
 1613|  46.3k|  ++begin;
 1614|  46.3k|  if (begin == end) {
  ------------------
  |  Branch (1614:7): [True: 16, False: 46.2k]
  ------------------
 1615|     16|    handler.on_error("invalid format string");
 1616|     16|    return end;
 1617|     16|  }
 1618|  46.2k|  int arg_id = 0;
 1619|  46.2k|  switch (*begin) {
 1620|     16|  case '}':
  ------------------
  |  Branch (1620:3): [True: 16, False: 46.2k]
  ------------------
 1621|     16|    handler.on_replacement_field(handler.on_arg_id(), begin);
 1622|     16|    return begin + 1;
 1623|  3.16k|  case '{': handler.on_text(begin, begin + 1); return begin + 1;
  ------------------
  |  Branch (1623:3): [True: 3.16k, False: 43.1k]
  ------------------
 1624|    163|  case ':': arg_id = handler.on_arg_id(); break;
  ------------------
  |  Branch (1624:3): [True: 163, False: 46.1k]
  ------------------
 1625|  42.9k|  default:  {
  ------------------
  |  Branch (1625:3): [True: 42.9k, False: 3.34k]
  ------------------
 1626|  42.9k|    struct id_adapter {
 1627|  42.9k|      Handler& handler;
 1628|  42.9k|      int arg_id;
 1629|       |
 1630|  42.9k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
 1631|  42.9k|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1632|  42.9k|        arg_id = handler.on_arg_id(id);
 1633|  42.9k|      }
 1634|  42.9k|    } adapter = {handler, 0};
 1635|  42.9k|    begin = parse_arg_id(begin, end, adapter);
 1636|  42.9k|    arg_id = adapter.arg_id;
 1637|  42.9k|    Char c = begin != end ? *begin : Char();
  ------------------
  |  Branch (1637:14): [True: 42.8k, False: 82]
  ------------------
 1638|  42.9k|    if (c == '}') {
  ------------------
  |  Branch (1638:9): [True: 4.93k, False: 38.0k]
  ------------------
 1639|  4.93k|      handler.on_replacement_field(arg_id, begin);
 1640|  4.93k|      return begin + 1;
 1641|  4.93k|    }
 1642|  38.0k|    if (c != ':') {
  ------------------
  |  Branch (1642:9): [True: 0, False: 38.0k]
  ------------------
 1643|      0|      handler.on_error("missing '}' in format string");
 1644|      0|      return end;
 1645|      0|    }
 1646|  38.0k|    break;
 1647|  38.0k|  }
 1648|  46.2k|  }
 1649|  38.0k|  begin = handler.on_format_specs(arg_id, begin + 1, end);
 1650|  38.0k|  if (begin == end || *begin != '}')
  ------------------
  |  Branch (1650:7): [True: 154, False: 37.9k]
  |  Branch (1650:23): [True: 81, False: 37.8k]
  ------------------
 1651|    131|    return handler.on_error("unknown format specifier"), end;
 1652|  37.9k|  return begin + 1;
 1653|  38.0k|}
_ZNK3fmt3v127context3argEi:
 2703|  43.5k|  FMT_CONSTEXPR auto arg(int id) const -> format_arg { return args_.get(id); }
_ZN3fmt3v1213parse_contextIcE11next_arg_idEv:
  888|    191|  FMT_CONSTEXPR auto next_arg_id() -> int {
  889|    191|    if (next_arg_id_ < 0) {
  ------------------
  |  Branch (889:9): [True: 25, False: 166]
  ------------------
  890|     25|      report_error("cannot switch from manual to automatic argument indexing");
  891|     25|      return 0;
  892|     25|    }
  893|    166|    int id = next_arg_id_++;
  894|    166|    do_check_arg_id(id);
  895|    166|    return id;
  896|    191|  }
_ZN3fmt3v1213parse_contextIcE15do_check_arg_idEi:
 2464|  43.5k|FMT_CONSTEXPR void parse_context<Char>::do_check_arg_id(int arg_id) {
 2465|       |  // Argument id is only checked at compile time during parsing because
 2466|       |  // formatting has its own validation.
 2467|  43.5k|  if (detail::is_constant_evaluated() && use_constexpr_cast) {
  ------------------
  |  Branch (2467:7): [Folded, False: 43.5k]
  |  Branch (2467:42): [True: 0, Folded]
  ------------------
 2468|      0|    auto ctx = static_cast<detail::compile_parse_context<Char>*>(this);
 2469|      0|    if (arg_id >= ctx->num_args()) report_error("argument not found");
  ------------------
  |  Branch (2469:9): [True: 0, False: 0]
  ------------------
 2470|      0|  }
 2471|  43.5k|}
_ZN3fmt3v126detail12parse_arg_idIcRZNS1_23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S9_S9_OT0_E10id_adapterEES9_S9_S9_SB_:
 1359|  42.9k|                                Handler&& handler) -> const Char* {
 1360|  42.9k|  Char c = *begin;
 1361|  42.9k|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1361:7): [True: 42.9k, False: 14]
  |  Branch (1361:19): [True: 42.9k, False: 19]
  ------------------
 1362|  42.9k|    int index = 0;
 1363|  42.9k|    if (c != '0')
  ------------------
  |  Branch (1363:9): [True: 28.8k, False: 14.0k]
  ------------------
 1364|  28.8k|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1365|  14.0k|    else
 1366|  14.0k|      ++begin;
 1367|  42.9k|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1367:9): [True: 16, False: 42.9k]
  |  Branch (1367:26): [True: 37.9k, False: 4.93k]
  |  Branch (1367:43): [True: 33, False: 37.9k]
  ------------------
 1368|     49|      report_error("invalid format string");
 1369|  42.8k|    else
 1370|  42.8k|      handler.on_index(index);
 1371|  42.9k|    return begin;
 1372|  42.9k|  }
 1373|     33|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  290|     33|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1373:7): [Folded, False: 33]
  |  Branch (1373:32): [True: 18, False: 15]
  ------------------
 1374|     18|    report_error("invalid format string");
 1375|     18|    return begin;
 1376|     18|  }
 1377|     15|  auto it = begin;
 1378|  24.7k|  do {
 1379|  24.7k|    ++it;
 1380|  24.7k|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1380:12): [True: 24.7k, False: 3]
  |  Branch (1380:26): [True: 24.7k, False: 13]
  |  Branch (1380:49): [True: 8, False: 5]
  |  Branch (1380:63): [True: 1, False: 7]
  ------------------
 1381|     15|  handler.on_name({begin, to_unsigned(it - begin)});
 1382|     15|  return it;
 1383|     33|}
_ZN3fmt3v126detail21parse_nonnegative_intIcEEiRPKT_S5_i:
 1323|  55.0k|                                         int error_value) noexcept -> int {
 1324|  55.0k|  FMT_ASSERT(begin != end && '0' <= *begin && *begin <= '9', "");
  ------------------
  |  |  395|   220k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:7): [True: 55.0k, False: 0]
  |  |  |  Branch (395:7): [True: 55.0k, False: 0]
  |  |  |  Branch (395:7): [True: 55.0k, False: 0]
  |  |  ------------------
  |  |  396|  55.0k|         ? (void)0                                                          \
  |  |  397|  55.0k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1325|  55.0k|  unsigned value = 0, prev = 0;
 1326|  55.0k|  auto p = begin;
 1327|  61.0k|  do {
 1328|  61.0k|    prev = value;
 1329|  61.0k|    value = value * 10 + unsigned(*p - '0');
 1330|  61.0k|    ++p;
 1331|  61.0k|  } while (p != end && '0' <= *p && *p <= '9');
  ------------------
  |  Branch (1331:12): [True: 61.0k, False: 27]
  |  Branch (1331:24): [True: 60.7k, False: 291]
  |  Branch (1331:37): [True: 6.07k, False: 54.6k]
  ------------------
 1332|  55.0k|  auto num_digits = p - begin;
 1333|  55.0k|  begin = p;
 1334|  55.0k|  int digits10 = static_cast<int>(sizeof(int) * CHAR_BIT * 3 / 10);
 1335|  55.0k|  if (num_digits <= digits10) return static_cast<int>(value);
  ------------------
  |  Branch (1335:7): [True: 54.9k, False: 68]
  ------------------
 1336|       |  // Check for overflow.
 1337|     68|  unsigned max = INT_MAX;
 1338|     68|  return num_digits == digits10 + 1 &&
  ------------------
  |  Branch (1338:10): [True: 64, False: 4]
  ------------------
 1339|     64|                 prev * 10ull + unsigned(p[-1] - '0') <= max
  ------------------
  |  Branch (1339:18): [True: 64, False: 0]
  ------------------
 1340|     68|             ? static_cast<int>(value)
 1341|     68|             : error_value;
 1342|  55.0k|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter8on_indexEi:
 1630|  42.8k|      FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); }
_ZN3fmt3v1213parse_contextIcE12check_arg_idEi:
  900|  43.3k|  FMT_CONSTEXPR void check_arg_id(int id) {
  901|  43.3k|    if (next_arg_id_ > 0) {
  ------------------
  |  Branch (901:9): [True: 0, False: 43.3k]
  ------------------
  902|      0|      report_error("cannot switch from automatic to manual argument indexing");
  903|      0|      return;
  904|      0|    }
  905|  43.3k|    next_arg_id_ = -1;
  906|  43.3k|    do_check_arg_id(id);
  907|  43.3k|  }
_ZN3fmt3v126detail13is_name_startIcEEbT_:
 1353|   142k|template <typename Char> constexpr auto is_name_start(Char c) -> bool {
 1354|   142k|  return ('a' <= c && c <= 'z') || ('A' <= c && c <= 'Z') || c == '_';
  ------------------
  |  Branch (1354:11): [True: 142k, False: 128]
  |  Branch (1354:23): [True: 142k, False: 5]
  |  Branch (1354:37): [True: 106, False: 27]
  |  Branch (1354:49): [True: 98, False: 8]
  |  Branch (1354:62): [True: 0, False: 35]
  ------------------
 1355|   142k|}
_ZZN3fmt3v126detail23parse_replacement_fieldIcRNS1_14format_handlerIcEEEEPKT_S8_S8_OT0_EN10id_adapter7on_nameENS0_17basic_string_viewIcEE:
 1631|     15|      FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1632|     15|        arg_id = handler.on_arg_id(id);
 1633|     15|      }
_ZN3fmt3v1213parse_contextIcE12check_arg_idENS0_17basic_string_viewIcEE:
  908|     23|  FMT_CONSTEXPR void check_arg_id(basic_string_view<Char>) {
  909|     23|    next_arg_id_ = -1;
  910|     23|  }
_ZNK3fmt3v127context6arg_idENS0_17basic_string_viewIcEE:
 2707|     15|  FMT_CONSTEXPR auto arg_id(string_view name) const -> int {
 2708|     15|    return args_.get_id(name);
 2709|     15|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE6get_idIcEEiNS0_17basic_string_viewIT_EE:
 2665|     15|  FMT_CONSTEXPR auto get_id(basic_string_view<Char> name) const -> int {
 2666|     15|    if (!has_named_args()) return -1;
  ------------------
  |  Branch (2666:9): [True: 15, False: 0]
  ------------------
 2667|      0|    const auto& named_args =
 2668|      0|        (is_packed() ? values_[-1] : args_[-1].value_).named_args;
  ------------------
  |  Branch (2668:10): [True: 0, False: 0]
  ------------------
 2669|      0|    for (size_t i = 0; i < named_args.size; ++i) {
  ------------------
  |  Branch (2669:24): [True: 0, False: 0]
  ------------------
 2670|      0|      if (named_args.data[i].name == name) return named_args.data[i].id;
  ------------------
  |  Branch (2670:11): [True: 0, False: 0]
  ------------------
 2671|      0|    }
 2672|      0|    return -1;
 2673|      0|  }
_ZNK3fmt3v1217basic_format_argsINS0_7contextEE14has_named_argsEv:
 2605|     15|  constexpr auto has_named_args() const -> bool {
 2606|     15|    return (desc_ & detail::has_named_args_bit) != 0;
 2607|     15|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEEcvbEv:
 2533|  38.6k|  constexpr explicit operator bool() const noexcept {
 2534|  38.6k|    return type_ != detail::type::none_type;
 2535|  38.6k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEE13format_customEPKcRNS0_13parse_contextIcEERS2_:
 2569|  38.0k|      -> bool {
 2570|  38.0k|    if (type_ != detail::type::custom_type) return false;
  ------------------
  |  Branch (2570:9): [True: 38.0k, False: 0]
  ------------------
 2571|      0|    parse_ctx.advance_to(parse_begin);
 2572|      0|    value_.custom.format(value_.custom.value, parse_ctx, ctx);
 2573|      0|    return true;
 2574|  38.0k|  }
_ZN3fmt3v126detail7arg_refIcEC2Ei:
 1290|  76.6k|  FMT_CONSTEXPR arg_ref(int idx = 0) : index(idx) {}
_ZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeE:
 1474|  38.0k|    -> const Char* {
 1475|  38.0k|  auto c = '\0';
 1476|  38.0k|  if (end - begin > 1) {
  ------------------
  |  Branch (1476:7): [True: 38.0k, False: 36]
  ------------------
 1477|  38.0k|    auto next = to_ascii(begin[1]);
 1478|  38.0k|    c = parse_align(next) == align::none ? to_ascii(*begin) : '\0';
  ------------------
  |  Branch (1478:9): [True: 36.6k, False: 1.37k]
  ------------------
 1479|  38.0k|  } else {
 1480|     36|    if (begin == end) return begin;
  ------------------
  |  Branch (1480:9): [True: 12, False: 24]
  ------------------
 1481|     24|    c = to_ascii(*begin);
 1482|     24|  }
 1483|       |
 1484|  38.0k|  struct {
 1485|  38.0k|    state current_state = state::start;
 1486|  38.0k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1487|  38.0k|      if (current_state >= s || !valid)
 1488|  38.0k|        report_error("invalid format specifier");
 1489|  38.0k|      current_state = s;
 1490|  38.0k|    }
 1491|  38.0k|  } enter_state;
 1492|       |
 1493|  38.0k|  using pres = presentation_type;
 1494|  38.0k|  constexpr auto integral_set = sint_set | uint_set | bool_set | char_set;
 1495|  38.0k|  struct {
 1496|  38.0k|    const Char*& begin;
 1497|  38.0k|    format_specs& specs;
 1498|  38.0k|    type arg_type;
 1499|       |
 1500|  38.0k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1501|  38.0k|      if (!in(arg_type, set)) report_error("invalid format specifier");
 1502|  38.0k|      specs.set_type(pres_type);
 1503|  38.0k|      return begin + 1;
 1504|  38.0k|    }
 1505|  38.0k|  } parse_presentation_type{begin, specs, arg_type};
 1506|       |
 1507|  84.0k|  for (;;) {
 1508|  84.0k|    switch (c) {
 1509|  2.18k|    case '<':
  ------------------
  |  Branch (1509:5): [True: 2.18k, False: 81.9k]
  ------------------
 1510|  2.23k|    case '>':
  ------------------
  |  Branch (1510:5): [True: 56, False: 84.0k]
  ------------------
 1511|  4.21k|    case '^':
  ------------------
  |  Branch (1511:5): [True: 1.97k, False: 82.1k]
  ------------------
 1512|  4.21k|      enter_state(state::align);
 1513|  4.21k|      specs.set_align(parse_align(c));
 1514|  4.21k|      ++begin;
 1515|  4.21k|      break;
 1516|      1|    case '+':
  ------------------
  |  Branch (1516:5): [True: 1, False: 84.0k]
  ------------------
 1517|      3|    case ' ':
  ------------------
  |  Branch (1517:5): [True: 2, False: 84.0k]
  ------------------
 1518|      3|      specs.set_sign(c == ' ' ? sign::space : sign::plus);
  ------------------
  |  Branch (1518:22): [True: 2, False: 1]
  ------------------
 1519|      3|      FMT_FALLTHROUGH;
  ------------------
  |  |  181|      3|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
 1520|      3|    case '-':
  ------------------
  |  Branch (1520:5): [True: 0, False: 84.0k]
  ------------------
 1521|      3|      enter_state(state::sign, in(arg_type, sint_set | float_set));
 1522|      3|      ++begin;
 1523|      3|      break;
 1524|  5.56k|    case '#':
  ------------------
  |  Branch (1524:5): [True: 5.56k, False: 78.5k]
  ------------------
 1525|  5.56k|      enter_state(state::hash, is_arithmetic_type(arg_type));
 1526|  5.56k|      specs.set_alt();
 1527|  5.56k|      ++begin;
 1528|  5.56k|      break;
 1529|  2.40k|    case '0':
  ------------------
  |  Branch (1529:5): [True: 2.40k, False: 81.6k]
  ------------------
 1530|  2.40k|      enter_state(state::zero);
 1531|  2.40k|      if (!is_arithmetic_type(arg_type))
  ------------------
  |  Branch (1531:11): [True: 1, False: 2.40k]
  ------------------
 1532|      1|        report_error("format specifier requires numeric argument");
 1533|  2.40k|      if (specs.align() == align::none) {
  ------------------
  |  Branch (1533:11): [True: 2.12k, False: 272]
  ------------------
 1534|       |        // Ignore 0 if align is specified for compatibility with std::format.
 1535|  2.12k|        specs.set_align(align::numeric);
 1536|  2.12k|        specs.set_fill('0');
 1537|  2.12k|      }
 1538|  2.40k|      ++begin;
 1539|  2.40k|      break;
 1540|       |      // clang-format off
 1541|  8.05k|    case '1': case '2': case '3': case '4': case '5':
  ------------------
  |  Branch (1541:5): [True: 2.11k, False: 81.9k]
  |  Branch (1541:15): [True: 1.12k, False: 82.9k]
  |  Branch (1541:25): [True: 2.65k, False: 81.4k]
  |  Branch (1541:35): [True: 932, False: 83.1k]
  |  Branch (1541:45): [True: 1.22k, False: 82.8k]
  ------------------
 1542|  17.6k|    case '6': case '7': case '8': case '9': case '{':
  ------------------
  |  Branch (1542:5): [True: 1.16k, False: 82.9k]
  |  Branch (1542:15): [True: 6.44k, False: 77.6k]
  |  Branch (1542:25): [True: 533, False: 83.5k]
  |  Branch (1542:35): [True: 1.06k, False: 83.0k]
  |  Branch (1542:45): [True: 357, False: 83.7k]
  ------------------
 1543|       |      // clang-format on
 1544|  17.6k|      enter_state(state::width);
 1545|  17.6k|      begin = parse_width(begin, end, specs, specs.width_ref, ctx);
 1546|  17.6k|      break;
 1547|  8.69k|    case '.':
  ------------------
  |  Branch (1547:5): [True: 8.69k, False: 75.3k]
  ------------------
 1548|  8.69k|      enter_state(state::precision,
 1549|  8.69k|                  in(arg_type, float_set | string_set | cstring_set));
 1550|  8.69k|      begin = parse_precision(begin, end, specs, specs.precision_ref, ctx);
 1551|  8.69k|      break;
 1552|  6.15k|    case 'L':
  ------------------
  |  Branch (1552:5): [True: 6.15k, False: 77.9k]
  ------------------
 1553|  6.15k|      enter_state(state::locale, is_arithmetic_type(arg_type));
 1554|  6.15k|      specs.set_localized();
 1555|  6.15k|      ++begin;
 1556|  6.15k|      break;
 1557|  1.20k|    case 'd': return parse_presentation_type(pres::dec, integral_set);
  ------------------
  |  Branch (1557:5): [True: 1.20k, False: 82.8k]
  ------------------
 1558|  1.60k|    case 'X': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|  1.60k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1558:5): [True: 1.60k, False: 82.4k]
  ------------------
 1559|  2.86k|    case 'x': return parse_presentation_type(pres::hex, integral_set);
  ------------------
  |  Branch (1559:5): [True: 1.25k, False: 82.8k]
  ------------------
 1560|  3.35k|    case 'o': return parse_presentation_type(pres::oct, integral_set);
  ------------------
  |  Branch (1560:5): [True: 3.35k, False: 80.7k]
  ------------------
 1561|    579|    case 'B': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|    579|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1561:5): [True: 579, False: 83.5k]
  ------------------
 1562|  3.06k|    case 'b': return parse_presentation_type(pres::bin, integral_set);
  ------------------
  |  Branch (1562:5): [True: 2.48k, False: 81.6k]
  ------------------
 1563|      0|    case 'E': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1563:5): [True: 0, False: 84.0k]
  ------------------
 1564|      0|    case 'e': return parse_presentation_type(pres::exp, float_set);
  ------------------
  |  Branch (1564:5): [True: 0, False: 84.0k]
  ------------------
 1565|      0|    case 'F': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1565:5): [True: 0, False: 84.0k]
  ------------------
 1566|      0|    case 'f': return parse_presentation_type(pres::fixed, float_set);
  ------------------
  |  Branch (1566:5): [True: 0, False: 84.0k]
  ------------------
 1567|      0|    case 'G': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1567:5): [True: 0, False: 84.0k]
  ------------------
 1568|      0|    case 'g': return parse_presentation_type(pres::general, float_set);
  ------------------
  |  Branch (1568:5): [True: 0, False: 84.0k]
  ------------------
 1569|      1|    case 'A': specs.set_upper(); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      1|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1569:5): [True: 1, False: 84.0k]
  ------------------
 1570|      1|    case 'a': return parse_presentation_type(pres::hexfloat, float_set);
  ------------------
  |  Branch (1570:5): [True: 0, False: 84.0k]
  ------------------
 1571|  1.12k|    case 'c':
  ------------------
  |  Branch (1571:5): [True: 1.12k, False: 82.9k]
  ------------------
 1572|  1.12k|      if (arg_type == type::bool_type) report_error("invalid format specifier");
  ------------------
  |  Branch (1572:11): [True: 0, False: 1.12k]
  ------------------
 1573|  1.12k|      return parse_presentation_type(pres::chr, integral_set);
 1574|     88|    case 's':
  ------------------
  |  Branch (1574:5): [True: 88, False: 83.9k]
  ------------------
 1575|     88|      return parse_presentation_type(pres::string,
 1576|     88|                                     bool_set | string_set | cstring_set);
 1577|      0|    case 'p':
  ------------------
  |  Branch (1577:5): [True: 0, False: 84.0k]
  ------------------
 1578|      0|      return parse_presentation_type(pres::pointer, pointer_set | cstring_set);
 1579|  17.0k|    case '?':
  ------------------
  |  Branch (1579:5): [True: 17.0k, False: 67.0k]
  ------------------
 1580|  17.0k|      return parse_presentation_type(pres::debug,
 1581|  17.0k|                                     char_set | string_set | cstring_set);
 1582|  8.78k|    case '}': return begin;
  ------------------
  |  Branch (1582:5): [True: 8.78k, False: 75.3k]
  ------------------
 1583|  1.88k|    default:  {
  ------------------
  |  Branch (1583:5): [True: 1.88k, False: 82.2k]
  ------------------
 1584|  1.88k|      if (*begin == '}') return begin;
  ------------------
  |  Branch (1584:11): [True: 398, False: 1.48k]
  ------------------
 1585|       |      // Parse fill and alignment.
 1586|  1.48k|      auto fill_end = begin + code_point_length(begin);
 1587|  1.48k|      if (end - fill_end <= 0) {
  ------------------
  |  Branch (1587:11): [True: 6, False: 1.47k]
  ------------------
 1588|      6|        report_error("invalid format specifier");
 1589|      6|        return begin;
 1590|      6|      }
 1591|  1.47k|      if (*begin == '{') {
  ------------------
  |  Branch (1591:11): [True: 0, False: 1.47k]
  ------------------
 1592|      0|        report_error("invalid fill character '{'");
 1593|      0|        return begin;
 1594|      0|      }
 1595|  1.47k|      auto alignment = parse_align(to_ascii(*fill_end));
 1596|  1.47k|      enter_state(state::align, alignment != align::none);
 1597|  1.47k|      specs.set_fill(
 1598|  1.47k|          basic_string_view<Char>(begin, to_unsigned(fill_end - begin)));
 1599|  1.47k|      specs.set_align(alignment);
 1600|  1.47k|      begin = fill_end + 1;
 1601|  1.47k|    }
 1602|  84.0k|    }
 1603|  46.0k|    if (begin == end) return begin;
  ------------------
  |  Branch (1603:9): [True: 23, False: 46.0k]
  ------------------
 1604|  46.0k|    c = to_ascii(*begin);
 1605|  46.0k|  }
 1606|  38.0k|}
_ZN3fmt3v126detail8to_asciiIcTnNSt3__19enable_ifIXsr3std11is_integralIT_EE5valueEiE4typeELi0EEEcS5_:
 1307|   122k|constexpr auto to_ascii(Char c) -> char {
 1308|   122k|  return c <= 0xff ? static_cast<char>(c) : '\0';
  ------------------
  |  Branch (1308:10): [True: 122k, False: 0]
  ------------------
 1309|   122k|}
_ZN3fmt3v126detail11parse_alignEc:
 1344|  43.7k|FMT_CONSTEXPR inline auto parse_align(char c) -> align {
 1345|  43.7k|  switch (c) {
  ------------------
  |  Branch (1345:11): [True: 7.02k, False: 36.6k]
  ------------------
 1346|  2.60k|  case '<': return align::left;
  ------------------
  |  Branch (1346:3): [True: 2.60k, False: 41.1k]
  ------------------
 1347|  1.80k|  case '>': return align::right;
  ------------------
  |  Branch (1347:3): [True: 1.80k, False: 41.8k]
  ------------------
 1348|  2.62k|  case '^': return align::center;
  ------------------
  |  Branch (1348:3): [True: 2.62k, False: 41.0k]
  ------------------
 1349|  43.7k|  }
 1350|  36.6k|  return align::none;
 1351|  43.7k|}
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt_clENS1_5stateEb:
 1486|  46.1k|    FMT_CONSTEXPR void operator()(state s, bool valid = true) {
 1487|  46.1k|      if (current_state >= s || !valid)
  ------------------
  |  Branch (1487:11): [True: 35, False: 46.0k]
  |  Branch (1487:33): [True: 12, False: 46.0k]
  ------------------
 1488|     47|        report_error("invalid format specifier");
 1489|  46.1k|      current_state = s;
 1490|  46.1k|    }
_ZN3fmt3v1211basic_specs9set_alignENS0_5alignE:
  754|  7.78k|  FMT_CONSTEXPR void set_align(fmt::align a) {
  755|  7.78k|    data_ = (data_ & ~align_mask) | (static_cast<unsigned>(a) << align_shift);
  756|  7.78k|  }
_ZN3fmt3v1211basic_specs8set_signENS0_4signE:
  781|      3|  FMT_CONSTEXPR void set_sign(fmt::sign s) {
  782|      3|    data_ = (data_ & ~sign_mask) | (static_cast<unsigned>(s) << sign_shift);
  783|      3|  }
_ZN3fmt3v126detail2inENS1_4typeEi:
 1040|  37.4k|constexpr auto in(type t, int set) -> bool {
 1041|  37.4k|  return ((set >> static_cast<int>(t)) & 1) != 0;
 1042|  37.4k|}
_ZN3fmt3v126detail18is_arithmetic_typeENS1_4typeE:
 1035|  14.1k|constexpr auto is_arithmetic_type(type t) -> bool {
 1036|  14.1k|  return t > type::none_type && t <= type::last_numeric_type;
  ------------------
  |  Branch (1036:10): [True: 14.1k, False: 0]
  |  Branch (1036:33): [True: 14.1k, False: 2]
  ------------------
 1037|  14.1k|}
_ZN3fmt3v126detail11parse_widthIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1445|  17.6k|                               parse_context<Char>& ctx) -> const Char* {
 1446|  17.6k|  auto result = parse_dynamic_spec(begin, end, specs.width, width_ref, ctx);
 1447|  17.6k|  specs.set_dynamic_width(result.kind);
 1448|  17.6k|  return result.end;
 1449|  17.6k|}
_ZN3fmt3v126detail18parse_dynamic_specIcEENS1_25parse_dynamic_spec_resultIT_EEPKS4_S7_RiRNS1_7arg_refIS4_EERNS0_13parse_contextIS4_EE:
 1413|  26.3k|    -> parse_dynamic_spec_result<Char> {
 1414|  26.3k|  FMT_ASSERT(begin != end, "");
  ------------------
  |  |  395|  26.3k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 26.3k, False: 0]
  |  |  ------------------
  |  |  396|  26.3k|         ? (void)0                                                          \
  |  |  397|  26.3k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1415|  26.3k|  auto kind = arg_id_kind::none;
 1416|  26.3k|  if ('0' <= *begin && *begin <= '9') {
  ------------------
  |  Branch (1416:7): [True: 26.3k, False: 1]
  |  Branch (1416:24): [True: 25.7k, False: 546]
  ------------------
 1417|  25.7k|    int val = parse_nonnegative_int(begin, end, -1);
 1418|  25.7k|    if (val == -1) report_error("number is too big");
  ------------------
  |  Branch (1418:9): [True: 0, False: 25.7k]
  ------------------
 1419|  25.7k|    value = val;
 1420|  25.7k|  } else {
 1421|    547|    if (*begin == '{') {
  ------------------
  |  Branch (1421:9): [True: 544, False: 3]
  ------------------
 1422|    544|      ++begin;
 1423|    544|      if (begin != end) {
  ------------------
  |  Branch (1423:11): [True: 544, False: 0]
  ------------------
 1424|    544|        Char c = *begin;
 1425|    544|        if (c == '}' || c == ':') {
  ------------------
  |  Branch (1425:13): [True: 12, False: 532]
  |  Branch (1425:25): [True: 0, False: 532]
  ------------------
 1426|     12|          int id = ctx.next_arg_id();
 1427|     12|          ref = id;
 1428|     12|          kind = arg_id_kind::index;
 1429|     12|          ctx.check_dynamic_spec(id);
 1430|    532|        } else {
 1431|    532|          begin = parse_arg_id(begin, end,
 1432|    532|                               dynamic_spec_handler<Char>{ctx, ref, kind});
 1433|    532|        }
 1434|    544|      }
 1435|    544|      if (begin != end && *begin == '}') return {++begin, kind};
  ------------------
  |  Branch (1435:11): [True: 539, False: 5]
  |  Branch (1435:27): [True: 534, False: 5]
  ------------------
 1436|    544|    }
 1437|     13|    report_error("invalid format string");
 1438|     13|  }
 1439|  25.7k|  return {begin, kind};
 1440|  26.3k|}
_ZN3fmt3v1213parse_contextIcE18check_dynamic_specEi:
 2474|    536|FMT_CONSTEXPR void parse_context<Char>::check_dynamic_spec(int arg_id) {
 2475|    536|  using detail::compile_parse_context;
 2476|    536|  if (detail::is_constant_evaluated() && use_constexpr_cast)
  ------------------
  |  Branch (2476:7): [Folded, False: 536]
  |  Branch (2476:42): [True: 0, Folded]
  ------------------
 2477|      0|    static_cast<compile_parse_context<Char>*>(this)->check_dynamic_spec(arg_id);
 2478|    536|}
_ZN3fmt3v126detail12parse_arg_idIcNS1_20dynamic_spec_handlerIcEEEEPKT_S7_S7_OT0_:
 1359|    532|                                Handler&& handler) -> const Char* {
 1360|    532|  Char c = *begin;
 1361|    532|  if (c >= '0' && c <= '9') {
  ------------------
  |  Branch (1361:7): [True: 532, False: 0]
  |  Branch (1361:19): [True: 524, False: 8]
  ------------------
 1362|    524|    int index = 0;
 1363|    524|    if (c != '0')
  ------------------
  |  Branch (1363:9): [True: 360, False: 164]
  ------------------
 1364|    360|      index = parse_nonnegative_int(begin, end, INT_MAX);
 1365|    164|    else
 1366|    164|      ++begin;
 1367|    524|    if (begin == end || (*begin != '}' && *begin != ':'))
  ------------------
  |  Branch (1367:9): [True: 0, False: 524]
  |  Branch (1367:26): [True: 2, False: 522]
  |  Branch (1367:43): [True: 0, False: 2]
  ------------------
 1368|      0|      report_error("invalid format string");
 1369|    524|    else
 1370|    524|      handler.on_index(index);
 1371|    524|    return begin;
 1372|    524|  }
 1373|      8|  if (FMT_OPTIMIZE_SIZE > 1 || !is_name_start(c)) {
  ------------------
  |  |  290|      8|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1373:7): [Folded, False: 8]
  |  Branch (1373:32): [True: 0, False: 8]
  ------------------
 1374|      0|    report_error("invalid format string");
 1375|      0|    return begin;
 1376|      0|  }
 1377|      8|  auto it = begin;
 1378|   117k|  do {
 1379|   117k|    ++it;
 1380|   117k|  } while (it != end && (is_name_start(*it) || ('0' <= *it && *it <= '9')));
  ------------------
  |  Branch (1380:12): [True: 117k, False: 5]
  |  Branch (1380:26): [True: 117k, False: 4]
  |  Branch (1380:49): [True: 3, False: 1]
  |  Branch (1380:63): [True: 1, False: 2]
  ------------------
 1381|      8|  handler.on_name({begin, to_unsigned(it - begin)});
 1382|      8|  return it;
 1383|      8|}
_ZN3fmt3v126detail20dynamic_spec_handlerIcE8on_indexEi:
 1390|    524|  FMT_CONSTEXPR void on_index(int id) {
 1391|    524|    ref = id;
 1392|    524|    kind = arg_id_kind::index;
 1393|    524|    ctx.check_arg_id(id);
 1394|    524|    ctx.check_dynamic_spec(id);
 1395|    524|  }
_ZN3fmt3v126detail20dynamic_spec_handlerIcE7on_nameENS0_17basic_string_viewIcEE:
 1396|      8|  FMT_CONSTEXPR void on_name(basic_string_view<Char> id) {
 1397|      8|    ref = id;
 1398|      8|    kind = arg_id_kind::name;
 1399|      8|    ctx.check_arg_id(id);
 1400|      8|  }
_ZN3fmt3v126detail7arg_refIcEC2ENS0_17basic_string_viewIcEE:
 1291|      8|  FMT_CONSTEXPR arg_ref(basic_string_view<Char> n) : name(n) {}
_ZN3fmt3v1211basic_specs17set_dynamic_widthENS0_11arg_id_kindE:
  761|  17.6k|  FMT_CONSTEXPR void set_dynamic_width(arg_id_kind w) {
  762|  17.6k|    data_ = (data_ & ~width_mask) | (static_cast<unsigned>(w) << width_shift);
  763|  17.6k|  }
_ZN3fmt3v126detail15parse_precisionIcEEPKT_S5_S5_RNS0_12format_specsERNS1_7arg_refIS3_EERNS0_13parse_contextIS3_EE:
 1455|  8.69k|                                   parse_context<Char>& ctx) -> const Char* {
 1456|  8.69k|  ++begin;
 1457|  8.69k|  if (begin == end) {
  ------------------
  |  Branch (1457:7): [True: 0, False: 8.69k]
  ------------------
 1458|      0|    report_error("invalid precision");
 1459|      0|    return begin;
 1460|      0|  }
 1461|  8.69k|  auto result =
 1462|  8.69k|      parse_dynamic_spec(begin, end, specs.precision, precision_ref, ctx);
 1463|  8.69k|  specs.set_dynamic_precision(result.kind);
 1464|  8.69k|  return result.end;
 1465|  8.69k|}
_ZN3fmt3v1211basic_specs21set_dynamic_precisionENS0_11arg_id_kindE:
  769|  8.69k|  FMT_CONSTEXPR void set_dynamic_precision(arg_id_kind p) {
  770|  8.69k|    data_ = (data_ & ~precision_mask) |
  771|  8.69k|            (static_cast<unsigned>(p) << precision_shift);
  772|  8.69k|  }
_ZN3fmt3v1211basic_specs13set_localizedEv:
  795|  6.15k|  FMT_CONSTEXPR void set_localized() { data_ |= localized_mask; }
_ZZN3fmt3v126detail18parse_format_specsIcEEPKT_S5_S5_RNS1_20dynamic_format_specsIS3_EERNS0_13parse_contextIS3_EENS1_4typeEENUt0_clENS0_17presentation_typeEi:
 1500|  28.7k|    FMT_CONSTEXPR auto operator()(pres pres_type, int set) -> const Char* {
 1501|  28.7k|      if (!in(arg_type, set)) report_error("invalid format specifier");
  ------------------
  |  Branch (1501:11): [True: 9, False: 28.7k]
  ------------------
 1502|  28.7k|      specs.set_type(pres_type);
 1503|  28.7k|      return begin + 1;
 1504|  28.7k|    }
_ZN3fmt3v1211basic_specs8set_typeENS0_17presentation_typeE:
  747|  28.7k|  FMT_CONSTEXPR void set_type(presentation_type t) {
  748|  28.7k|    data_ = (data_ & ~type_mask) | static_cast<unsigned>(t);
  749|  28.7k|  }
_ZN3fmt3v1211basic_specs9set_upperEv:
  786|  2.18k|  FMT_CONSTEXPR void set_upper() { data_ |= uppercase_mask; }
_ZN3fmt3v126detail17code_point_lengthIcEEiPKT_:
 1313|  1.48k|FMT_CONSTEXPR auto code_point_length(const Char* begin) -> int {
 1314|  1.48k|  if (const_check(sizeof(Char) != 1)) return 1;
  ------------------
  |  Branch (1314:7): [Folded, False: 1.48k]
  ------------------
 1315|  1.48k|  auto c = static_cast<unsigned char>(*begin);
 1316|  1.48k|  return static_cast<int>((0x3a55000000000000ull >> (2 * (c >> 3))) & 3) + 1;
 1317|  1.48k|}
_ZN3fmt3v1211basic_specs8set_fillIcEEvNS0_17basic_string_viewIT_EE:
  823|  1.44k|  FMT_CONSTEXPR void set_fill(basic_string_view<Char> s) {
  824|  1.44k|    auto size = s.size();
  825|  1.44k|    set_fill_size(size);
  826|  1.44k|    if (size == 1) {
  ------------------
  |  Branch (826:9): [True: 934, False: 508]
  ------------------
  827|    934|      unsigned uchar = static_cast<detail::unsigned_char<Char>>(s[0]);
  828|    934|      fill_data_[0] = static_cast<char>(uchar);
  829|    934|      fill_data_[1] = static_cast<char>(uchar >> 8);
  830|    934|      fill_data_[2] = static_cast<char>(uchar >> 16);
  831|    934|      return;
  832|    934|    }
  833|    508|    FMT_ASSERT(size <= max_fill_size, "invalid fill");
  ------------------
  |  |  395|    508|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 508, False: 0]
  |  |  ------------------
  |  |  396|    508|         ? (void)0                                                          \
  |  |  397|    508|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  834|  1.79k|    for (size_t i = 0; i < size; ++i)
  ------------------
  |  Branch (834:24): [True: 1.28k, False: 508]
  ------------------
  835|  1.28k|      fill_data_[i & 3] = static_cast<char>(s[i]);
  836|    508|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE4typeEv:
 2536|  38.0k|  auto type() const -> detail::type { return type_; }
_ZNK3fmt3v1211basic_specs7dynamicEv:
  774|  37.9k|  constexpr auto dynamic() const -> bool {
  775|  37.9k|    return (data_ & (width_mask | precision_mask)) != 0;
  776|  37.9k|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail19dynamic_spec_getterEEEDTclfp_Li0EEEOT_:
 2544|    531|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|    531|    using detail::map;
 2546|    531|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 531, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 531]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 531]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 531]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 531]
  ------------------
 2551|    531|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 531, False: 0]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 531]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 531]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 531]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 531]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 531]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 531]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 531]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 531]
  ------------------
 2560|      0|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 0, False: 531]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 531]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 531]
  ------------------
 2563|    531|    }
 2564|      0|    return vis(monostate());
 2565|    531|  }
_ZNK3fmt3v1211basic_specs13dynamic_widthEv:
  758|    531|  constexpr auto dynamic_width() const -> arg_id_kind {
  759|    531|    return static_cast<arg_id_kind>((data_ & width_mask) >> width_shift);
  760|    531|  }
_ZNK3fmt3v1211basic_specs17dynamic_precisionEv:
  765|    529|  FMT_CONSTEXPR auto dynamic_precision() const -> arg_id_kind {
  766|    529|    return static_cast<arg_id_kind>((data_ & precision_mask) >>
  767|    529|                                    precision_shift);
  768|    529|  }
_ZNK3fmt3v1216basic_format_argINS0_7contextEE5visitINS0_6detail13arg_formatterIcEEEEDTclfp_Li0EEEOT_:
 2544|  37.9k|  FMT_CONSTEXPR FMT_INLINE auto visit(Visitor&& vis) const -> decltype(vis(0)) {
 2545|  37.9k|    using detail::map;
 2546|  37.9k|    switch (type_) {
  ------------------
  |  Branch (2546:13): [True: 37.9k, False: 0]
  ------------------
 2547|      0|    case detail::type::none_type:        break;
  ------------------
  |  Branch (2547:5): [True: 0, False: 37.9k]
  ------------------
 2548|      0|    case detail::type::int_type:         return vis(value_.int_value);
  ------------------
  |  Branch (2548:5): [True: 0, False: 37.9k]
  ------------------
 2549|      0|    case detail::type::uint_type:        return vis(value_.uint_value);
  ------------------
  |  Branch (2549:5): [True: 0, False: 37.9k]
  ------------------
 2550|      0|    case detail::type::long_long_type:   return vis(value_.long_long_value);
  ------------------
  |  Branch (2550:5): [True: 0, False: 37.9k]
  ------------------
 2551|  16.0k|    case detail::type::ulong_long_type:  return vis(value_.ulong_long_value);
  ------------------
  |  Branch (2551:5): [True: 16.0k, False: 21.8k]
  ------------------
 2552|      0|    case detail::type::int128_type:      return vis(map(value_.int128_value));
  ------------------
  |  Branch (2552:5): [True: 0, False: 37.9k]
  ------------------
 2553|      0|    case detail::type::uint128_type:     return vis(map(value_.uint128_value));
  ------------------
  |  Branch (2553:5): [True: 0, False: 37.9k]
  ------------------
 2554|      0|    case detail::type::bool_type:        return vis(value_.bool_value);
  ------------------
  |  Branch (2554:5): [True: 0, False: 37.9k]
  ------------------
 2555|      0|    case detail::type::char_type:        return vis(value_.char_value);
  ------------------
  |  Branch (2555:5): [True: 0, False: 37.9k]
  ------------------
 2556|      0|    case detail::type::float_type:       return vis(value_.float_value);
  ------------------
  |  Branch (2556:5): [True: 0, False: 37.9k]
  ------------------
 2557|      0|    case detail::type::double_type:      return vis(value_.double_value);
  ------------------
  |  Branch (2557:5): [True: 0, False: 37.9k]
  ------------------
 2558|      0|    case detail::type::long_double_type: return vis(value_.long_double_value);
  ------------------
  |  Branch (2558:5): [True: 0, False: 37.9k]
  ------------------
 2559|      0|    case detail::type::cstring_type:     return vis(value_.string.data);
  ------------------
  |  Branch (2559:5): [True: 0, False: 37.9k]
  ------------------
 2560|  21.8k|    case detail::type::string_type:      return vis(value_.string.str());
  ------------------
  |  Branch (2560:5): [True: 21.8k, False: 16.0k]
  ------------------
 2561|      0|    case detail::type::pointer_type:     return vis(value_.pointer);
  ------------------
  |  Branch (2561:5): [True: 0, False: 37.9k]
  ------------------
 2562|      0|    case detail::type::custom_type:      return vis(handle(value_.custom));
  ------------------
  |  Branch (2562:5): [True: 0, False: 37.9k]
  ------------------
 2563|  37.9k|    }
 2564|      0|    return vis(monostate());
 2565|  37.9k|  }
_ZN3fmt3v1216basic_format_argINS0_7contextEEC2IRyEEOT_:
 2531|  6.14k|      : value_(val), type_(detail::stored_type_constant<T, Context>::value) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Ey:
 2213|  9.08k|      : ulong_long_value(x) {}
_ZN3fmt3v126detail4copyIcPKcPcTnNSt3__19enable_ifIXntaasr23is_back_insert_iteratorIT1_EE5valueoosr41has_back_insert_iterator_container_appendIS8_T0_EE5valuesr48has_back_insert_iterator_container_insert_at_endIS8_S9_EE5valueEiE4typeELi0EEES8_S9_S9_S8_:
 2108|  52.2k|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|   166k|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 114k, False: 52.2k]
  ------------------
 2110|  52.2k|  return out;
 2111|  52.2k|}
_ZN3fmt3v126detail4copyIccNS0_14basic_appenderIcEEEET1_NS0_17basic_string_viewIT0_EES5_:
 2114|    539|FMT_CONSTEXPR auto copy(basic_string_view<V> s, OutputIt out) -> OutputIt {
 2115|    539|  return copy<T>(s.begin(), s.end(), out);
 2116|    539|}
_ZN3fmt3v126detail15counting_bufferIcEC2Ev:
 2048|  14.1M|  FMT_CONSTEXPR counting_buffer() : buffer<T>(grow, data_, 0, buffer_size) {}
_ZNK3fmt3v126detail15counting_bufferIcE5countEv:
 2050|  14.1M|  constexpr auto count() const noexcept -> size_t {
 2051|  14.1M|    return count_ + this->size();
 2052|  14.1M|  }
_ZN3fmt3v126detail4copyIcPKcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SD_NS0_17basic_string_viewISA_EERKNS0_12format_specsEE23bounded_output_iteratorTnNS9_IXntaasr23is_back_insert_iteratorIT1_EE5valueoosr41has_back_insert_iterator_container_appendISK_SD_EE5valuesr48has_back_insert_iterator_container_insert_at_endISK_SD_EE5valueEiE4typeELi0EEESK_SD_SD_SK_:
 2108|  15.3M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|  24.6M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 9.35M, False: 15.3M]
  ------------------
 2110|  15.3M|  return out;
 2111|  15.3M|}
_ZN3fmt3v126detail4copyIcPcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SC_NS0_17basic_string_viewIS9_EERKNS0_12format_specsEE23bounded_output_iteratorTnNS8_IXntaasr23is_back_insert_iteratorIT1_EE5valueoosr41has_back_insert_iterator_container_appendISJ_SC_EE5valuesr48has_back_insert_iterator_container_insert_at_endISJ_SC_EE5valueEiE4typeELi0EEESJ_SC_SC_SJ_:
 2108|  12.7M|FMT_CONSTEXPR auto copy(InputIt begin, InputIt end, OutputIt out) -> OutputIt {
 2109|  38.7M|  while (begin != end) *out++ = static_cast<T>(*begin++);
  ------------------
  |  Branch (2109:10): [True: 25.9M, False: 12.7M]
  ------------------
 2110|  12.7M|  return out;
 2111|  12.7M|}
_ZNK3fmt3v127context6localeEv:
 2718|  37.9k|  FMT_CONSTEXPR auto locale() const -> locale_ref { return loc_; }
_ZN3fmt3v1213parse_contextIcEC2ENS0_17basic_string_viewIcEEi:
  872|  1.46k|      : fmt_(fmt), next_arg_id_(next_arg_id) {}
_ZN3fmt3v127contextC2ENS0_14basic_appenderIcEENS0_17basic_format_argsIS1_EENS0_10locale_refE:
 2698|  1.46k|      : out_(out), args_(args), loc_(loc) {}
_ZN3fmt3v1210locale_refC2Ev:
  925|  1.46k|  constexpr locale_ref() : locale_(nullptr) {}
_ZN3fmt3v126detail6bufferIcE5beginEv:
 1808|   115k|  auto begin() noexcept -> T* { return ptr_; }
_ZN3fmt3v126detail6bufferIcE3endEv:
 1809|   115k|  auto end() noexcept -> T* { return ptr_ + size_; }
_ZNK3fmt3v126detail6bufferIcE4dataEv:
 1822|  1.04k|  FMT_CONSTEXPR auto data() const noexcept -> const T* { return ptr_; }
_ZN3fmt3v126detail10get_bufferIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr18is_buffer_appenderIT0_EE5valueEiE4typeELi0EEERNS1_6bufferIT_EES7_:
 2136|  1.46k|auto get_buffer(OutputIt out) -> buffer<T>& {
 2137|  1.46k|  return get_container(out);
 2138|  1.46k|}
_ZN3fmt3v126detail12get_iteratorIcNS0_14basic_appenderIcEEEET0_RNS1_6bufferIT_EES5_:
 2145|  1.04k|auto get_iterator(buffer<T>&, OutputIt out) -> OutputIt {
 2146|  1.04k|  return out;
 2147|  1.04k|}
_ZN3fmt3v1210vformat_toINS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr6detail18is_output_iteratorINS4_9remove_cvINS4_16remove_referenceIT_E4typeEE4typeEcEE5valueEiE4typeELi0EEESC_OS8_NS0_17basic_string_viewIcEENS0_17basic_format_argsINS0_7contextEEE:
 2855|  1.46k|    -> remove_cvref_t<OutputIt> {
 2856|  1.46k|  auto&& buf = detail::get_buffer<char>(out);
 2857|  1.46k|  detail::vformat_to(buf, fmt, args, {});
 2858|  1.46k|  return detail::get_iterator(buf, out);
 2859|  1.46k|}
_ZN3fmt3v1216make_format_argsINS0_7contextEJKmS3_KNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEELi3ELi0ELy3396EEENS0_6detail16format_arg_storeIT_XT1_EXT2_EXT3_EEEDpRT0_:
 2825|  1.46k|    -> detail::format_arg_store<Context, NUM_ARGS, NUM_NAMED_ARGS, DESC> {
 2826|       |  // Suppress warnings for pathological types convertible to detail::value.
 2827|  1.46k|  FMT_PRAGMA_GCC(diagnostic ignored "-Wconversion")
 2828|  1.46k|  return {{args...}};
 2829|  1.46k|}
_ZN3fmt3v126detail5valueINS0_7contextEEC2Em:
 2210|  2.93k|      : value(ulong_type(x)) {}
_ZN3fmt3v126detail5valueINS0_7contextEEC2INSt3__112basic_stringIcNS6_11char_traitsIcEENS6_9allocatorIcEEEEcTnNS6_9enable_ifIXntsr3std10is_pointerIT_EE5valueEiE4typeELi0EEERKSE_:
 2248|  1.46k|  FMT_CONSTEXPR value(const T& x FMT_BUILTIN) {
 2249|  1.46k|    static_assert(std::is_same<C, char_type>::value,
 2250|  1.46k|                  "mixing character types is disallowed");
 2251|  1.46k|    auto sv = to_string_view(x);
 2252|  1.46k|    string.data = sv.data();
 2253|  1.46k|    string.size = sv.size();
 2254|  1.46k|  }
_ZN3fmt3v126detail14to_string_viewINSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEETnNS3_9enable_ifIXsr18is_std_string_likeIT_EE5valueEiE4typeELi0EEENS0_17basic_string_viewINSB_10value_typeEEERKSB_:
  963|  1.46k|    -> basic_string_view<typename T::value_type> {
  964|  1.46k|  return s;
  965|  1.46k|}
_ZN3fmt3v1217basic_format_argsINS0_7contextEEC2ILi3ELi0ELy3396ETnNSt3__19enable_ifIXleT_LNS0_6detail3$_1E15EEiE4typeELi0EEERKNS7_16format_arg_storeIS2_XT_EXT0_EXT1_EEE:
 2629|  1.46k|      : desc_(DESC | (NUM_NAMED_ARGS != 0 ? +detail::has_named_args_bit : 0)),
  ------------------
  |  Branch (2629:23): [Folded, False: 1.46k]
  ------------------
 2630|  1.46k|        values_(s.args) {}
_ZNK3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEE3getEv:
 2791|  1.46k|  auto get() const -> string_view { return str; }
_ZN3fmt3v127fstringIJRKmS3_RKNSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEEEEC2IPKcTnNS4_9enable_ifIXsr3std14is_convertibleIRKT_NS0_17basic_string_viewIcEEEE5valueEiE4typeELi0EEESK_:
 2768|  1.46k|  FMT_CONSTEVAL FMT_ALWAYS_INLINE fstring(const S& s) : str(s) {
 2769|  1.46k|    auto sv = string_view(str);
 2770|  1.46k|    if (FMT_USE_CONSTEVAL)
  ------------------
  |  |  120|  1.46k|#  define FMT_USE_CONSTEVAL 0
  |  |  ------------------
  |  |  |  Branch (120:29): [Folded, False: 1.46k]
  |  |  ------------------
  ------------------
 2771|      0|      detail::parse_format_string<char>(sv, checker(sv, arg_pack()));
 2772|       |#ifdef FMT_ENFORCE_COMPILE_STRING
 2773|       |    static_assert(
 2774|       |        FMT_USE_CONSTEVAL && sizeof(s) != 0,
 2775|       |        "FMT_ENFORCE_COMPILE_STRING requires format strings to use FMT_STRING");
 2776|       |#endif
 2777|  1.46k|  }

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

_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEEC2ERKS4_:
  840|   351k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|   351k|    this->set(store_, SIZE);
  842|   351k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 351k]
  ------------------
  843|   351k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE4growERNS2_6bufferIcEEm:
  810|  9.05k|  static FMT_CONSTEXPR20 void grow(detail::buffer<T>& buf, size_t size) {
  811|  9.05k|    detail::abort_fuzzing_if(size > 5000);
  812|  9.05k|    auto& self = static_cast<basic_memory_buffer&>(buf);
  813|  9.05k|    const size_t max_size =
  814|  9.05k|        std::allocator_traits<Allocator>::max_size(self.alloc_);
  815|  9.05k|    size_t old_capacity = buf.capacity();
  816|  9.05k|    size_t new_capacity = old_capacity + old_capacity / 2;
  817|  9.05k|    if (size > new_capacity)
  ------------------
  |  Branch (817:9): [True: 869, False: 8.19k]
  ------------------
  818|    869|      new_capacity = size;
  819|  8.19k|    else if (new_capacity > max_size)
  ------------------
  |  Branch (819:14): [True: 0, False: 8.19k]
  ------------------
  820|      0|      new_capacity = max_of(size, max_size);
  821|  9.05k|    T* old_data = buf.data();
  822|  9.05k|    T* new_data = self.alloc_.allocate(new_capacity);
  823|       |    // Suppress a bogus -Wstringop-overflow in gcc 13.1 (#3481).
  824|  9.05k|    detail::assume(buf.size() <= new_capacity);
  825|       |    // The following code doesn't throw, so the raw pointer above doesn't leak.
  826|  9.05k|    memcpy(new_data, old_data, buf.size() * sizeof(T));
  827|  9.05k|    self.set(new_data, new_capacity);
  828|       |    // deallocate must not throw according to the standard, but even if it does,
  829|       |    // the buffer already uses the new storage and will deallocate it in
  830|       |    // destructor.
  831|  9.05k|    if (old_data != self.store_) self.alloc_.deallocate(old_data, old_capacity);
  ------------------
  |  Branch (831:9): [True: 7.51k, False: 1.54k]
  ------------------
  832|  9.05k|  }
_ZN3fmt3v126detail16abort_fuzzing_ifEb:
  252|  9.05k|FMT_CONSTEXPR inline void abort_fuzzing_if(bool condition) {
  253|  9.05k|  ignore_unused(condition);
  254|       |#ifdef FMT_FUZZ
  255|       |  if (condition) throw std::runtime_error("fuzzing limit reached");
  256|       |#endif
  257|  9.05k|}
_ZN3fmt3v126detail9allocatorIcE8allocateEm:
  749|  9.05k|  auto allocate(size_t n) -> T* {
  750|  9.05k|    FMT_ASSERT(n <= max_value<size_t>() / sizeof(T), "");
  ------------------
  |  |  395|  9.05k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 9.05k, False: 0]
  |  |  ------------------
  |  |  396|  9.05k|         ? (void)0                                                          \
  |  |  397|  9.05k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
  751|  9.05k|    T* p = static_cast<T*>(malloc(n * sizeof(T)));
  752|  9.05k|    if (!p) FMT_THROW(std::bad_alloc());
  ------------------
  |  |  175|      0|#  define FMT_THROW(x) throw x
  ------------------
  |  Branch (752:9): [True: 0, False: 9.05k]
  ------------------
  753|  9.05k|    return p;
  754|  9.05k|  }
_ZN3fmt3v126detail9max_valueImEET_v:
  427|  9.05k|template <typename T> constexpr auto max_value() -> T {
  428|  9.05k|  return (std::numeric_limits<T>::max)();
  429|  9.05k|}
_ZN3fmt3v126detail6assumeEb:
  479|  9.05k|FMT_INLINE void assume(bool condition) {
  480|  9.05k|  (void)condition;
  481|  9.05k|#if FMT_HAS_BUILTIN(__builtin_assume) && !FMT_ICC_VERSION
  482|  9.05k|  __builtin_assume(condition);
  483|       |#elif FMT_GCC_VERSION
  484|       |  if (!condition) __builtin_unreachable();
  485|       |#endif
  486|  9.05k|}
_ZN3fmt3v126detail9allocatorIcE10deallocateEPcm:
  756|  9.05k|  void deallocate(T* p, size_t) { free(p); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEED2Ev:
  844|   351k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE10deallocateEv:
  805|   351k|  FMT_CONSTEXPR20 void deallocate() {
  806|   351k|    T* data = this->data();
  807|   351k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 1.54k, False: 350k]
  ------------------
  808|   351k|  }
_ZN3fmt3v1210format_intC2Ei:
 4190|   265k|  FMT_CONSTEXPR20 explicit format_int(int value) : str_(format_signed(value)) {}
_ZN3fmt3v1210format_int13format_signedIiEEPcT_:
 4180|   265k|  FMT_CONSTEXPR20 auto format_signed(Int value) -> char* {
 4181|   265k|    auto abs_value = static_cast<detail::uint32_or_64_or_128_t<Int>>(value);
 4182|   265k|    bool negative = value < 0;
 4183|   265k|    if (negative) abs_value = 0 - abs_value;
  ------------------
  |  Branch (4183:9): [True: 0, False: 265k]
  ------------------
 4184|   265k|    auto begin = format_unsigned(abs_value);
 4185|   265k|    if (negative) *--begin = '-';
  ------------------
  |  Branch (4185:9): [True: 0, False: 265k]
  ------------------
 4186|   265k|    return begin;
 4187|   265k|  }
_ZN3fmt3v1210format_int15format_unsignedIjEEPcT_:
 4174|   297k|  FMT_CONSTEXPR20 auto format_unsigned(UInt value) -> char* {
 4175|   297k|    auto n = static_cast<detail::uint32_or_64_or_128_t<UInt>>(value);
 4176|   297k|    return detail::do_format_decimal(buffer_, n, buffer_size - 1);
 4177|   297k|  }
_ZN3fmt3v126detail17do_format_decimalIcjEEPT_S4_T0_i:
 1220|   297k|    -> Char* {
 1221|   297k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  395|   297k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 297k, False: 0]
  |  |  ------------------
  |  |  396|   297k|         ? (void)0                                                          \
  |  |  397|   297k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1222|   297k|  unsigned n = to_unsigned(size);
 1223|   526k|  while (value >= 100) {
  ------------------
  |  Branch (1223:10): [True: 228k, False: 297k]
  ------------------
 1224|       |    // Integer division is slow so do it for a group of two digits instead
 1225|       |    // of for every digit. The idea comes from the talk by Alexandrescu
 1226|       |    // "Three Optimization Tips for C++". See speed-test for a comparison.
 1227|   228k|    n -= 2;
 1228|   228k|    write2digits(out + n, static_cast<unsigned>(value % 100));
 1229|   228k|    value /= 100;
 1230|   228k|  }
 1231|   297k|  if (value >= 10) {
  ------------------
  |  Branch (1231:7): [True: 265k, False: 31.6k]
  ------------------
 1232|   265k|    n -= 2;
 1233|   265k|    write2digits(out + n, static_cast<unsigned>(value));
 1234|   265k|  } else {
 1235|  31.6k|    out[--n] = static_cast<Char>('0' + value);
 1236|  31.6k|  }
 1237|   297k|  return out + n;
 1238|   297k|}
_ZN3fmt3v126detail12count_digitsEj:
 1146|   298k|FMT_CONSTEXPR20 inline auto count_digits(uint32_t n) -> int {
 1147|   298k|#ifdef FMT_BUILTIN_CLZ
 1148|   298k|  if (!is_constant_evaluated() && !FMT_OPTIMIZE_SIZE) return do_count_digits(n);
  ------------------
  |  |  290|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1148:7): [True: 0, Folded]
  |  Branch (1148:35): [True: 0, Folded]
  ------------------
 1149|      0|#endif
 1150|      0|  return count_digits_fallback(n);
 1151|   298k|}
_ZN3fmt3v126detail15do_count_digitsEj:
 1123|   298k|FMT_INLINE auto do_count_digits(uint32_t n) -> int {
 1124|       |// An optimization by Kendall Willets from https://bit.ly/3uOIQrB.
 1125|       |// This increments the upper 32 bits (log10(T) - 1) when >= T is added.
 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
 1127|   298k|  static constexpr uint64_t table[] = {
 1128|   298k|      FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(0),          FMT_INC(0),          FMT_INC(0),           // 8
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1129|   298k|      FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10),         FMT_INC(10),         FMT_INC(10),          // 64
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1130|   298k|      FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100),        FMT_INC(100),        FMT_INC(100),         // 512
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1131|   298k|      FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000),       FMT_INC(1000),       FMT_INC(1000),        // 4096
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1132|   298k|      FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000),      FMT_INC(10000),      FMT_INC(10000),       // 32k
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1133|   298k|      FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000),     FMT_INC(100000),     FMT_INC(100000),      // 256k
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1134|   298k|      FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000),    FMT_INC(1000000),    FMT_INC(1000000),     // 2048k
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1135|   298k|      FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(10000000),   FMT_INC(10000000),   FMT_INC(10000000),    // 16M
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1136|   298k|      FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(100000000),  FMT_INC(100000000),  FMT_INC(100000000),   // 128M
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1137|   298k|      FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000), FMT_INC(1000000000),  // 1024M
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1138|   298k|      FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
                    FMT_INC(1000000000), FMT_INC(1000000000)                        // 4B
  ------------------
  |  | 1126|   298k|#  define FMT_INC(T) (((sizeof(#T) - 1ull) << 32) - T)
  ------------------
 1139|   298k|  };
 1140|   298k|  auto inc = table[FMT_BUILTIN_CLZ(n | 1) ^ 31];
  ------------------
  |  |  206|   298k|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1141|   298k|  return static_cast<int>((n + inc) >> 32);
 1142|   298k|}
_ZN3fmt3v126detail12write2digitsIcEEvPT_m:
 1206|  1.19M|FMT_CONSTEXPR20 FMT_INLINE void write2digits(Char* out, size_t value) {
 1207|  1.19M|  if (!is_constant_evaluated() && std::is_same<Char, char>::value &&
  ------------------
  |  Branch (1207:7): [True: 0, Folded]
  |  Branch (1207:35): [True: 0, Folded]
  ------------------
 1208|  1.19M|      !FMT_OPTIMIZE_SIZE) {
  ------------------
  |  |  290|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1208:7): [True: 0, Folded]
  ------------------
 1209|  1.19M|    memcpy(out, digits2(value), 2);
 1210|  1.19M|    return;
 1211|  1.19M|  }
 1212|      0|  *out++ = static_cast<Char>('0' + value / 10);
 1213|      0|  *out = static_cast<Char>('0' + value % 10);
 1214|      0|}
_ZN3fmt3v126detail7digits2Em:
 1036|  1.19M|inline auto digits2(size_t value) -> const char* {
 1037|       |  // Align data since unaligned access may be slower when crossing a
 1038|       |  // hardware-specific boundary.
 1039|  1.19M|  alignas(2) static const char data[] =
 1040|  1.19M|      "0001020304050607080910111213141516171819"
 1041|  1.19M|      "2021222324252627282930313233343536373839"
 1042|  1.19M|      "4041424344454647484950515253545556575859"
 1043|  1.19M|      "6061626364656667686970717273747576777879"
 1044|  1.19M|      "8081828384858687888990919293949596979899";
 1045|  1.19M|  return &data[value * 2];
 1046|  1.19M|}
_ZNK3fmt3v1210format_int4dataEv:
 4209|  1.26M|  FMT_CONSTEXPR20 auto data() const -> const char* { return str_; }
_ZNK3fmt3v1210format_int4sizeEv:
 4203|   632k|  FMT_CONSTEXPR20 auto size() const -> size_t {
 4204|   632k|    return detail::to_unsigned(buffer_ - str_ + buffer_size - 1);
 4205|   632k|  }
_ZN3fmt3v126detail6equal2EPKcS3_:
 1200|      3|inline auto equal2(const char* lhs, const char* rhs) -> bool {
 1201|      3|  return memcmp(lhs, rhs, 2) == 0;
 1202|      3|}
_ZN3fmt3v126detail10to_pointerIcEEPT_NS0_14basic_appenderIS3_EEm:
  531|  8.76k|FMT_CONSTEXPR20 auto to_pointer(basic_appender<T> it, size_t n) -> T* {
  532|  8.76k|  buffer<T>& buf = get_container(it);
  533|  8.76k|  buf.try_reserve(buf.size() + n);
  534|  8.76k|  auto size = buf.size();
  535|  8.76k|  if (buf.capacity() < size + n) return nullptr;
  ------------------
  |  Branch (535:7): [True: 0, False: 8.76k]
  ------------------
  536|  8.76k|  buf.try_resize(size + n);
  537|  8.76k|  return buf.data() + size;
  538|  8.76k|}
_ZN3fmt3v126detail12count_digitsEm:
 1096|   565k|FMT_CONSTEXPR20 inline auto count_digits(uint64_t n) -> int {
 1097|   565k|#ifdef FMT_BUILTIN_CLZLL
 1098|   565k|  if (!is_constant_evaluated() && !FMT_OPTIMIZE_SIZE) return do_count_digits(n);
  ------------------
  |  |  290|      0|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1098:7): [True: 0, Folded]
  |  Branch (1098:35): [True: 0, Folded]
  ------------------
 1099|      0|#endif
 1100|      0|  return count_digits_fallback(n);
 1101|   565k|}
_ZN3fmt3v126detail15do_count_digitsEm:
 1076|   565k|inline auto do_count_digits(uint64_t n) -> int {
 1077|       |  // This has comparable performance to the version by Kendall Willets
 1078|       |  // (https://github.com/fmtlib/format-benchmark/blob/master/digits10)
 1079|       |  // but uses smaller tables.
 1080|       |  // Maps bsr(n) to ceil(log10(pow(2, bsr(n) + 1) - 1)).
 1081|   565k|  static constexpr uint8_t bsr2log10[] = {
 1082|   565k|      1,  1,  1,  2,  2,  2,  3,  3,  3,  4,  4,  4,  4,  5,  5,  5,
 1083|   565k|      6,  6,  6,  7,  7,  7,  7,  8,  8,  8,  9,  9,  9,  10, 10, 10,
 1084|   565k|      10, 11, 11, 11, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 15, 15,
 1085|   565k|      15, 16, 16, 16, 16, 17, 17, 17, 18, 18, 18, 19, 19, 19, 19, 20};
 1086|   565k|  auto t = bsr2log10[FMT_BUILTIN_CLZLL(n | 1) ^ 63];
  ------------------
  |  |  209|   565k|#    define FMT_BUILTIN_CLZLL(n) __builtin_clzll(n)
  ------------------
 1087|   565k|  static constexpr uint64_t zero_or_powers_of_10[] = {
 1088|   565k|      0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1030|   565k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1031|   565k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1032|   565k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
                    0, 0, FMT_POWERS_OF_10(1U), FMT_POWERS_OF_10(1000000000ULL),
  ------------------
  |  | 1030|   565k|  factor * 10, (factor) * 100, (factor) * 1000, (factor) * 10000, \
  |  | 1031|   565k|      (factor) * 100000, (factor) * 1000000, (factor) * 10000000, \
  |  | 1032|   565k|      (factor) * 100000000, (factor) * 1000000000
  ------------------
 1089|   565k|      10000000000000000000ULL};
 1090|   565k|  return t - (n < zero_or_powers_of_10[t]);
 1091|   565k|}
_ZN3fmt3v126detail14format_decimalIcmEEPT_S4_T0_i:
 1242|  3.10k|                                             int num_digits) -> Char* {
 1243|  3.10k|  do_format_decimal(out, value, num_digits);
 1244|  3.10k|  return out + num_digits;
 1245|  3.10k|}
_ZN3fmt3v126detail17do_format_decimalIcmEEPT_S4_T0_i:
 1220|   343k|    -> Char* {
 1221|   343k|  FMT_ASSERT(size >= count_digits(value), "invalid digit count");
  ------------------
  |  |  395|   343k|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [True: 343k, False: 0]
  |  |  ------------------
  |  |  396|   343k|         ? (void)0                                                          \
  |  |  397|   343k|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
 1222|   343k|  unsigned n = to_unsigned(size);
 1223|   973k|  while (value >= 100) {
  ------------------
  |  Branch (1223:10): [True: 629k, False: 343k]
  ------------------
 1224|       |    // Integer division is slow so do it for a group of two digits instead
 1225|       |    // of for every digit. The idea comes from the talk by Alexandrescu
 1226|       |    // "Three Optimization Tips for C++". See speed-test for a comparison.
 1227|   629k|    n -= 2;
 1228|   629k|    write2digits(out + n, static_cast<unsigned>(value % 100));
 1229|   629k|    value /= 100;
 1230|   629k|  }
 1231|   343k|  if (value >= 10) {
  ------------------
  |  Branch (1231:7): [True: 75.2k, False: 268k]
  ------------------
 1232|  75.2k|    n -= 2;
 1233|  75.2k|    write2digits(out + n, static_cast<unsigned>(value));
 1234|   268k|  } else {
 1235|   268k|    out[--n] = static_cast<Char>('0' + value);
 1236|   268k|  }
 1237|   343k|  return out + n;
 1238|   343k|}
_ZN3fmt3v126detail14format_decimalIcmNS0_14basic_appenderIcEETnNSt3__19enable_ifIXntsr3std10is_pointerINS5_9remove_cvINS5_16remove_referenceIT1_E4typeEE4typeEEE5valueEiE4typeELi0EEES9_S9_T0_i:
 1250|  1.59k|    -> OutputIt {
 1251|  1.59k|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1251:12): [True: 1.59k, False: 0]
  ------------------
 1252|  1.59k|    do_format_decimal(ptr, value, num_digits);
 1253|  1.59k|    return out;
 1254|  1.59k|  }
 1255|       |  // Buffer is large enough to hold all digits (digits10 + 1).
 1256|      0|  char buffer[digits10<UInt>() + 1];
 1257|      0|  if (is_constant_evaluated()) fill_n(buffer, sizeof(buffer), '\0');
  ------------------
  |  Branch (1257:7): [Folded, False: 0]
  ------------------
 1258|      0|  do_format_decimal(buffer, value, num_digits);
 1259|      0|  return copy_noinline<Char>(buffer, buffer + num_digits, out);
 1260|  1.59k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3660|  3.10k|  void operator()(T value) {
 3661|  3.10k|    write<Char>(out, value);
 3662|  3.10k|  }
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEyTnNSt3__19enable_ifIXaaaasr11is_integralIT1_EE5valuentsr3std7is_sameIS7_bEE5valuentsr3std7is_sameIS7_T_EE5valueEiE4typeELi0EEET0_SB_S7_:
 2295|  3.10k|FMT_CONSTEXPR auto write(OutputIt out, T value) -> OutputIt {
 2296|  3.10k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2297|  3.10k|  bool negative = is_negative(value);
 2298|       |  // Don't do -abs_value since it trips unsigned-integer-overflow sanitizer.
 2299|  3.10k|  if (negative) abs_value = ~abs_value + 1;
  ------------------
  |  Branch (2299:7): [True: 0, False: 3.10k]
  ------------------
 2300|  3.10k|  int num_digits = count_digits(abs_value);
 2301|  3.10k|  auto size = (negative ? 1 : 0) + static_cast<size_t>(num_digits);
  ------------------
  |  Branch (2301:16): [True: 0, False: 3.10k]
  ------------------
 2302|  3.10k|  if (auto ptr = to_pointer<Char>(out, size)) {
  ------------------
  |  Branch (2302:12): [True: 3.10k, False: 0]
  ------------------
 2303|  3.10k|    if (negative) *ptr++ = static_cast<Char>('-');
  ------------------
  |  Branch (2303:9): [True: 0, False: 3.10k]
  ------------------
 2304|  3.10k|    format_decimal<Char>(ptr, abs_value, num_digits);
 2305|  3.10k|    return out;
 2306|  3.10k|  }
 2307|      0|  if (negative) *out++ = static_cast<Char>('-');
  ------------------
  |  Branch (2307:7): [True: 0, False: 0]
  ------------------
 2308|      0|  return format_decimal<Char>(out, abs_value, num_digits);
 2309|  3.10k|}
_ZN3fmt3v126detail11is_negativeIyTnNSt3__19enable_ifIXntsr9is_signedIT_EE5valueEiE4typeELi0EEEbS5_:
 1015|  19.7k|constexpr auto is_negative(T) -> bool {
 1016|  19.7k|  return false;
 1017|  19.7k|}
_ZNK3fmt3v1212format_facetINSt3__16localeEE3putENS0_14basic_appenderIcEENS0_9loc_valueERKNS0_12format_specsE:
 3913|  6.14k|      -> bool {
 3914|  6.14k|    return do_put(out, val, specs);
 3915|  6.14k|  }
_ZN3fmt3v129loc_value5visitINS0_6detail10loc_writerIcEEEEDTclfp_Li0EEEOT_:
 3885|  6.14k|  template <typename Visitor> auto visit(Visitor&& vis) -> decltype(vis(0)) {
 3886|  6.14k|    return value_.visit(vis);
 3887|  6.14k|  }
_ZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EE:
 1941|  6.14k|    -> OutputIt {
 1942|  6.14k|  static_assert(std::is_same<uint64_or_128_t<UInt>, UInt>::value, "");
 1943|  6.14k|  int num_digits = 0;
 1944|  6.14k|  auto buffer = memory_buffer();
 1945|  6.14k|  switch (specs.type()) {
 1946|      0|  default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  395|      0|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [Folded, False: 0]
  |  |  ------------------
  |  |  396|      0|         ? (void)0                                                          \
  |  |  397|      0|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
                default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1946:3): [True: 0, False: 6.14k]
  ------------------
 1947|  1.17k|  case presentation_type::none:
  ------------------
  |  Branch (1947:3): [True: 1.17k, False: 4.97k]
  ------------------
 1948|  1.59k|  case presentation_type::dec:
  ------------------
  |  Branch (1948:3): [True: 421, False: 5.72k]
  ------------------
 1949|  1.59k|    num_digits = count_digits(value);
 1950|  1.59k|    format_decimal<char>(appender(buffer), value, num_digits);
 1951|  1.59k|    break;
 1952|  1.61k|  case presentation_type::hex:
  ------------------
  |  Branch (1952:3): [True: 1.61k, False: 4.53k]
  ------------------
 1953|  1.61k|    if (specs.alt())
  ------------------
  |  Branch (1953:9): [True: 792, False: 825]
  ------------------
 1954|    792|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (1954:38): [True: 577, False: 215]
  ------------------
 1955|  1.61k|    num_digits = count_digits<4>(value);
 1956|  1.61k|    format_base2e<char>(4, appender(buffer), value, num_digits, specs.upper());
 1957|  1.61k|    break;
 1958|  1.24k|  case presentation_type::oct:
  ------------------
  |  Branch (1958:3): [True: 1.24k, False: 4.90k]
  ------------------
 1959|  1.24k|    num_digits = count_digits<3>(value);
 1960|       |    // Octal prefix '0' is counted as a digit, so only add it if precision
 1961|       |    // is not greater than the number of digits.
 1962|  1.24k|    if (specs.alt() && specs.precision <= num_digits && value != 0)
  ------------------
  |  Branch (1962:9): [True: 606, False: 637]
  |  Branch (1962:24): [True: 606, False: 0]
  |  Branch (1962:57): [True: 425, False: 181]
  ------------------
 1963|    425|      prefix_append(prefix, '0');
 1964|  1.24k|    format_base2e<char>(3, appender(buffer), value, num_digits);
 1965|  1.24k|    break;
 1966|  1.21k|  case presentation_type::bin:
  ------------------
  |  Branch (1966:3): [True: 1.21k, False: 4.93k]
  ------------------
 1967|  1.21k|    if (specs.alt())
  ------------------
  |  Branch (1967:9): [True: 529, False: 681]
  ------------------
 1968|    529|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (1968:38): [True: 64, False: 465]
  ------------------
 1969|  1.21k|    num_digits = count_digits<1>(value);
 1970|  1.21k|    format_base2e<char>(1, appender(buffer), value, num_digits);
 1971|  1.21k|    break;
 1972|    486|  case presentation_type::chr:
  ------------------
  |  Branch (1972:3): [True: 486, False: 5.66k]
  ------------------
 1973|    486|    return write_char<Char>(out, static_cast<Char>(value), specs);
 1974|  6.14k|  }
 1975|       |
 1976|  5.66k|  unsigned size = (prefix != 0 ? prefix >> 24 : 0) + to_unsigned(num_digits) +
  ------------------
  |  Branch (1976:20): [True: 1.74k, False: 3.91k]
  ------------------
 1977|  5.66k|                  to_unsigned(grouping.count_separators(num_digits));
 1978|  5.66k|  return write_padded<Char, align::right>(
 1979|  5.66k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 1980|  5.66k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 1981|  5.66k|          *it++ = static_cast<Char>(p & 0xff);
 1982|  5.66k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 1983|  5.66k|      });
 1984|  6.14k|}
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEEC2ERKS4_:
  840|  6.14k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|  6.14k|    this->set(store_, SIZE);
  842|  6.14k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 6.14k]
  ------------------
  843|  6.14k|  }
_ZN3fmt3v126detail13prefix_appendERjj:
 1932|  4.12k|FMT_CONSTEXPR inline void prefix_append(unsigned& prefix, unsigned value) {
 1933|  4.12k|  prefix |= prefix != 0 ? value << 8 : value;
  ------------------
  |  Branch (1933:13): [True: 0, False: 4.12k]
  ------------------
 1934|  4.12k|  prefix += (1u + (value > 0xff ? 1 : 0)) << 24;
  ------------------
  |  Branch (1934:20): [True: 2.88k, False: 1.24k]
  ------------------
 1935|  4.12k|}
_ZN3fmt3v126detail12count_digitsILi4EmEEiT0_:
 1105|  1.61k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|  1.61k|#ifdef FMT_BUILTIN_CLZ
 1107|  1.61k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1107:7): [True: 0, Folded]
  |  Branch (1107:35): [Folded, False: 0]
  ------------------
 1108|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  206|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1109|  1.61k|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|  1.61k|  return [](UInt m) {
 1112|  1.61k|    int num_digits = 0;
 1113|  1.61k|    do {
 1114|  1.61k|      ++num_digits;
 1115|  1.61k|    } while ((m >>= BITS) != 0);
 1116|  1.61k|    return num_digits;
 1117|  1.61k|  }(n);
 1118|  1.61k|}
_ZZN3fmt3v126detail12count_digitsILi4EmEEiT0_ENKUlmE_clEm:
 1111|  1.61k|  return [](UInt m) {
 1112|  1.61k|    int num_digits = 0;
 1113|  25.7k|    do {
 1114|  25.7k|      ++num_digits;
 1115|  25.7k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 24.1k, False: 1.61k]
  ------------------
 1116|  1.61k|    return num_digits;
 1117|  1.61k|  }(n);
_ZN3fmt3v126detail13format_base2eIcNS0_14basic_appenderIcEEmTnNSt3__19enable_ifIXsr23is_back_insert_iteratorIT0_EE5valueEiE4typeELi0EEES7_iS7_T1_ib:
 1287|  4.07k|    -> OutputIt {
 1288|  4.07k|  if (auto ptr = to_pointer<Char>(out, to_unsigned(num_digits))) {
  ------------------
  |  Branch (1288:12): [True: 4.07k, False: 0]
  ------------------
 1289|  4.07k|    format_base2e(base_bits, ptr, value, num_digits, upper);
 1290|  4.07k|    return out;
 1291|  4.07k|  }
 1292|       |  // Make buffer large enough for any base.
 1293|      0|  char buffer[num_bits<UInt>()];
 1294|      0|  if (is_constant_evaluated()) fill_n(buffer, sizeof(buffer), '\0');
  ------------------
  |  Branch (1294:7): [Folded, False: 0]
  ------------------
 1295|      0|  format_base2e(base_bits, buffer, value, num_digits, upper);
 1296|      0|  return detail::copy_noinline<Char>(buffer, buffer + num_digits, out);
 1297|  4.07k|}
_ZN3fmt3v126detail13format_base2eIcmEEPT_iS4_T0_ib:
 1278|  4.07k|                                 int num_digits, bool upper = false) -> Char* {
 1279|  4.07k|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1280|  4.07k|  return out + num_digits;
 1281|  4.07k|}
_ZN3fmt3v126detail16do_format_base2eIcmEEPT_iS4_T0_ib:
 1264|  9.27k|                                    int size, bool upper = false) -> Char* {
 1265|  9.27k|  out += size;
 1266|   281k|  do {
 1267|   281k|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1267:26): [True: 25.6k, False: 256k]
  ------------------
 1268|   281k|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1269|   281k|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1269:32): [True: 236k, False: 45.2k]
  ------------------
 1270|   281k|                                             : digits[digit]);
 1271|   281k|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1271:12): [True: 272k, False: 9.27k]
  ------------------
 1272|  9.27k|  return out;
 1273|  9.27k|}
_ZN3fmt3v126detail12count_digitsILi3EmEEiT0_:
 1105|  1.24k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|  1.24k|#ifdef FMT_BUILTIN_CLZ
 1107|  1.24k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1107:7): [True: 0, Folded]
  |  Branch (1107:35): [Folded, False: 0]
  ------------------
 1108|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  206|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1109|  1.24k|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|  1.24k|  return [](UInt m) {
 1112|  1.24k|    int num_digits = 0;
 1113|  1.24k|    do {
 1114|  1.24k|      ++num_digits;
 1115|  1.24k|    } while ((m >>= BITS) != 0);
 1116|  1.24k|    return num_digits;
 1117|  1.24k|  }(n);
 1118|  1.24k|}
_ZZN3fmt3v126detail12count_digitsILi3EmEEiT0_ENKUlmE_clEm:
 1111|  1.24k|  return [](UInt m) {
 1112|  1.24k|    int num_digits = 0;
 1113|  21.3k|    do {
 1114|  21.3k|      ++num_digits;
 1115|  21.3k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 20.0k, False: 1.24k]
  ------------------
 1116|  1.24k|    return num_digits;
 1117|  1.24k|  }(n);
_ZN3fmt3v126detail12count_digitsILi1EmEEiT0_:
 1105|  1.21k|FMT_CONSTEXPR auto count_digits(UInt n) -> int {
 1106|  1.21k|#ifdef FMT_BUILTIN_CLZ
 1107|  1.21k|  if (!is_constant_evaluated() && num_bits<UInt>() == 32)
  ------------------
  |  Branch (1107:7): [True: 0, Folded]
  |  Branch (1107:35): [Folded, False: 0]
  ------------------
 1108|      0|    return (FMT_BUILTIN_CLZ(static_cast<uint32_t>(n) | 1) ^ 31) / BITS + 1;
  ------------------
  |  |  206|      0|#    define FMT_BUILTIN_CLZ(n) __builtin_clz(n)
  ------------------
 1109|  1.21k|#endif
 1110|       |  // Lambda avoids unreachable code warnings from NVHPC.
 1111|  1.21k|  return [](UInt m) {
 1112|  1.21k|    int num_digits = 0;
 1113|  1.21k|    do {
 1114|  1.21k|      ++num_digits;
 1115|  1.21k|    } while ((m >>= BITS) != 0);
 1116|  1.21k|    return num_digits;
 1117|  1.21k|  }(n);
 1118|  1.21k|}
_ZZN3fmt3v126detail12count_digitsILi1EmEEiT0_ENKUlmE_clEm:
 1111|  1.21k|  return [](UInt m) {
 1112|  1.21k|    int num_digits = 0;
 1113|  75.7k|    do {
 1114|  75.7k|      ++num_digits;
 1115|  75.7k|    } while ((m >>= BITS) != 0);
  ------------------
  |  Branch (1115:14): [True: 74.5k, False: 1.21k]
  ------------------
 1116|  1.21k|    return num_digits;
 1117|  1.21k|  }(n);
_ZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsE:
 1859|  1.12k|                              const format_specs& specs) -> OutputIt {
 1860|  1.12k|  bool is_debug = specs.type() == presentation_type::debug;
 1861|  1.12k|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1862|  1.12k|    if (is_debug) return write_escaped_char(it, value);
 1863|  1.12k|    *it++ = value;
 1864|  1.12k|    return it;
 1865|  1.12k|  });
 1866|  1.12k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SD_SB_mOT2_:
 1709|  1.12k|                            size_t size, F&& f) -> OutputIt {
 1710|  1.12k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1711|  1.12k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEERZNS1_10write_charIcS5_EET0_S7_T_RKNS0_12format_specsEEUlS5_E_EET1_SE_SB_mmOT2_:
 1688|  1.12k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  1.12k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  1.12k|                "");
 1691|  1.12k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  1.12k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 333, False: 793]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  1.12k|  auto* shifts =
 1696|  1.12k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [True: 1.12k, Folded]
  ------------------
 1697|  1.12k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  1.12k|  size_t right_padding = padding - left_padding;
 1699|  1.12k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  1.12k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 295, False: 831]
  ------------------
 1701|  1.12k|  it = f(it);
 1702|  1.12k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 38, False: 1.08k]
  ------------------
 1703|  1.12k|  return base_iterator(out, it);
 1704|  1.12k|}
_ZN3fmt3v126detail7reserveIcEENS0_14basic_appenderIT_EES5_m:
  506|  37.9k|    -> basic_appender<T> {
  507|  37.9k|  buffer<T>& buf = get_container(it);
  508|  37.9k|  buf.try_reserve(buf.size() + n);
  509|  37.9k|  return it;
  510|  37.9k|}
_ZN3fmt3v126detail4fillIcNS0_14basic_appenderIcEEEET0_S5_mRKNS0_11basic_specsE:
 1673|  7.39k|                                     const basic_specs& specs) -> OutputIt {
 1674|  7.39k|  auto fill_size = specs.fill_size();
 1675|  7.39k|  if (fill_size == 1) return detail::fill_n(it, n, specs.fill_unit<Char>());
  ------------------
  |  Branch (1675:7): [True: 6.69k, False: 696]
  ------------------
 1676|    696|  if (const Char* data = specs.fill<Char>()) {
  ------------------
  |  Branch (1676:19): [True: 696, False: 0]
  ------------------
 1677|  2.71k|    for (size_t i = 0; i < n; ++i) it = copy<Char>(data, data + fill_size, it);
  ------------------
  |  Branch (1677:24): [True: 2.01k, False: 696]
  ------------------
 1678|    696|  }
 1679|    696|  return it;
 1680|  7.39k|}
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEmcEET_S5_T0_RKT1_:
  558|  6.69k|    -> OutputIt {
  559|  6.31G|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (559:20): [True: 6.31G, False: 6.69k]
  ------------------
  560|  6.69k|  return out;
  561|  6.69k|}
_ZZN3fmt3v126detail10write_charIcNS0_14basic_appenderIcEEEET0_S5_T_RKNS0_12format_specsEENKUlS4_E_clES4_:
 1861|  1.12k|  return write_padded<Char>(out, specs, 1, [=](reserve_iterator<OutputIt> it) {
 1862|  1.12k|    if (is_debug) return write_escaped_char(it, value);
  ------------------
  |  Branch (1862:9): [True: 0, False: 1.12k]
  ------------------
 1863|  1.12k|    *it++ = value;
 1864|  1.12k|    return it;
 1865|  1.12k|  });
_ZN3fmt3v126detail12needs_escapeEj:
 1740|  68.7M|inline auto needs_escape(uint32_t cp) -> bool {
 1741|  68.7M|  if (cp < 0x20 || cp == 0x7f || cp == '"' || cp == '\\') return true;
  ------------------
  |  Branch (1741:7): [True: 29.4M, False: 39.3M]
  |  Branch (1741:20): [True: 50.7k, False: 39.2M]
  |  Branch (1741:34): [True: 1.25M, False: 38.0M]
  |  Branch (1741:47): [True: 4.72k, False: 38.0M]
  ------------------
 1742|  38.0M|  if (const_check(FMT_OPTIMIZE_SIZE > 1)) return false;
  ------------------
  |  |  290|  38.0M|#  define FMT_OPTIMIZE_SIZE 0
  ------------------
  |  Branch (1742:7): [Folded, False: 38.0M]
  ------------------
 1743|  38.0M|  return !is_printable(cp);
 1744|  38.0M|}
_ZN3fmt3v126detail16write_escaped_cpINS0_14basic_appenderIcEEcEET_S5_RKNS1_18find_escape_resultIT0_EE:
 1790|  29.8M|    -> OutputIt {
 1791|  29.8M|  auto c = static_cast<Char>(escape.cp);
 1792|  29.8M|  switch (escape.cp) {
 1793|   370k|  case '\n':
  ------------------
  |  Branch (1793:3): [True: 370k, False: 29.4M]
  ------------------
 1794|   370k|    *out++ = static_cast<Char>('\\');
 1795|   370k|    c = static_cast<Char>('n');
 1796|   370k|    break;
 1797|   109k|  case '\r':
  ------------------
  |  Branch (1797:3): [True: 109k, False: 29.7M]
  ------------------
 1798|   109k|    *out++ = static_cast<Char>('\\');
 1799|   109k|    c = static_cast<Char>('r');
 1800|   109k|    break;
 1801|  6.86M|  case '\t':
  ------------------
  |  Branch (1801:3): [True: 6.86M, False: 22.9M]
  ------------------
 1802|  6.86M|    *out++ = static_cast<Char>('\\');
 1803|  6.86M|    c = static_cast<Char>('t');
 1804|  6.86M|    break;
 1805|  1.23M|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|  1.23M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1805:3): [True: 1.23M, False: 28.6M]
  ------------------
 1806|  1.23M|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|  1.23M|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1806:3): [True: 0, False: 29.8M]
  ------------------
 1807|  1.23M|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1807:3): [True: 2.57k, False: 29.8M]
  ------------------
 1808|  21.2M|  default:
  ------------------
  |  Branch (1808:3): [True: 21.2M, False: 8.57M]
  ------------------
 1809|  21.2M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1809:9): [True: 12.5M, False: 8.73M]
  ------------------
 1810|  8.73M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1810:9): [True: 43.7k, False: 8.69M]
  ------------------
 1811|  43.7k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1812|  8.69M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1812:9): [True: 33.0k, False: 8.65M]
  ------------------
 1813|  33.0k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1814|  8.65M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1814:27): [True: 8.65M, False: 8.65M]
  ------------------
 1815|  8.65M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1816|  8.65M|      out = write_codepoint<2, Char>(out, 'x',
 1817|  8.65M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1818|  8.65M|    }
 1819|  8.65M|    return out;
 1820|  29.8M|  }
 1821|  8.57M|  *out++ = c;
 1822|  8.57M|  return out;
 1823|  29.8M|}
_ZN3fmt3v126detail15write_codepointILm2EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|  21.2M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  21.2M|  *out++ = static_cast<Char>('\\');
 1781|  21.2M|  *out++ = static_cast<Char>(prefix);
 1782|  21.2M|  Char buf[width];
 1783|  21.2M|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  21.2M|  format_base2e(4, buf, cp, width);
 1785|  21.2M|  return copy<Char>(buf, buf + width, out);
 1786|  21.2M|}
_ZN3fmt3v126detail6fill_nIcmEEPT_S4_T0_c:
  563|  34.0M|FMT_CONSTEXPR20 auto fill_n(T* out, Size count, char value) -> T* {
  564|  34.0M|  if (is_constant_evaluated()) return fill_n<T*, Size, T>(out, count, value);
  ------------------
  |  Branch (564:7): [Folded, False: 34.0M]
  ------------------
  565|  34.0M|  static_assert(sizeof(T) == 1,
  566|  34.0M|                "sizeof(T) must be 1 to use char for initialization");
  567|  34.0M|  std::memset(out, value, to_unsigned(count));
  568|  34.0M|  return out + count;
  569|  34.0M|}
_ZN3fmt3v126detail13format_base2eIcjEEPT_iS4_T0_ib:
 1278|  34.0M|                                 int num_digits, bool upper = false) -> Char* {
 1279|  34.0M|  do_format_base2e(base_bits, out, value, num_digits, upper);
 1280|  34.0M|  return out + num_digits;
 1281|  34.0M|}
_ZN3fmt3v126detail16do_format_base2eIcjEEPT_iS4_T0_ib:
 1264|  34.0M|                                    int size, bool upper = false) -> Char* {
 1265|  34.0M|  out += size;
 1266|  52.0M|  do {
 1267|  52.0M|    const char* digits = upper ? "0123456789ABCDEF" : "0123456789abcdef";
  ------------------
  |  Branch (1267:26): [True: 0, False: 52.0M]
  ------------------
 1268|  52.0M|    unsigned digit = static_cast<unsigned>(value & ((1u << base_bits) - 1));
 1269|  52.0M|    *--out = static_cast<Char>(base_bits < 4 ? static_cast<char>('0' + digit)
  ------------------
  |  Branch (1269:32): [True: 0, False: 52.0M]
  ------------------
 1270|  52.0M|                                             : digits[digit]);
 1271|  52.0M|  } while ((value >>= base_bits) != 0);
  ------------------
  |  Branch (1271:12): [True: 17.9M, False: 34.0M]
  ------------------
 1272|  34.0M|  return out;
 1273|  34.0M|}
_ZN3fmt3v126detail15write_codepointILm4EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|  43.7k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  43.7k|  *out++ = static_cast<Char>('\\');
 1781|  43.7k|  *out++ = static_cast<Char>(prefix);
 1782|  43.7k|  Char buf[width];
 1783|  43.7k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  43.7k|  format_base2e(4, buf, cp, width);
 1785|  43.7k|  return copy<Char>(buf, buf + width, out);
 1786|  43.7k|}
_ZN3fmt3v126detail15write_codepointILm8EcNS0_14basic_appenderIcEEEET1_S5_cj:
 1779|  33.0k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  33.0k|  *out++ = static_cast<Char>('\\');
 1781|  33.0k|  *out++ = static_cast<Char>(prefix);
 1782|  33.0k|  Char buf[width];
 1783|  33.0k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  33.0k|  format_base2e(4, buf, cp, width);
 1785|  33.0k|  return copy<Char>(buf, buf + width, out);
 1786|  33.0k|}
_ZN3fmt3v126detail13base_iteratorINS0_14basic_appenderIcEEEET_S5_S5_:
  550|  35.2k|constexpr auto base_iterator(Iterator, Iterator it) -> Iterator {
  551|  35.2k|  return it;
  552|  35.2k|}
_ZNK3fmt3v126detail14digit_groupingIcE16count_separatorsEi:
 1901|  5.66k|  auto count_separators(int num_digits) const -> int {
 1902|  5.66k|    int count = 0;
 1903|  5.66k|    auto state = initial_state();
 1904|  5.66k|    while (num_digits > next(state)) ++count;
  ------------------
  |  Branch (1904:12): [True: 0, False: 5.66k]
  ------------------
 1905|  5.66k|    return count;
 1906|  5.66k|  }
_ZNK3fmt3v126detail14digit_groupingIcE13initial_stateEv:
 1877|  11.3k|  auto initial_state() const -> next_state { return {grouping_.begin(), 0}; }
_ZNK3fmt3v126detail14digit_groupingIcE4nextERNS3_10next_stateE:
 1880|  11.3k|  auto next(next_state& state) const -> int {
 1881|  11.3k|    if (thousands_sep_.empty()) return max_value<int>();
  ------------------
  |  Branch (1881:9): [True: 11.3k, False: 0]
  ------------------
 1882|      0|    if (state.group == grouping_.end()) return state.pos += grouping_.back();
  ------------------
  |  Branch (1882:9): [True: 0, False: 0]
  ------------------
 1883|      0|    if (*state.group <= 0 || *state.group == max_value<char>())
  ------------------
  |  Branch (1883:9): [True: 0, False: 0]
  |  Branch (1883:30): [True: 0, False: 0]
  ------------------
 1884|      0|      return max_value<int>();
 1885|      0|    state.pos += *state.group++;
 1886|      0|    return state.pos;
 1887|      0|  }
_ZN3fmt3v126detail9max_valueIiEET_v:
  427|  11.8k|template <typename T> constexpr auto max_value() -> T {
  428|  11.8k|  return (std::numeric_limits<T>::max)();
  429|  11.8k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIS5_mcEET_S7_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEEUlS5_E_EESD_SD_SB_mmOT2_:
 1688|  5.66k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  5.66k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  5.66k|                "");
 1691|  5.66k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  5.66k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 1.39k, False: 4.26k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  5.66k|  auto* shifts =
 1696|  5.66k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [Folded, False: 5.66k]
  ------------------
 1697|  5.66k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  5.66k|  size_t right_padding = padding - left_padding;
 1699|  5.66k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  5.66k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 972, False: 4.69k]
  ------------------
 1701|  5.66k|  it = f(it);
 1702|  5.66k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 425, False: 5.23k]
  ------------------
 1703|  5.66k|  return base_iterator(out, it);
 1704|  5.66k|}
_ZZN3fmt3v126detail9write_intINS0_14basic_appenderIcEEmcEET_S5_T0_jRKNS0_12format_specsERKNS1_14digit_groupingIT1_EEENKUlS4_E_clES4_:
 1979|  5.66k|      out, specs, size, size, [&](reserve_iterator<OutputIt> it) {
 1980|  8.72k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (1980:46): [True: 3.06k, False: 5.66k]
  ------------------
 1981|  3.06k|          *it++ = static_cast<Char>(p & 0xff);
 1982|  5.66k|        return grouping.apply(it, string_view(buffer.data(), buffer.size()));
 1983|  5.66k|      });
_ZNK3fmt3v126detail14digit_groupingIcE5applyINS0_14basic_appenderIcEEcEET_S7_NS0_17basic_string_viewIT0_EE:
 1910|  5.66k|  auto apply(Out out, basic_string_view<C> digits) const -> Out {
 1911|  5.66k|    auto num_digits = static_cast<int>(digits.size());
 1912|  5.66k|    auto separators = basic_memory_buffer<int>();
 1913|  5.66k|    separators.push_back(0);
 1914|  5.66k|    auto state = initial_state();
 1915|  5.66k|    while (int i = next(state)) {
  ------------------
  |  Branch (1915:16): [True: 5.66k, False: 0]
  ------------------
 1916|  5.66k|      if (i >= num_digits) break;
  ------------------
  |  Branch (1916:11): [True: 5.66k, False: 0]
  ------------------
 1917|      0|      separators.push_back(i);
 1918|      0|    }
 1919|  5.66k|    for (int i = 0, sep_index = static_cast<int>(separators.size() - 1);
 1920|   154k|         i < num_digits; ++i) {
  ------------------
  |  Branch (1920:10): [True: 148k, False: 5.66k]
  ------------------
 1921|   148k|      if (num_digits - i == separators[sep_index]) {
  ------------------
  |  Branch (1921:11): [True: 0, False: 148k]
  ------------------
 1922|      0|        out = copy<Char>(thousands_sep_.data(),
 1923|      0|                         thousands_sep_.data() + thousands_sep_.size(), out);
 1924|      0|        --sep_index;
 1925|      0|      }
 1926|   148k|      *out++ = static_cast<Char>(digits[to_unsigned(i)]);
 1927|   148k|    }
 1928|  5.66k|    return out;
 1929|  5.66k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEEC2ERKS4_:
  840|  5.66k|      : detail::buffer<T>(grow), alloc_(alloc) {
  841|  5.66k|    this->set(store_, SIZE);
  842|  5.66k|    if (detail::is_constant_evaluated()) detail::fill_n(store_, SIZE, T());
  ------------------
  |  Branch (842:9): [Folded, False: 5.66k]
  ------------------
  843|  5.66k|  }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEED2Ev:
  844|  5.66k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIiLm500ENS0_6detail9allocatorIiEEE10deallocateEv:
  805|  5.66k|  FMT_CONSTEXPR20 void deallocate() {
  806|  5.66k|    T* data = this->data();
  807|  5.66k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 0, False: 5.66k]
  ------------------
  808|  5.66k|  }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEED2Ev:
  844|  6.14k|  FMT_CONSTEXPR20 ~basic_memory_buffer() { deallocate(); }
_ZN3fmt3v1219basic_memory_bufferIcLm500ENS0_6detail9allocatorIcEEE10deallocateEv:
  805|  6.14k|  FMT_CONSTEXPR20 void deallocate() {
  806|  6.14k|    T* data = this->data();
  807|  6.14k|    if (data != store_) alloc_.deallocate(data, this->capacity());
  ------------------
  |  Branch (807:9): [True: 0, False: 6.14k]
  ------------------
  808|  6.14k|  }
_ZN3fmt3v126detail14digit_groupingIcEC2ENSt3__112basic_stringIcNS4_11char_traitsIcEENS4_9allocatorIcEEEESA_:
 1897|  6.14k|      : grouping_(std::move(grouping)), thousands_sep_(std::move(sep)) {}
_ZN3fmt3v126detail10loc_writerIcEclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEbS7_:
 2027|  6.14k|  auto operator()(T value) -> bool {
 2028|  6.14k|    auto arg = make_write_int_arg(value, specs.sign());
 2029|  6.14k|    write_int(out, static_cast<uint64_or_128_t<T>>(arg.abs_value), arg.prefix,
 2030|  6.14k|              specs, digit_grouping<Char>(grouping, sep));
 2031|  6.14k|    return true;
 2032|  6.14k|  }
_ZN3fmt3v126detail18make_write_int_argIyEENS1_13write_int_argINSt3__111conditionalIXaalecl8num_bitsIT_EELi32EntLi0EEjNS5_IXlecl8num_bitsIS6_EELi64EEmoE4typeEE4typeEEES6_NS0_4signE:
 2006|  16.0k|    -> write_int_arg<uint32_or_64_or_128_t<T>> {
 2007|  16.0k|  auto prefix = 0u;
 2008|  16.0k|  auto abs_value = static_cast<uint32_or_64_or_128_t<T>>(value);
 2009|  16.0k|  if (is_negative(value)) {
  ------------------
  |  Branch (2009:7): [True: 0, False: 16.0k]
  ------------------
 2010|      0|    prefix = 0x01000000 | '-';
 2011|      0|    abs_value = 0 - abs_value;
 2012|  16.0k|  } else {
 2013|  16.0k|    constexpr unsigned prefixes[4] = {0, 0, 0x1000000u | '+', 0x1000000u | ' '};
 2014|  16.0k|    prefix = prefixes[static_cast<int>(s)];
 2015|  16.0k|  }
 2016|  16.0k|  return {abs_value, prefix};
 2017|  16.0k|}
_ZN3fmt3v126detail12size_paddingC2EijRKNS0_12format_specsE:
 2047|  4.01k|      : size((prefix >> 24) + to_unsigned(num_digits)), padding(0) {
 2048|  4.01k|    if (specs.align() == align::numeric) {
  ------------------
  |  Branch (2048:9): [True: 1.20k, False: 2.81k]
  ------------------
 2049|  1.20k|      auto width = to_unsigned(specs.width);
 2050|  1.20k|      if (width > size) {
  ------------------
  |  Branch (2050:11): [True: 323, False: 879]
  ------------------
 2051|    323|        padding = width - size;
 2052|    323|        size = width;
 2053|    323|      }
 2054|  2.81k|    } else if (specs.precision > num_digits) {
  ------------------
  |  Branch (2054:16): [True: 0, False: 2.81k]
  ------------------
 2055|      0|      size = (prefix >> 24) + to_unsigned(specs.precision);
 2056|      0|      padding = to_unsigned(specs.precision - num_digits);
 2057|      0|    }
 2058|  4.01k|  }
_ZN3fmt3v126detail6fill_nINS0_14basic_appenderIcEEjcEET_S5_T0_RKT1_:
  558|  4.01k|    -> OutputIt {
  559|  98.7M|  for (Size i = 0; i < count; ++i) *out++ = value;
  ------------------
  |  Branch (559:20): [True: 98.7M, False: 4.01k]
  ------------------
  560|  4.01k|  return out;
  561|  4.01k|}
_ZN3fmt3v126detail13copy_noinlineIcPKcNS0_14basic_appenderIcEEEET1_T0_S8_S7_:
  573|  52.4k|                                              OutputIt out) -> OutputIt {
  574|  52.4k|  return copy<OutChar>(begin, end, out);
  575|  52.4k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 3583|  1.84k|    -> OutputIt {
 3584|  1.84k|  return copy_noinline<Char>(value.begin(), value.end(), out);
 3585|  1.84k|}
_ZN3fmt3v126detail21default_arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3660|  1.84k|  void operator()(T value) {
 3661|  1.84k|    write<Char>(out, value);
 3662|  1.84k|  }
_ZN3fmt3v126detail21default_arg_formatterIcEclENS0_9monostateE:
 3657|      4|  void operator()(monostate) { report_error("argument not found"); }
_ZN3fmt3v126detail14format_handlerIcE7on_textEPKcS5_:
 3764|  50.5k|  void on_text(const Char* begin, const Char* end) {
 3765|  50.5k|    copy_noinline<Char>(begin, end, ctx.out());
 3766|  50.5k|  }
_ZN3fmt3v126detail14format_handlerIcE20on_replacement_fieldEiPKc:
 3780|  4.94k|  FMT_INLINE void on_replacement_field(int id, const Char*) {
 3781|  4.94k|    ctx.arg(id).visit(default_arg_formatter<Char>{ctx.out()});
 3782|  4.94k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEv:
 3768|    179|  FMT_CONSTEXPR auto on_arg_id() -> int { return parse_ctx.next_arg_id(); }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idEi:
 3769|  42.8k|  FMT_CONSTEXPR auto on_arg_id(int id) -> int {
 3770|  42.8k|    parse_ctx.check_arg_id(id);
 3771|  42.8k|    return id;
 3772|  42.8k|  }
_ZN3fmt3v126detail14format_handlerIcE9on_arg_idENS0_17basic_string_viewIcEE:
 3773|     15|  FMT_CONSTEXPR auto on_arg_id(basic_string_view<Char> id) -> int {
 3774|     15|    parse_ctx.check_arg_id(id);
 3775|     15|    int arg_id = ctx.arg_id(id);
 3776|     15|    if (arg_id < 0) report_error("argument not found");
  ------------------
  |  Branch (3776:9): [True: 15, False: 0]
  ------------------
 3777|     15|    return arg_id;
 3778|     15|  }
_ZN3fmt3v126detail14format_handlerIcE15on_format_specsEiPKcS5_:
 3785|  38.0k|      -> const Char* {
 3786|  38.0k|    auto arg = ctx.arg(id);
 3787|  38.0k|    if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3787:9): [True: 26, False: 38.0k]
  ------------------
 3788|       |    // Not using a visitor for custom types gives better codegen.
 3789|  38.0k|    if (arg.format_custom(begin, parse_ctx, ctx)) return parse_ctx.begin();
  ------------------
  |  Branch (3789:9): [True: 0, False: 38.0k]
  ------------------
 3790|       |
 3791|  38.0k|    auto specs = dynamic_format_specs<Char>();
 3792|  38.0k|    begin = parse_format_specs(begin, end, specs, parse_ctx, arg.type());
 3793|  38.0k|    if (specs.dynamic()) {
  ------------------
  |  Branch (3793:9): [True: 531, False: 37.5k]
  ------------------
 3794|    531|      handle_dynamic_spec(specs.dynamic_width(), specs.width, specs.width_ref,
 3795|    531|                          ctx);
 3796|    531|      handle_dynamic_spec(specs.dynamic_precision(), specs.precision,
 3797|    531|                          specs.precision_ref, ctx);
 3798|    531|    }
 3799|       |
 3800|  38.0k|    arg.visit(arg_formatter<Char>{ctx.out(), specs, ctx.locale()});
 3801|  38.0k|    return begin;
 3802|  38.0k|  }
_ZN3fmt3v126detail19handle_dynamic_specINS0_7contextEEEvNS0_11arg_id_kindERiRKNS1_7arg_refINT_9char_typeEEERS7_:
 3714|  1.06k|    const arg_ref<typename Context::char_type>& ref, Context& ctx) {
 3715|  1.06k|  if (kind == arg_id_kind::none) return;
  ------------------
  |  Branch (3715:7): [True: 529, False: 531]
  ------------------
 3716|    531|  auto arg =
 3717|    531|      kind == arg_id_kind::index ? ctx.arg(ref.index) : ctx.arg(ref.name);
  ------------------
  |  Branch (3717:7): [True: 531, False: 0]
  ------------------
 3718|    531|  if (!arg) report_error("argument not found");
  ------------------
  |  Branch (3718:7): [True: 0, False: 531]
  ------------------
 3719|    531|  unsigned long long result = arg.visit(dynamic_spec_getter());
 3720|    531|  if (result > to_unsigned(max_value<int>()))
  ------------------
  |  Branch (3720:7): [True: 2, False: 529]
  ------------------
 3721|      2|    report_error("width/precision is out of range");
 3722|    531|  value = static_cast<int>(result);
 3723|    531|}
_ZN3fmt3v126detail19dynamic_spec_getterclIyTnNSt3__19enable_ifIXsr10is_integerIT_EE5valueEiE4typeELi0EEEyS6_:
 3700|    531|  FMT_CONSTEXPR auto operator()(T value) -> unsigned long long {
 3701|    531|    return is_negative(value) ? ~0ull : static_cast<unsigned long long>(value);
  ------------------
  |  Branch (3701:12): [True: 0, False: 531]
  ------------------
 3702|    531|  }
_ZN3fmt3v126detail18write_int_noinlineIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2129|  9.93k|    -> OutputIt {
 2130|  9.93k|  return write_int<Char>(out, arg, specs);
 2131|  9.93k|}
_ZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsE:
 2063|  9.93k|                                        const format_specs& specs) -> OutputIt {
 2064|  9.93k|  static_assert(std::is_same<T, uint32_or_64_or_128_t<T>>::value, "");
 2065|       |
 2066|  9.93k|  constexpr size_t buffer_size = num_bits<T>();
 2067|  9.93k|  char buffer[buffer_size];
 2068|  9.93k|  if (is_constant_evaluated()) fill_n(buffer, buffer_size, '\0');
  ------------------
  |  Branch (2068:7): [Folded, False: 9.93k]
  ------------------
 2069|  9.93k|  const char* begin = nullptr;
 2070|  9.93k|  const char* end = buffer + buffer_size;
 2071|       |
 2072|  9.93k|  auto abs_value = arg.abs_value;
 2073|  9.93k|  auto prefix = arg.prefix;
 2074|  9.93k|  switch (specs.type()) {
 2075|      0|  default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  395|      0|    ((condition) /* void() fails with -Winvalid-constexpr on clang 4.0.1 */ \
  |  |  ------------------
  |  |  |  Branch (395:6): [Folded, False: 0]
  |  |  ------------------
  |  |  396|      0|         ? (void)0                                                          \
  |  |  397|      0|         : ::fmt::assert_fail(__FILE__, __LINE__, (message)))
  ------------------
                default: FMT_ASSERT(false, ""); FMT_FALLTHROUGH;
  ------------------
  |  |  181|      0|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (2075:3): [True: 0, False: 9.93k]
  ------------------
 2076|  3.31k|  case presentation_type::none:
  ------------------
  |  Branch (2076:3): [True: 3.31k, False: 6.62k]
  ------------------
 2077|  4.09k|  case presentation_type::dec:
  ------------------
  |  Branch (2077:3): [True: 783, False: 9.15k]
  ------------------
 2078|  4.09k|    begin = do_format_decimal(buffer, abs_value, buffer_size);
 2079|  4.09k|    break;
 2080|  1.24k|  case presentation_type::hex:
  ------------------
  |  Branch (2080:3): [True: 1.24k, False: 8.69k]
  ------------------
 2081|  1.24k|    begin = do_format_base2e(4, buffer, abs_value, buffer_size, specs.upper());
 2082|  1.24k|    if (specs.alt())
  ------------------
  |  Branch (2082:9): [True: 325, False: 917]
  ------------------
 2083|    325|      prefix_append(prefix, unsigned(specs.upper() ? 'X' : 'x') << 8 | '0');
  ------------------
  |  Branch (2083:38): [True: 10, False: 315]
  ------------------
 2084|  1.24k|    break;
 2085|  2.11k|  case presentation_type::oct: {
  ------------------
  |  Branch (2085:3): [True: 2.11k, False: 7.82k]
  ------------------
 2086|  2.11k|    begin = do_format_base2e(3, buffer, abs_value, buffer_size);
 2087|       |    // Octal prefix '0' is counted as a digit, so only add it if precision
 2088|       |    // is not greater than the number of digits.
 2089|  2.11k|    auto num_digits = end - begin;
 2090|  2.11k|    if (specs.alt() && specs.precision <= num_digits && abs_value != 0)
  ------------------
  |  Branch (2090:9): [True: 1.40k, False: 703]
  |  Branch (2090:24): [True: 1.40k, False: 0]
  |  Branch (2090:57): [True: 815, False: 592]
  ------------------
 2091|    815|      prefix_append(prefix, '0');
 2092|  2.11k|    break;
 2093|  3.31k|  }
 2094|  1.85k|  case presentation_type::bin:
  ------------------
  |  Branch (2094:3): [True: 1.85k, False: 8.08k]
  ------------------
 2095|  1.85k|    begin = do_format_base2e(1, buffer, abs_value, buffer_size);
 2096|  1.85k|    if (specs.alt())
  ------------------
  |  Branch (2096:9): [True: 1.23k, False: 612]
  ------------------
 2097|  1.23k|      prefix_append(prefix, unsigned(specs.upper() ? 'B' : 'b') << 8 | '0');
  ------------------
  |  Branch (2097:38): [True: 177, False: 1.06k]
  ------------------
 2098|  1.85k|    break;
 2099|    640|  case presentation_type::chr:
  ------------------
  |  Branch (2099:3): [True: 640, False: 9.29k]
  ------------------
 2100|    640|    return write_char<Char>(out, static_cast<Char>(abs_value), specs);
 2101|  9.93k|  }
 2102|       |
 2103|       |  // Write an integer in the format
 2104|       |  //   <left-padding><prefix><numeric-padding><digits><right-padding>
 2105|       |  // prefix contains chars in three lower bytes and the size in the fourth byte.
 2106|  9.29k|  int num_digits = static_cast<int>(end - begin);
 2107|       |  // Slightly faster check for specs.width == 0 && specs.precision == -1.
 2108|  9.29k|  if ((specs.width | (specs.precision + 1)) == 0) {
  ------------------
  |  Branch (2108:7): [True: 5.27k, False: 4.01k]
  ------------------
 2109|  5.27k|    auto it = reserve(out, to_unsigned(num_digits) + (prefix >> 24));
 2110|  6.93k|    for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2110:42): [True: 1.66k, False: 5.27k]
  ------------------
 2111|  1.66k|      *it++ = static_cast<Char>(p & 0xff);
 2112|  5.27k|    return base_iterator(out, copy<Char>(begin, end, it));
 2113|  5.27k|  }
 2114|  4.01k|  auto sp = size_padding(num_digits, prefix, specs);
 2115|  4.01k|  unsigned padding = sp.padding;
 2116|  4.01k|  return write_padded<Char, align::right>(
 2117|  4.01k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2118|  4.01k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
 2119|  4.01k|          *it++ = static_cast<Char>(p & 0xff);
 2120|  4.01k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2121|  4.01k|        return copy<Char>(begin, end, it);
 2122|  4.01k|      });
 2123|  9.29k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEEZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mOT2_:
 1709|  4.01k|                            size_t size, F&& f) -> OutputIt {
 1710|  4.01k|  return write_padded<Char, default_align>(out, specs, size, size, f);
 1711|  4.01k|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE2ENS0_14basic_appenderIcEERZNS1_9write_intIcS5_mEET0_S7_NS1_13write_int_argIT1_EERKNS0_12format_specsEEUlS5_E_EES9_S9_SD_mmOT2_:
 1688|  4.01k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  4.01k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  4.01k|                "");
 1691|  4.01k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  4.01k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 1.52k, False: 2.49k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  4.01k|  auto* shifts =
 1696|  4.01k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [Folded, False: 4.01k]
  ------------------
 1697|  4.01k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  4.01k|  size_t right_padding = padding - left_padding;
 1699|  4.01k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  4.01k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 1.37k, False: 2.64k]
  ------------------
 1701|  4.01k|  it = f(it);
 1702|  4.01k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 160, False: 3.85k]
  ------------------
 1703|  4.01k|  return base_iterator(out, it);
 1704|  4.01k|}
_ZZN3fmt3v126detail9write_intIcNS0_14basic_appenderIcEEmEET0_S5_NS1_13write_int_argIT1_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2117|  4.01k|      out, specs, sp.size, [=](reserve_iterator<OutputIt> it) {
 2118|  6.29k|        for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)
  ------------------
  |  Branch (2118:46): [True: 2.28k, False: 4.01k]
  ------------------
 2119|  2.28k|          *it++ = static_cast<Char>(p & 0xff);
 2120|  4.01k|        it = detail::fill_n(it, padding, static_cast<Char>('0'));
 2121|  4.01k|        return copy<Char>(begin, end, it);
 2122|  4.01k|      });
_ZN3fmt3v126detail13arg_formatterIcEclIyTnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS7_:
 3683|  16.0k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3684|  16.0k|    detail::write<Char>(out, value, specs, locale);
 3685|  16.0k|  }
_ZN3fmt3v126detail5writeIcyTnNSt3__19enable_ifIXaaaasr11is_integralIT0_EE5valuentsr3std7is_sameIS5_bEE5valuentsr3std7is_sameIS5_T_EE5valueEiE4typeELi0EEENS0_14basic_appenderIS6_EESA_S5_RKNS0_12format_specsENS0_10locale_refE:
 2139|  16.0k|    -> basic_appender<Char> {
 2140|  16.0k|  if (specs.localized() && write_loc(out, value, specs, loc)) return out;
  ------------------
  |  Branch (2140:7): [True: 6.14k, False: 9.93k]
  |  Branch (2140:28): [True: 6.14k, False: 0]
  ------------------
 2141|  9.93k|  return write_int_noinline<Char>(out, make_write_int_arg(value, specs.sign()),
 2142|  9.93k|                                  specs);
 2143|  16.0k|}
_ZN3fmt3v129loc_valueC2IyTnNSt3__19enable_ifIXntsr6detail11is_float128IT_EE5valueEiE4typeELi0EEES5_:
 3880|  6.14k|  loc_value(T value) : value_(value) {}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EERKNS0_12format_specsENS0_10locale_refE:
 2278|  21.8k|                         const format_specs& specs, locale_ref) -> OutputIt {
 2279|  21.8k|  return write<Char>(out, s, specs);
 2280|  21.8k|}
_ZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsE:
 2172|  21.8k|                         const format_specs& specs) -> OutputIt {
 2173|  21.8k|  bool is_debug = specs.type() == presentation_type::debug;
 2174|  21.8k|  if (specs.precision < 0 && specs.width == 0) {
  ------------------
  |  Branch (2174:7): [True: 13.1k, False: 8.69k]
  |  Branch (2174:30): [True: 2.74k, False: 10.4k]
  ------------------
 2175|  2.74k|    auto&& it = reserve(out, s.size());
 2176|  2.74k|    return is_debug ? write_escaped_string(it, s) : copy<char>(s, it);
  ------------------
  |  Branch (2176:12): [True: 2.20k, False: 539]
  ------------------
 2177|  2.74k|  }
 2178|       |
 2179|  19.1k|  size_t display_width_limit =
 2180|  19.1k|      specs.precision < 0 ? SIZE_MAX : to_unsigned(specs.precision);
  ------------------
  |  Branch (2180:7): [True: 10.4k, False: 8.69k]
  ------------------
 2181|  19.1k|  size_t display_width =
 2182|  19.1k|      !is_debug || specs.precision == 0 ? 0 : 1;  // Account for opening '"'.
  ------------------
  |  Branch (2182:7): [True: 4.27k, False: 14.8k]
  |  Branch (2182:20): [True: 290, False: 14.5k]
  ------------------
 2183|  19.1k|  size_t size = !is_debug || specs.precision == 0 ? 0 : 1;
  ------------------
  |  Branch (2183:17): [True: 4.27k, False: 14.8k]
  |  Branch (2183:30): [True: 290, False: 14.5k]
  ------------------
 2184|  19.1k|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2185|  19.1k|    if (is_debug && needs_escape(cp)) {
 2186|  19.1k|      counting_buffer<char> buf;
 2187|  19.1k|      write_escaped_cp(basic_appender<char>(buf),
 2188|  19.1k|                       find_escape_result<char>{sv.begin(), sv.end(), cp});
 2189|       |      // We're reinterpreting bytes as display width. That's okay
 2190|       |      // because write_escaped_cp() only writes ASCII characters.
 2191|  19.1k|      size_t cp_width = buf.count();
 2192|  19.1k|      if (display_width + cp_width <= display_width_limit) {
 2193|  19.1k|        display_width += cp_width;
 2194|  19.1k|        size += cp_width;
 2195|       |        // If this is the end of the string, account for closing '"'.
 2196|  19.1k|        if (display_width < display_width_limit && sv.end() == s.end()) {
 2197|  19.1k|          ++display_width;
 2198|  19.1k|          ++size;
 2199|  19.1k|        }
 2200|  19.1k|        return true;
 2201|  19.1k|      }
 2202|       |
 2203|  19.1k|      size += display_width_limit - display_width;
 2204|  19.1k|      display_width = display_width_limit;
 2205|  19.1k|      return false;
 2206|  19.1k|    }
 2207|       |
 2208|  19.1k|    size_t cp_width = display_width_of(cp);
 2209|  19.1k|    if (cp_width + display_width <= display_width_limit) {
 2210|  19.1k|      display_width += cp_width;
 2211|  19.1k|      size += sv.size();
 2212|       |      // If this is the end of the string, account for closing '"'.
 2213|  19.1k|      if (is_debug && display_width < display_width_limit &&
 2214|  19.1k|          sv.end() == s.end()) {
 2215|  19.1k|        ++display_width;
 2216|  19.1k|        ++size;
 2217|  19.1k|      }
 2218|  19.1k|      return true;
 2219|  19.1k|    }
 2220|       |
 2221|  19.1k|    return false;
 2222|  19.1k|  });
 2223|       |
 2224|  19.1k|  struct bounded_output_iterator {
 2225|  19.1k|    reserve_iterator<OutputIt> underlying_iterator;
 2226|  19.1k|    size_t bound;
 2227|       |
 2228|  19.1k|    FMT_CONSTEXPR auto operator*() -> bounded_output_iterator& { return *this; }
 2229|  19.1k|    FMT_CONSTEXPR auto operator++() -> bounded_output_iterator& {
 2230|  19.1k|      return *this;
 2231|  19.1k|    }
 2232|  19.1k|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2233|  19.1k|      return *this;
 2234|  19.1k|    }
 2235|  19.1k|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2236|  19.1k|      if (bound > 0) {
 2237|  19.1k|        *underlying_iterator++ = c;
 2238|  19.1k|        --bound;
 2239|  19.1k|      }
 2240|  19.1k|      return *this;
 2241|  19.1k|    }
 2242|  19.1k|  };
 2243|       |
 2244|  19.1k|  return write_padded<char>(
 2245|  19.1k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2246|  19.1k|        return is_debug
 2247|  19.1k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2248|  19.1k|                         .underlying_iterator
 2249|  19.1k|                   : copy<char>(s.data(), s.data() + size, it);
 2250|  19.1k|      });
 2251|  21.8k|}
_ZN3fmt3v126detail20write_escaped_stringIcNS0_14basic_appenderIcEEEET0_S5_NS0_17basic_string_viewIT_EE:
 1827|  2.20k|    -> OutputIt {
 1828|  2.20k|  *out++ = static_cast<Char>('"');
 1829|  2.20k|  auto begin = str.begin(), end = str.end();
 1830|  15.6M|  do {
 1831|  15.6M|    auto escape = find_escape(begin, end);
 1832|  15.6M|    out = copy<Char>(begin, escape.begin, out);
 1833|  15.6M|    begin = escape.end;
 1834|  15.6M|    if (!begin) break;
  ------------------
  |  Branch (1834:9): [True: 640, False: 15.6M]
  ------------------
 1835|  15.6M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1836|  15.6M|  } while (begin != end);
  ------------------
  |  Branch (1836:12): [True: 15.6M, False: 1.56k]
  ------------------
 1837|  2.20k|  *out++ = static_cast<Char>('"');
 1838|  2.20k|  return out;
 1839|  2.20k|}
_ZN3fmt3v126detail11find_escapeEPKcS3_:
 1764|  30.9M|    -> find_escape_result<char> {
 1765|  30.9M|  if (const_check(!use_utf8)) return find_escape<char>(begin, end);
  ------------------
  |  Branch (1765:7): [Folded, False: 30.9M]
  ------------------
 1766|  30.9M|  auto result = find_escape_result<char>{end, nullptr, 0};
 1767|  30.9M|  for_each_codepoint(string_view(begin, to_unsigned(end - begin)),
 1768|  30.9M|                     [&](uint32_t cp, string_view sv) {
 1769|  30.9M|                       if (needs_escape(cp)) {
 1770|  30.9M|                         result = {sv.begin(), sv.end(), cp};
 1771|  30.9M|                         return false;
 1772|  30.9M|                       }
 1773|  30.9M|                       return true;
 1774|  30.9M|                     });
 1775|  30.9M|  return result;
 1776|  30.9M|}
_ZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_:
  636|  30.9M|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  637|  30.9M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|  30.9M|    auto cp = uint32_t();
  639|  30.9M|    auto error = 0;
  640|  30.9M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|  30.9M|    bool result = f(error ? invalid_code_point : cp,
  642|  30.9M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  643|  30.9M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  644|  30.9M|  };
  645|       |
  646|  30.9M|  auto p = s.data();
  647|  30.9M|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  648|  30.9M|  if (s.size() >= block_size) {
  ------------------
  |  Branch (648:7): [True: 30.9M, False: 34.4k]
  ------------------
  649|  47.0M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (649:52): [True: 47.0M, False: 10.5k]
  ------------------
  650|  47.0M|      p = decode(p, p);
  651|  47.0M|      if (!p) return;
  ------------------
  |  Branch (651:11): [True: 30.9M, False: 16.1M]
  ------------------
  652|  47.0M|    }
  653|  30.9M|  }
  654|  44.9k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  655|  44.9k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (655:7): [True: 971, False: 43.9k]
  ------------------
  656|       |
  657|       |  // Suppress bogus -Wstringop-overflow.
  658|  43.9k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  43.9k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 43.9k]
  |  |  ------------------
  ------------------
  659|  43.9k|  char buf[2 * block_size - 1] = {};
  660|  43.9k|  copy<char>(p, p + num_chars_left, buf);
  661|  43.9k|  const char* buf_ptr = buf;
  662|  47.9k|  do {
  663|  47.9k|    auto end = decode(buf_ptr, p);
  664|  47.9k|    if (!end) return;
  ------------------
  |  Branch (664:9): [True: 39.1k, False: 8.81k]
  ------------------
  665|  8.81k|    p += end - buf_ptr;
  666|  8.81k|    buf_ptr = end;
  667|  8.81k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (667:12): [True: 3.98k, False: 4.82k]
  ------------------
  668|  43.9k|}
_ZZN3fmt3v126detail18for_each_codepointIZNS1_11find_escapeEPKcS4_EUljNS0_17basic_string_viewIcEEE_EEvS6_T_ENKUlS4_S4_E_clES4_S4_:
  637|  47.1M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|  47.1M|    auto cp = uint32_t();
  639|  47.1M|    auto error = 0;
  640|  47.1M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|  47.1M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (641:21): [True: 9.18M, False: 37.9M]
  ------------------
  642|  47.1M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (642:38): [True: 9.18M, False: 37.9M]
  ------------------
  643|  47.1M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (643:12): [True: 16.1M, False: 30.9M]
  |  Branch (643:22): [True: 0, False: 16.1M]
  ------------------
  644|  47.1M|  };
_ZN3fmt3v126detail11utf8_decodeEPKcPjPi:
  595|  70.4M|    -> const char* {
  596|  70.4M|  constexpr int masks[] = {0x00, 0x7f, 0x1f, 0x0f, 0x07};
  597|  70.4M|  constexpr uint32_t mins[] = {4194304, 0, 128, 2048, 65536};
  598|  70.4M|  constexpr int shiftc[] = {0, 18, 12, 6, 0};
  599|  70.4M|  constexpr int shifte[] = {0, 6, 4, 2, 0};
  600|       |
  601|  70.4M|  int len = "\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\1\0\0\0\0\0\0\0\0\2\2\2\2\3\3\4"
  602|  70.4M|      [static_cast<unsigned char>(*s) >> 3];
  603|       |  // Compute the pointer to the next character early so that the next
  604|       |  // iteration can start working on the next character. Neither Clang
  605|       |  // nor GCC figure out this reordering on their own.
  606|  70.4M|  const char* next = s + len + !len;
  607|       |
  608|  70.4M|  using uchar = unsigned char;
  609|       |
  610|       |  // Assume a four-byte character and load four bytes. Unused bits are
  611|       |  // shifted out.
  612|  70.4M|  *c = uint32_t(uchar(s[0]) & masks[len]) << 18;
  613|  70.4M|  *c |= uint32_t(uchar(s[1]) & 0x3f) << 12;
  614|  70.4M|  *c |= uint32_t(uchar(s[2]) & 0x3f) << 6;
  615|  70.4M|  *c |= uint32_t(uchar(s[3]) & 0x3f) << 0;
  616|  70.4M|  *c >>= shiftc[len];
  617|       |
  618|       |  // Accumulate the various error conditions.
  619|  70.4M|  *e = (*c < mins[len]) << 6;       // non-canonical encoding
  620|  70.4M|  *e |= ((*c >> 11) == 0x1b) << 7;  // surrogate half?
  621|  70.4M|  *e |= (*c > 0x10FFFF) << 8;       // out of range?
  622|  70.4M|  *e |= (uchar(s[1]) & 0xc0) >> 2;
  623|  70.4M|  *e |= (uchar(s[2]) & 0xc0) >> 4;
  624|  70.4M|  *e |= uchar(s[3]) >> 6;
  625|  70.4M|  *e ^= 0x2a;  // top two bits of each tail byte correct?
  626|  70.4M|  *e >>= shifte[len];
  627|       |
  628|  70.4M|  return next;
  629|  70.4M|}
_ZZN3fmt3v126detail11find_escapeEPKcS3_ENKUljNS0_17basic_string_viewIcEEE_clEjS5_:
 1768|  47.1M|                     [&](uint32_t cp, string_view sv) {
 1769|  47.1M|                       if (needs_escape(cp)) {
  ------------------
  |  Branch (1769:28): [True: 30.9M, False: 16.1M]
  ------------------
 1770|  30.9M|                         result = {sv.begin(), sv.end(), cp};
 1771|  30.9M|                         return false;
 1772|  30.9M|                       }
 1773|  16.1M|                       return true;
 1774|  47.1M|                     });
_ZN3fmt3v126detail18for_each_codepointIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEEUljNSC_IcEEE_EEvSH_S8_:
  636|  19.1k|FMT_CONSTEXPR void for_each_codepoint(string_view s, F f) {
  637|  19.1k|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|  19.1k|    auto cp = uint32_t();
  639|  19.1k|    auto error = 0;
  640|  19.1k|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|  19.1k|    bool result = f(error ? invalid_code_point : cp,
  642|  19.1k|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  643|  19.1k|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  644|  19.1k|  };
  645|       |
  646|  19.1k|  auto p = s.data();
  647|  19.1k|  const size_t block_size = 4;  // utf8_decode always reads blocks of 4 chars.
  648|  19.1k|  if (s.size() >= block_size) {
  ------------------
  |  Branch (648:7): [True: 16.0k, False: 3.13k]
  ------------------
  649|  23.3M|    for (auto end = p + s.size() - block_size + 1; p < end;) {
  ------------------
  |  Branch (649:52): [True: 23.3M, False: 7.92k]
  ------------------
  650|  23.3M|      p = decode(p, p);
  651|  23.3M|      if (!p) return;
  ------------------
  |  Branch (651:11): [True: 8.08k, False: 23.3M]
  ------------------
  652|  23.3M|    }
  653|  16.0k|  }
  654|  11.0k|  auto num_chars_left = to_unsigned(s.data() + s.size() - p);
  655|  11.0k|  if (num_chars_left == 0) return;
  ------------------
  |  Branch (655:7): [True: 2.85k, False: 8.20k]
  ------------------
  656|       |
  657|       |  // Suppress bogus -Wstringop-overflow.
  658|  8.20k|  if (FMT_GCC_VERSION) num_chars_left &= 3;
  ------------------
  |  |   35|  8.20k|#  define FMT_GCC_VERSION 0
  |  |  ------------------
  |  |  |  Branch (35:27): [Folded, False: 8.20k]
  |  |  ------------------
  ------------------
  659|  8.20k|  char buf[2 * block_size - 1] = {};
  660|  8.20k|  copy<char>(p, p + num_chars_left, buf);
  661|  8.20k|  const char* buf_ptr = buf;
  662|  24.0k|  do {
  663|  24.0k|    auto end = decode(buf_ptr, p);
  664|  24.0k|    if (!end) return;
  ------------------
  |  Branch (664:9): [True: 131, False: 23.9k]
  ------------------
  665|  23.9k|    p += end - buf_ptr;
  666|  23.9k|    buf_ptr = end;
  667|  23.9k|  } while (buf_ptr < buf + num_chars_left);
  ------------------
  |  Branch (667:12): [True: 15.8k, False: 8.07k]
  ------------------
  668|  8.20k|}
_ZZN3fmt3v126detail18for_each_codepointIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEEUljNSC_IcEEE_EEvSH_S8_ENKUlPKcSK_E_clESK_SK_:
  637|  23.3M|  auto decode = [f](const char* buf_ptr, const char* ptr) {
  638|  23.3M|    auto cp = uint32_t();
  639|  23.3M|    auto error = 0;
  640|  23.3M|    auto end = utf8_decode(buf_ptr, &cp, &error);
  641|  23.3M|    bool result = f(error ? invalid_code_point : cp,
  ------------------
  |  Branch (641:21): [True: 5.58M, False: 17.7M]
  ------------------
  642|  23.3M|                    string_view(ptr, error ? 1 : to_unsigned(end - buf_ptr)));
  ------------------
  |  Branch (642:38): [True: 5.58M, False: 17.7M]
  ------------------
  643|  23.3M|    return result ? (error ? buf_ptr + 1 : end) : nullptr;
  ------------------
  |  Branch (643:12): [True: 23.3M, False: 8.21k]
  |  Branch (643:22): [True: 5.57M, False: 17.7M]
  ------------------
  644|  23.3M|  };
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUljNSB_IcEEE_clEjSG_:
 2184|  23.3M|  for_each_codepoint(s, [&](uint32_t cp, string_view sv) {
 2185|  23.3M|    if (is_debug && needs_escape(cp)) {
  ------------------
  |  Branch (2185:9): [True: 21.6M, False: 1.66M]
  |  Branch (2185:21): [True: 14.1M, False: 7.47M]
  ------------------
 2186|  14.1M|      counting_buffer<char> buf;
 2187|  14.1M|      write_escaped_cp(basic_appender<char>(buf),
 2188|  14.1M|                       find_escape_result<char>{sv.begin(), sv.end(), cp});
 2189|       |      // We're reinterpreting bytes as display width. That's okay
 2190|       |      // because write_escaped_cp() only writes ASCII characters.
 2191|  14.1M|      size_t cp_width = buf.count();
 2192|  14.1M|      if (display_width + cp_width <= display_width_limit) {
  ------------------
  |  Branch (2192:11): [True: 14.1M, False: 7.45k]
  ------------------
 2193|  14.1M|        display_width += cp_width;
 2194|  14.1M|        size += cp_width;
 2195|       |        // If this is the end of the string, account for closing '"'.
 2196|  14.1M|        if (display_width < display_width_limit && sv.end() == s.end()) {
  ------------------
  |  Branch (2196:13): [True: 14.1M, False: 3.59k]
  |  Branch (2196:52): [True: 1.89k, False: 14.1M]
  ------------------
 2197|  1.89k|          ++display_width;
 2198|  1.89k|          ++size;
 2199|  1.89k|        }
 2200|  14.1M|        return true;
 2201|  14.1M|      }
 2202|       |
 2203|  7.45k|      size += display_width_limit - display_width;
 2204|  7.45k|      display_width = display_width_limit;
 2205|  7.45k|      return false;
 2206|  14.1M|    }
 2207|       |
 2208|  9.14M|    size_t cp_width = display_width_of(cp);
 2209|  9.14M|    if (cp_width + display_width <= display_width_limit) {
  ------------------
  |  Branch (2209:9): [True: 9.14M, False: 766]
  ------------------
 2210|  9.14M|      display_width += cp_width;
 2211|  9.14M|      size += sv.size();
 2212|       |      // If this is the end of the string, account for closing '"'.
 2213|  9.14M|      if (is_debug && display_width < display_width_limit &&
  ------------------
  |  Branch (2213:11): [True: 7.47M, False: 1.66M]
  |  Branch (2213:23): [True: 7.47M, False: 325]
  ------------------
 2214|  7.47M|          sv.end() == s.end()) {
  ------------------
  |  Branch (2214:11): [True: 4.42k, False: 7.46M]
  ------------------
 2215|  4.42k|        ++display_width;
 2216|  4.42k|        ++size;
 2217|  4.42k|      }
 2218|  9.14M|      return true;
 2219|  9.14M|    }
 2220|       |
 2221|    766|    return false;
 2222|  9.14M|  });
_ZN3fmt3v126detail16display_width_ofEj:
  670|  9.14M|FMT_CONSTEXPR inline auto display_width_of(uint32_t cp) noexcept -> size_t {
  671|  9.14M|  return to_unsigned(
  672|  9.14M|      1 + (cp >= 0x1100 &&
  ------------------
  |  Branch (672:12): [True: 600k, False: 8.54M]
  ------------------
  673|   600k|           (cp <= 0x115f ||  // Hangul Jamo init. consonants
  ------------------
  |  Branch (673:13): [True: 473, False: 599k]
  ------------------
  674|   599k|            cp == 0x2329 ||  // LEFT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (674:13): [True: 0, False: 599k]
  ------------------
  675|   599k|            cp == 0x232a ||  // RIGHT-POINTING ANGLE BRACKET
  ------------------
  |  Branch (675:13): [True: 366, False: 599k]
  ------------------
  676|       |            // CJK ... Yi except IDEOGRAPHIC HALF FILL SPACE:
  677|   599k|            (cp >= 0x2e80 && cp <= 0xa4cf && cp != 0x303f) ||
  ------------------
  |  Branch (677:14): [True: 598k, False: 1.33k]
  |  Branch (677:30): [True: 1.50k, False: 596k]
  |  Branch (677:46): [True: 803, False: 697]
  ------------------
  678|   598k|            (cp >= 0xac00 && cp <= 0xd7a3) ||    // Hangul Syllables
  ------------------
  |  Branch (678:14): [True: 596k, False: 2.04k]
  |  Branch (678:30): [True: 1.09k, False: 595k]
  ------------------
  679|   597k|            (cp >= 0xf900 && cp <= 0xfaff) ||    // CJK Compatibility Ideographs
  ------------------
  |  Branch (679:14): [True: 592k, False: 4.78k]
  |  Branch (679:30): [True: 510, False: 592k]
  ------------------
  680|   597k|            (cp >= 0xfe10 && cp <= 0xfe19) ||    // Vertical Forms
  ------------------
  |  Branch (680:14): [True: 592k, False: 4.80k]
  |  Branch (680:30): [True: 1.17k, False: 591k]
  ------------------
  681|   595k|            (cp >= 0xfe30 && cp <= 0xfe6f) ||    // CJK Compatibility Forms
  ------------------
  |  Branch (681:14): [True: 591k, False: 4.80k]
  |  Branch (681:30): [True: 250, False: 590k]
  ------------------
  682|   595k|            (cp >= 0xff00 && cp <= 0xff60) ||    // Fullwidth Forms
  ------------------
  |  Branch (682:14): [True: 589k, False: 6.06k]
  |  Branch (682:30): [True: 523, False: 589k]
  ------------------
  683|   595k|            (cp >= 0xffe0 && cp <= 0xffe6) ||    // Fullwidth Forms
  ------------------
  |  Branch (683:14): [True: 589k, False: 6.10k]
  |  Branch (683:30): [True: 296, False: 588k]
  ------------------
  684|   594k|            (cp >= 0x20000 && cp <= 0x2fffd) ||  // CJK
  ------------------
  |  Branch (684:14): [True: 584k, False: 10.5k]
  |  Branch (684:31): [True: 1.46k, False: 582k]
  ------------------
  685|   593k|            (cp >= 0x30000 && cp <= 0x3fffd) ||
  ------------------
  |  Branch (685:14): [True: 582k, False: 10.5k]
  |  Branch (685:31): [True: 512, False: 582k]
  ------------------
  686|       |            // Miscellaneous Symbols and Pictographs + Emoticons:
  687|   592k|            (cp >= 0x1f300 && cp <= 0x1f64f) ||
  ------------------
  |  Branch (687:14): [True: 584k, False: 8.67k]
  |  Branch (687:31): [True: 221, False: 583k]
  ------------------
  688|       |            // Supplemental Symbols and Pictographs:
  689|   592k|            (cp >= 0x1f900 && cp <= 0x1f9ff))));
  ------------------
  |  Branch (689:14): [True: 583k, False: 8.68k]
  |  Branch (689:31): [True: 1.42k, False: 582k]
  ------------------
  690|  9.14M|}
_ZN3fmt3v126detail12write_paddedIcLNS0_5alignE1ENS0_14basic_appenderIcEEZNS1_5writeIcS5_TnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SC_NS0_17basic_string_viewIS9_EERKNS0_12format_specsEEUlS5_E_EET1_SJ_SH_mmOT2_:
 1688|  19.1k|                                size_t size, size_t width, F&& f) -> OutputIt {
 1689|  19.1k|  static_assert(default_align == align::left || default_align == align::right,
 1690|  19.1k|                "");
 1691|  19.1k|  unsigned spec_width = to_unsigned(specs.width);
 1692|  19.1k|  size_t padding = spec_width > width ? spec_width - width : 0;
  ------------------
  |  Branch (1692:20): [True: 2.49k, False: 16.6k]
  ------------------
 1693|       |  // Shifts are encoded as string literals because static constexpr is not
 1694|       |  // supported in constexpr functions.
 1695|  19.1k|  auto* shifts =
 1696|  19.1k|      default_align == align::left ? "\x1f\x1f\x00\x01" : "\x00\x1f\x00\x01";
  ------------------
  |  Branch (1696:7): [True: 19.1k, Folded]
  ------------------
 1697|  19.1k|  size_t left_padding = padding >> shifts[static_cast<int>(specs.align())];
 1698|  19.1k|  size_t right_padding = padding - left_padding;
 1699|  19.1k|  auto it = reserve(out, size + padding * specs.fill_size());
 1700|  19.1k|  if (left_padding != 0) it = fill<Char>(it, left_padding, specs);
  ------------------
  |  Branch (1700:7): [True: 1.63k, False: 17.5k]
  ------------------
 1701|  19.1k|  it = f(it);
 1702|  19.1k|  if (right_padding != 0) it = fill<Char>(it, right_padding, specs);
  ------------------
  |  Branch (1702:7): [True: 2.49k, False: 16.6k]
  ------------------
 1703|  19.1k|  return base_iterator(out, it);
 1704|  19.1k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEENKUlS4_E_clES4_:
 2245|  19.1k|      out, specs, size, display_width, [=](reserve_iterator<OutputIt> it) {
 2246|  19.1k|        return is_debug
  ------------------
  |  Branch (2246:16): [True: 14.8k, False: 4.27k]
  ------------------
 2247|  19.1k|                   ? write_escaped_string(bounded_output_iterator{it, size}, s)
 2248|  14.8k|                         .underlying_iterator
 2249|  19.1k|                   : copy<char>(s.data(), s.data() + size, it);
 2250|  19.1k|      });
_ZN3fmt3v126detail20write_escaped_stringIcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEESB_SB_SD_:
 1827|  14.8k|    -> OutputIt {
 1828|  14.8k|  *out++ = static_cast<Char>('"');
 1829|  14.8k|  auto begin = str.begin(), end = str.end();
 1830|  15.3M|  do {
 1831|  15.3M|    auto escape = find_escape(begin, end);
 1832|  15.3M|    out = copy<Char>(begin, escape.begin, out);
 1833|  15.3M|    begin = escape.end;
 1834|  15.3M|    if (!begin) break;
  ------------------
  |  Branch (1834:9): [True: 5.15k, False: 15.3M]
  ------------------
 1835|  15.3M|    out = write_escaped_cp<OutputIt, Char>(out, escape);
 1836|  15.3M|  } while (begin != end);
  ------------------
  |  Branch (1836:12): [True: 15.2M, False: 9.71k]
  ------------------
 1837|  14.8k|  *out++ = static_cast<Char>('"');
 1838|  14.8k|  return out;
 1839|  14.8k|}
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratorppEi:
 2232|  65.9M|    FMT_CONSTEXPR auto operator++(int) -> bounded_output_iterator& {
 2233|  65.9M|      return *this;
 2234|  65.9M|    }
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratordeEv:
 2228|  65.9M|    FMT_CONSTEXPR auto operator*() -> bounded_output_iterator& { return *this; }
_ZZN3fmt3v126detail5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SA_NS0_17basic_string_viewIS7_EERKNS0_12format_specsEEN23bounded_output_iteratoraSEc:
 2235|  65.9M|    FMT_CONSTEXPR auto operator=(char c) -> bounded_output_iterator& {
 2236|  65.9M|      if (bound > 0) {
  ------------------
  |  Branch (2236:11): [True: 59.4M, False: 6.53M]
  ------------------
 2237|  59.4M|        *underlying_iterator++ = c;
 2238|  59.4M|        --bound;
 2239|  59.4M|      }
 2240|  65.9M|      return *this;
 2241|  65.9M|    }
_ZN3fmt3v126detail16write_escaped_cpIZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorcEES8_S8_RKNS1_18find_escape_resultISB_EE:
 1790|  15.3M|    -> OutputIt {
 1791|  15.3M|  auto c = static_cast<Char>(escape.cp);
 1792|  15.3M|  switch (escape.cp) {
 1793|   111k|  case '\n':
  ------------------
  |  Branch (1793:3): [True: 111k, False: 15.1M]
  ------------------
 1794|   111k|    *out++ = static_cast<Char>('\\');
 1795|   111k|    c = static_cast<Char>('n');
 1796|   111k|    break;
 1797|  97.4k|  case '\r':
  ------------------
  |  Branch (1797:3): [True: 97.4k, False: 15.2M]
  ------------------
 1798|  97.4k|    *out++ = static_cast<Char>('\\');
 1799|  97.4k|    c = static_cast<Char>('r');
 1800|  97.4k|    break;
 1801|  2.28M|  case '\t':
  ------------------
  |  Branch (1801:3): [True: 2.28M, False: 13.0M]
  ------------------
 1802|  2.28M|    *out++ = static_cast<Char>('\\');
 1803|  2.28M|    c = static_cast<Char>('t');
 1804|  2.28M|    break;
 1805|  21.8k|  case '"':  FMT_FALLTHROUGH;
  ------------------
  |  |  181|  21.8k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1805:3): [True: 21.8k, False: 15.2M]
  ------------------
 1806|  21.8k|  case '\'': FMT_FALLTHROUGH;
  ------------------
  |  |  181|  21.8k|#  define FMT_FALLTHROUGH [[fallthrough]]
  ------------------
  |  Branch (1806:3): [True: 0, False: 15.3M]
  ------------------
 1807|  23.9k|  case '\\': *out++ = static_cast<Char>('\\'); break;
  ------------------
  |  Branch (1807:3): [True: 2.14k, False: 15.3M]
  ------------------
 1808|  12.7M|  default:
  ------------------
  |  Branch (1808:3): [True: 12.7M, False: 2.52M]
  ------------------
 1809|  12.7M|    if (escape.cp < 0x100) return write_codepoint<2, Char>(out, 'x', escape.cp);
  ------------------
  |  Branch (1809:9): [True: 7.13M, False: 5.64M]
  ------------------
 1810|  5.64M|    if (escape.cp < 0x10000)
  ------------------
  |  Branch (1810:9): [True: 60.6k, False: 5.58M]
  ------------------
 1811|  60.6k|      return write_codepoint<4, Char>(out, 'u', escape.cp);
 1812|  5.58M|    if (escape.cp < 0x110000)
  ------------------
  |  Branch (1812:9): [True: 51.9k, False: 5.52M]
  ------------------
 1813|  51.9k|      return write_codepoint<8, Char>(out, 'U', escape.cp);
 1814|  5.52M|    for (Char escape_char : basic_string_view<Char>(
  ------------------
  |  Branch (1814:27): [True: 5.52M, False: 5.52M]
  ------------------
 1815|  5.52M|             escape.begin, to_unsigned(escape.end - escape.begin))) {
 1816|  5.52M|      out = write_codepoint<2, Char>(out, 'x',
 1817|  5.52M|                                     static_cast<uint32_t>(escape_char) & 0xFF);
 1818|  5.52M|    }
 1819|  5.52M|    return out;
 1820|  15.3M|  }
 1821|  2.52M|  *out++ = c;
 1822|  2.52M|  return out;
 1823|  15.3M|}
_ZN3fmt3v126detail15write_codepointILm2EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|  12.6M|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  12.6M|  *out++ = static_cast<Char>('\\');
 1781|  12.6M|  *out++ = static_cast<Char>(prefix);
 1782|  12.6M|  Char buf[width];
 1783|  12.6M|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  12.6M|  format_base2e(4, buf, cp, width);
 1785|  12.6M|  return copy<Char>(buf, buf + width, out);
 1786|  12.6M|}
_ZN3fmt3v126detail15write_codepointILm4EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|  60.6k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  60.6k|  *out++ = static_cast<Char>('\\');
 1781|  60.6k|  *out++ = static_cast<Char>(prefix);
 1782|  60.6k|  Char buf[width];
 1783|  60.6k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  60.6k|  format_base2e(4, buf, cp, width);
 1785|  60.6k|  return copy<Char>(buf, buf + width, out);
 1786|  60.6k|}
_ZN3fmt3v126detail15write_codepointILm8EcZNS1_5writeIcNS0_14basic_appenderIcEETnNSt3__19enable_ifIXsr3std7is_sameIT_cEE5valueEiE4typeELi0EEET0_SB_NS0_17basic_string_viewIS8_EERKNS0_12format_specsEE23bounded_output_iteratorEET1_SI_cj:
 1779|  51.9k|auto write_codepoint(OutputIt out, char prefix, uint32_t cp) -> OutputIt {
 1780|  51.9k|  *out++ = static_cast<Char>('\\');
 1781|  51.9k|  *out++ = static_cast<Char>(prefix);
 1782|  51.9k|  Char buf[width];
 1783|  51.9k|  fill_n(buf, width, static_cast<Char>('0'));
 1784|  51.9k|  format_base2e(4, buf, cp, width);
 1785|  51.9k|  return copy<Char>(buf, buf + width, out);
 1786|  51.9k|}
_ZN3fmt3v126detail13arg_formatterIcEclINS0_17basic_string_viewIcEETnNSt3__19enable_ifIXsr10is_builtinIT_EE5valueEiE4typeELi0EEEvS9_:
 3683|  21.8k|  FMT_CONSTEXPR FMT_INLINE void operator()(T value) {
 3684|  21.8k|    detail::write<Char>(out, value, specs, locale);
 3685|  21.8k|  }
_ZN3fmt3v126detail14format_handlerIcE8on_errorEPKc:
 3804|    211|  FMT_NORETURN void on_error(const char* message) { report_error(message); }
_ZN3fmt3v1210format_intC2Ej:
 4196|  31.6k|      : str_(format_unsigned(value)) {}
_ZN3fmt3v1219basic_memory_bufferIcLm250ENS0_6detail9allocatorIcEEE6resizeEm:
  907|  2.27k|  FMT_CONSTEXPR void resize(size_t count) { this->try_resize(count); }
_ZN3fmt3v1210format_intC2Em:
 4198|   318k|      : str_(format_unsigned(value)) {}
_ZN3fmt3v1210format_int15format_unsignedImEEPcT_:
 4174|   334k|  FMT_CONSTEXPR20 auto format_unsigned(UInt value) -> char* {
 4175|   334k|    auto n = static_cast<detail::uint32_or_64_or_128_t<UInt>>(value);
 4176|   334k|    return detail::do_format_decimal(buffer_, n, buffer_size - 1);
 4177|   334k|  }
_ZN3fmt3v1210format_intC2Ex:
 4194|  16.3k|      : str_(format_signed(value)) {}
_ZN3fmt3v1210format_int13format_signedIxEEPcT_:
 4180|  16.3k|  FMT_CONSTEXPR20 auto format_signed(Int value) -> char* {
 4181|  16.3k|    auto abs_value = static_cast<detail::uint32_or_64_or_128_t<Int>>(value);
 4182|  16.3k|    bool negative = value < 0;
 4183|  16.3k|    if (negative) abs_value = 0 - abs_value;
  ------------------
  |  Branch (4183:9): [True: 0, False: 16.3k]
  ------------------
 4184|  16.3k|    auto begin = format_unsigned(abs_value);
 4185|  16.3k|    if (negative) *--begin = '-';
  ------------------
  |  Branch (4185:9): [True: 0, False: 16.3k]
  ------------------
 4186|  16.3k|    return begin;
 4187|  16.3k|  }

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

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

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

_ZN6spdlog3mdc11get_contextEv:
   46|   118k|    static mdc_map_t &get_context() {
   47|   118k|        static thread_local mdc_map_t context;
   48|   118k|        return context;
   49|   118k|    }

_ZNK6spdlog17pattern_formatter5cloneEv:
  974|  2.93k|SPDLOG_INLINE std::unique_ptr<formatter> pattern_formatter::clone() const {
  975|  2.93k|    custom_flags cloned_custom_formatters;
  976|  2.93k|    for (auto &it : custom_handlers_) {
  ------------------
  |  Branch (976:19): [True: 2.93k, False: 2.93k]
  ------------------
  977|  2.93k|        cloned_custom_formatters[it.first] = it.second->clone();
  978|  2.93k|    }
  979|  2.93k|    auto cloned = details::make_unique<pattern_formatter>(pattern_, pattern_time_type_, eol_,
  980|  2.93k|                                                          std::move(cloned_custom_formatters));
  981|  2.93k|    cloned->need_localtime(need_localtime_);
  982|  2.93k|#if defined(__GNUC__) && __GNUC__ < 5
  983|  2.93k|    return std::move(cloned);
  984|       |#else
  985|       |    return cloned;
  986|       |#endif
  987|  2.93k|}
_ZN6spdlog17pattern_formatter14need_localtimeEb:
 1012|  2.93k|SPDLOG_INLINE void pattern_formatter::need_localtime(bool need) { need_localtime_ = need; }
_ZN6spdlog17pattern_formatterC2ENS_17pattern_time_typeENSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE:
  965|  1.47k|    : pattern_("%+"),
  966|  1.47k|      eol_(std::move(eol)),
  967|  1.47k|      pattern_time_type_(time_type),
  968|  1.47k|      need_localtime_(true),
  969|  1.47k|      last_log_secs_(0) {
  970|  1.47k|    std::memset(&cached_tm_, 0, sizeof(cached_tm_));
  971|  1.47k|    formatters_.push_back(details::make_unique<details::full_formatter>(details::padding_info{}));
  972|  1.47k|}
_ZN6spdlog7details14full_formatterC2ENS0_12padding_infoE:
  853|   349k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13mdc_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  813|   354k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13mdc_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  815|  1.54k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  816|  1.54k|        const auto &mdc_map = mdc::get_context();
  817|  1.54k|        if (mdc_map.empty()) {
  ------------------
  |  Branch (817:13): [True: 1.54k, False: 0]
  ------------------
  818|  1.54k|            ScopedPadder p(0, padinfo_, dest);
  819|  1.54k|            return;
  820|  1.54k|        } else {
  821|      0|            format_mdc(mdc_map, dest);
  822|      0|        }
  823|  1.54k|    }
_ZN6spdlog7details18null_scoped_padderC2EmRKNS0_12padding_infoERN3fmt3v1219basic_memory_bufferIcLm250ENS6_6detail9allocatorIcEEEE:
   95|   719k|                       memory_buf_t & /*dest*/) {}
_ZN6spdlog7details14full_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  855|   115k|    void format(const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override {
  856|   115k|        using std::chrono::duration_cast;
  857|   115k|        using std::chrono::milliseconds;
  858|   115k|        using std::chrono::seconds;
  859|       |
  860|       |        // cache the date/time part for the next second.
  861|   115k|        auto duration = msg.time.time_since_epoch();
  862|   115k|        auto secs = duration_cast<seconds>(duration);
  863|       |
  864|   115k|        if (cache_timestamp_ != secs || cached_datetime_.size() == 0) {
  ------------------
  |  Branch (864:13): [True: 115k, False: 0]
  |  Branch (864:41): [True: 0, False: 0]
  ------------------
  865|   115k|            cached_datetime_.clear();
  866|   115k|            cached_datetime_.push_back('[');
  867|   115k|            fmt_helper::append_int(tm_time.tm_year + 1900, cached_datetime_);
  868|   115k|            cached_datetime_.push_back('-');
  869|       |
  870|   115k|            fmt_helper::pad2(tm_time.tm_mon + 1, cached_datetime_);
  871|   115k|            cached_datetime_.push_back('-');
  872|       |
  873|   115k|            fmt_helper::pad2(tm_time.tm_mday, cached_datetime_);
  874|   115k|            cached_datetime_.push_back(' ');
  875|       |
  876|   115k|            fmt_helper::pad2(tm_time.tm_hour, cached_datetime_);
  877|   115k|            cached_datetime_.push_back(':');
  878|       |
  879|   115k|            fmt_helper::pad2(tm_time.tm_min, cached_datetime_);
  880|   115k|            cached_datetime_.push_back(':');
  881|       |
  882|   115k|            fmt_helper::pad2(tm_time.tm_sec, cached_datetime_);
  883|   115k|            cached_datetime_.push_back('.');
  884|       |
  885|   115k|            cache_timestamp_ = secs;
  886|   115k|        }
  887|   115k|        dest.append(cached_datetime_.begin(), cached_datetime_.end());
  888|       |
  889|   115k|        auto millis = fmt_helper::time_fraction<milliseconds>(msg.time);
  890|   115k|        fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
  891|   115k|        dest.push_back(']');
  892|   115k|        dest.push_back(' ');
  893|       |
  894|       |        // append logger name if exists
  895|   115k|        if (msg.logger_name.size() > 0) {
  ------------------
  |  Branch (895:13): [True: 115k, False: 0]
  ------------------
  896|   115k|            dest.push_back('[');
  897|   115k|            fmt_helper::append_string_view(msg.logger_name, dest);
  898|   115k|            dest.push_back(']');
  899|   115k|            dest.push_back(' ');
  900|   115k|        }
  901|       |
  902|   115k|        dest.push_back('[');
  903|       |        // wrap the level name with color
  904|   115k|        msg.color_range_start = dest.size();
  905|       |        // fmt_helper::append_string_view(level::to_c_str(msg.level), dest);
  906|   115k|        fmt_helper::append_string_view(level::to_string_view(msg.level), dest);
  907|   115k|        msg.color_range_end = dest.size();
  908|   115k|        dest.push_back(']');
  909|   115k|        dest.push_back(' ');
  910|       |
  911|       |        // add source location if present
  912|   115k|        if (!msg.source.empty()) {
  ------------------
  |  Branch (912:13): [True: 0, False: 115k]
  ------------------
  913|      0|            dest.push_back('[');
  914|      0|            const char *filename =
  915|      0|                details::short_filename_formatter<details::null_scoped_padder>::basename(
  916|      0|                    msg.source.filename);
  917|      0|            fmt_helper::append_string_view(filename, dest);
  918|      0|            dest.push_back(':');
  919|      0|            fmt_helper::append_int(msg.source.line, dest);
  920|      0|            dest.push_back(']');
  921|      0|            dest.push_back(' ');
  922|      0|        }
  923|       |
  924|   115k|#ifndef SPDLOG_NO_TLS
  925|       |        // add mdc if present
  926|   115k|        auto &mdc_map = mdc::get_context();
  927|   115k|        if (!mdc_map.empty()) {
  ------------------
  |  Branch (927:13): [True: 0, False: 115k]
  ------------------
  928|      0|            dest.push_back('[');
  929|      0|            mdc_formatter_.format_mdc(mdc_map, dest);
  930|      0|            dest.push_back(']');
  931|      0|            dest.push_back(' ');
  932|      0|        }
  933|   115k|#endif
  934|       |        // fmt_helper::append_string_view(msg.msg(), dest);
  935|   115k|        fmt_helper::append_string_view(msg.payload, dest);
  936|   115k|    }
_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:
  953|  2.93k|    : pattern_(std::move(pattern)),
  954|  2.93k|      eol_(std::move(eol)),
  955|  2.93k|      pattern_time_type_(time_type),
  956|  2.93k|      need_localtime_(false),
  957|  2.93k|      last_log_secs_(0),
  958|  2.93k|      custom_handlers_(std::move(custom_user_flags)) {
  959|  2.93k|    std::memset(&cached_tm_, 0, sizeof(cached_tm_));
  960|  2.93k|    compile_pattern_(pattern_);
  961|  2.93k|}
_ZN6spdlog17pattern_formatter16compile_pattern_ERKNSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1315|  4.40k|SPDLOG_INLINE void pattern_formatter::compile_pattern_(const std::string &pattern) {
 1316|  4.40k|    auto end = pattern.end();
 1317|  4.40k|    std::unique_ptr<details::aggregate_formatter> user_chars;
 1318|  4.40k|    formatters_.clear();
 1319|  79.6M|    for (auto it = pattern.begin(); it != end; ++it) {
  ------------------
  |  Branch (1319:37): [True: 79.6M, False: 3.66k]
  ------------------
 1320|  79.6M|        if (*it == '%') {
  ------------------
  |  Branch (1320:13): [True: 5.27M, False: 74.3M]
  ------------------
 1321|  5.27M|            if (user_chars)  // append user chars found so far
  ------------------
  |  Branch (1321:17): [True: 1.55M, False: 3.72M]
  ------------------
 1322|  1.55M|            {
 1323|  1.55M|                formatters_.push_back(std::move(user_chars));
 1324|  1.55M|            }
 1325|       |
 1326|  5.27M|            auto padding = handle_padspec_(++it, end);
 1327|       |
 1328|  5.27M|            if (it != end) {
  ------------------
  |  Branch (1328:17): [True: 5.27M, False: 738]
  ------------------
 1329|  5.27M|                if (padding.enabled()) {
  ------------------
  |  Branch (1329:21): [True: 1.49M, False: 3.77M]
  ------------------
 1330|  1.49M|                    handle_flag_<details::scoped_padder>(*it, padding);
 1331|  3.77M|                } else {
 1332|  3.77M|                    handle_flag_<details::null_scoped_padder>(*it, padding);
 1333|  3.77M|                }
 1334|  5.27M|            } else {
 1335|    738|                break;
 1336|    738|            }
 1337|  5.27M|        } else  // chars not following the % sign should be displayed as is
 1338|  74.3M|        {
 1339|  74.3M|            if (!user_chars) {
  ------------------
  |  Branch (1339:17): [True: 1.55M, False: 72.8M]
  ------------------
 1340|  1.55M|                user_chars = details::make_unique<details::aggregate_formatter>();
 1341|  1.55M|            }
 1342|  74.3M|            user_chars->add_ch(*it);
 1343|  74.3M|        }
 1344|  79.6M|    }
 1345|  4.40k|    if (user_chars)  // append raw chars found so far
  ------------------
  |  Branch (1345:9): [True: 2.04k, False: 2.35k]
  ------------------
 1346|  2.04k|    {
 1347|  2.04k|        formatters_.push_back(std::move(user_chars));
 1348|  2.04k|    }
 1349|  4.40k|}
_ZN6spdlog17pattern_formatter15handle_padspec_ERNSt3__111__wrap_iterIPKcEES5_:
 1271|  5.27M|    std::string::const_iterator &it, std::string::const_iterator end) {
 1272|  5.27M|    using details::padding_info;
 1273|  5.27M|    using details::scoped_padder;
 1274|  5.27M|    const size_t max_width = 64;
 1275|  5.27M|    if (it == end) {
  ------------------
  |  Branch (1275:9): [True: 501, False: 5.27M]
  ------------------
 1276|    501|        return padding_info{};
 1277|    501|    }
 1278|       |
 1279|  5.27M|    padding_info::pad_side side;
 1280|  5.27M|    switch (*it) {
 1281|  44.3k|        case '-':
  ------------------
  |  Branch (1281:9): [True: 44.3k, False: 5.22M]
  ------------------
 1282|  44.3k|            side = padding_info::pad_side::right;
 1283|  44.3k|            ++it;
 1284|  44.3k|            break;
 1285|  38.1k|        case '=':
  ------------------
  |  Branch (1285:9): [True: 38.1k, False: 5.23M]
  ------------------
 1286|  38.1k|            side = padding_info::pad_side::center;
 1287|  38.1k|            ++it;
 1288|  38.1k|            break;
 1289|  5.18M|        default:
  ------------------
  |  Branch (1289:9): [True: 5.18M, False: 82.4k]
  ------------------
 1290|  5.18M|            side = details::padding_info::pad_side::left;
 1291|  5.18M|            break;
 1292|  5.27M|    }
 1293|       |
 1294|  5.27M|    if (it == end || !std::isdigit(static_cast<unsigned char>(*it))) {
  ------------------
  |  Branch (1294:9): [True: 9, False: 5.27M]
  |  Branch (1294:22): [True: 3.77M, False: 1.49M]
  ------------------
 1295|  3.77M|        return padding_info{};  // no padding if no digit found here
 1296|  3.77M|    }
 1297|       |
 1298|  1.49M|    auto width = static_cast<size_t>(*it) - '0';
 1299|  1.85M|    for (++it; it != end && std::isdigit(static_cast<unsigned char>(*it)); ++it) {
  ------------------
  |  Branch (1299:16): [True: 1.85M, False: 222]
  |  Branch (1299:29): [True: 358k, False: 1.49M]
  ------------------
 1300|   358k|        auto digit = static_cast<size_t>(*it) - '0';
 1301|   358k|        width = width * 10 + digit;
 1302|   358k|    }
 1303|       |
 1304|       |    // search for the optional truncate marker '!'
 1305|  1.49M|    bool truncate;
 1306|  1.49M|    if (it != end && *it == '!') {
  ------------------
  |  Branch (1306:9): [True: 1.49M, False: 222]
  |  Branch (1306:22): [True: 88.8k, False: 1.40M]
  ------------------
 1307|  88.8k|        truncate = true;
 1308|  88.8k|        ++it;
 1309|  1.40M|    } else {
 1310|  1.40M|        truncate = false;
 1311|  1.40M|    }
 1312|  1.49M|    return details::padding_info{std::min<size_t>(width, max_width), side, truncate};
 1313|  5.27M|}
_ZN6spdlog17pattern_formatter12handle_flag_INS_7details13scoped_padderEEEvcNS2_12padding_infoE:
 1022|  1.49M|SPDLOG_INLINE void pattern_formatter::handle_flag_(char flag, details::padding_info padding) {
 1023|       |    // process custom flags
 1024|  1.49M|    auto it = custom_handlers_.find(flag);
 1025|  1.49M|    if (it != custom_handlers_.end()) {
  ------------------
  |  Branch (1025:9): [True: 11.5k, False: 1.48M]
  ------------------
 1026|  11.5k|        auto custom_handler = it->second->clone();
 1027|  11.5k|        custom_handler->set_padding_info(padding);
 1028|  11.5k|        formatters_.push_back(std::move(custom_handler));
 1029|  11.5k|        return;
 1030|  11.5k|    }
 1031|       |
 1032|       |    // process built-in flags
 1033|  1.48M|    switch (flag) {
 1034|  10.2k|        case ('+'):  // default formatter
  ------------------
  |  Branch (1034:9): [True: 10.2k, False: 1.47M]
  ------------------
 1035|  10.2k|            formatters_.push_back(details::make_unique<details::full_formatter>(padding));
 1036|  10.2k|            need_localtime_ = true;
 1037|  10.2k|            break;
 1038|       |
 1039|  51.4k|        case 'n':  // logger name
  ------------------
  |  Branch (1039:9): [True: 51.4k, False: 1.43M]
  ------------------
 1040|  51.4k|            formatters_.push_back(details::make_unique<details::name_formatter<Padder>>(padding));
 1041|  51.4k|            break;
 1042|       |
 1043|  8.04k|        case 'l':  // level
  ------------------
  |  Branch (1043:9): [True: 8.04k, False: 1.47M]
  ------------------
 1044|  8.04k|            formatters_.push_back(details::make_unique<details::level_formatter<Padder>>(padding));
 1045|  8.04k|            break;
 1046|       |
 1047|  30.6k|        case 'L':  // short level
  ------------------
  |  Branch (1047:9): [True: 30.6k, False: 1.45M]
  ------------------
 1048|  30.6k|            formatters_.push_back(
 1049|  30.6k|                details::make_unique<details::short_level_formatter<Padder>>(padding));
 1050|  30.6k|            break;
 1051|       |
 1052|  6.35k|        case ('t'):  // thread id
  ------------------
  |  Branch (1052:9): [True: 6.35k, False: 1.47M]
  ------------------
 1053|  6.35k|            formatters_.push_back(details::make_unique<details::t_formatter<Padder>>(padding));
 1054|  6.35k|            break;
 1055|       |
 1056|  12.0k|        case ('v'):  // the message text
  ------------------
  |  Branch (1056:9): [True: 12.0k, False: 1.47M]
  ------------------
 1057|  12.0k|            formatters_.push_back(details::make_unique<details::v_formatter<Padder>>(padding));
 1058|  12.0k|            break;
 1059|       |
 1060|  12.8k|        case ('a'):  // weekday
  ------------------
  |  Branch (1060:9): [True: 12.8k, False: 1.47M]
  ------------------
 1061|  12.8k|            formatters_.push_back(details::make_unique<details::a_formatter<Padder>>(padding));
 1062|  12.8k|            need_localtime_ = true;
 1063|  12.8k|            break;
 1064|       |
 1065|  14.3k|        case ('A'):  // short weekday
  ------------------
  |  Branch (1065:9): [True: 14.3k, False: 1.47M]
  ------------------
 1066|  14.3k|            formatters_.push_back(details::make_unique<details::A_formatter<Padder>>(padding));
 1067|  14.3k|            need_localtime_ = true;
 1068|  14.3k|            break;
 1069|       |
 1070|  9.32k|        case ('b'):
  ------------------
  |  Branch (1070:9): [True: 9.32k, False: 1.47M]
  ------------------
 1071|  11.2k|        case ('h'):  // month
  ------------------
  |  Branch (1071:9): [True: 1.92k, False: 1.48M]
  ------------------
 1072|  11.2k|            formatters_.push_back(details::make_unique<details::b_formatter<Padder>>(padding));
 1073|  11.2k|            need_localtime_ = true;
 1074|  11.2k|            break;
 1075|       |
 1076|  36.9k|        case ('B'):  // short month
  ------------------
  |  Branch (1076:9): [True: 36.9k, False: 1.44M]
  ------------------
 1077|  36.9k|            formatters_.push_back(details::make_unique<details::B_formatter<Padder>>(padding));
 1078|  36.9k|            need_localtime_ = true;
 1079|  36.9k|            break;
 1080|       |
 1081|  32.0k|        case ('c'):  // datetime
  ------------------
  |  Branch (1081:9): [True: 32.0k, False: 1.45M]
  ------------------
 1082|  32.0k|            formatters_.push_back(details::make_unique<details::c_formatter<Padder>>(padding));
 1083|  32.0k|            need_localtime_ = true;
 1084|  32.0k|            break;
 1085|       |
 1086|  3.93k|        case ('C'):  // year 2 digits
  ------------------
  |  Branch (1086:9): [True: 3.93k, False: 1.48M]
  ------------------
 1087|  3.93k|            formatters_.push_back(details::make_unique<details::C_formatter<Padder>>(padding));
 1088|  3.93k|            need_localtime_ = true;
 1089|  3.93k|            break;
 1090|       |
 1091|  26.0k|        case ('Y'):  // year 4 digits
  ------------------
  |  Branch (1091:9): [True: 26.0k, False: 1.46M]
  ------------------
 1092|  26.0k|            formatters_.push_back(details::make_unique<details::Y_formatter<Padder>>(padding));
 1093|  26.0k|            need_localtime_ = true;
 1094|  26.0k|            break;
 1095|       |
 1096|  14.5k|        case ('D'):
  ------------------
  |  Branch (1096:9): [True: 14.5k, False: 1.47M]
  ------------------
 1097|  17.8k|        case ('x'):  // datetime MM/DD/YY
  ------------------
  |  Branch (1097:9): [True: 3.26k, False: 1.48M]
  ------------------
 1098|  17.8k|            formatters_.push_back(details::make_unique<details::D_formatter<Padder>>(padding));
 1099|  17.8k|            need_localtime_ = true;
 1100|  17.8k|            break;
 1101|       |
 1102|  19.0k|        case ('m'):  // month 1-12
  ------------------
  |  Branch (1102:9): [True: 19.0k, False: 1.46M]
  ------------------
 1103|  19.0k|            formatters_.push_back(details::make_unique<details::m_formatter<Padder>>(padding));
 1104|  19.0k|            need_localtime_ = true;
 1105|  19.0k|            break;
 1106|       |
 1107|  28.2k|        case ('d'):  // day of month 1-31
  ------------------
  |  Branch (1107:9): [True: 28.2k, False: 1.45M]
  ------------------
 1108|  28.2k|            formatters_.push_back(details::make_unique<details::d_formatter<Padder>>(padding));
 1109|  28.2k|            need_localtime_ = true;
 1110|  28.2k|            break;
 1111|       |
 1112|  21.2k|        case ('H'):  // hours 24
  ------------------
  |  Branch (1112:9): [True: 21.2k, False: 1.46M]
  ------------------
 1113|  21.2k|            formatters_.push_back(details::make_unique<details::H_formatter<Padder>>(padding));
 1114|  21.2k|            need_localtime_ = true;
 1115|  21.2k|            break;
 1116|       |
 1117|  26.8k|        case ('I'):  // hours 12
  ------------------
  |  Branch (1117:9): [True: 26.8k, False: 1.45M]
  ------------------
 1118|  26.8k|            formatters_.push_back(details::make_unique<details::I_formatter<Padder>>(padding));
 1119|  26.8k|            need_localtime_ = true;
 1120|  26.8k|            break;
 1121|       |
 1122|  37.2k|        case ('M'):  // minutes
  ------------------
  |  Branch (1122:9): [True: 37.2k, False: 1.44M]
  ------------------
 1123|  37.2k|            formatters_.push_back(details::make_unique<details::M_formatter<Padder>>(padding));
 1124|  37.2k|            need_localtime_ = true;
 1125|  37.2k|            break;
 1126|       |
 1127|  17.6k|        case ('S'):  // seconds
  ------------------
  |  Branch (1127:9): [True: 17.6k, False: 1.46M]
  ------------------
 1128|  17.6k|            formatters_.push_back(details::make_unique<details::S_formatter<Padder>>(padding));
 1129|  17.6k|            need_localtime_ = true;
 1130|  17.6k|            break;
 1131|       |
 1132|  31.9k|        case ('e'):  // milliseconds
  ------------------
  |  Branch (1132:9): [True: 31.9k, False: 1.45M]
  ------------------
 1133|  31.9k|            formatters_.push_back(details::make_unique<details::e_formatter<Padder>>(padding));
 1134|  31.9k|            break;
 1135|       |
 1136|  19.3k|        case ('f'):  // microseconds
  ------------------
  |  Branch (1136:9): [True: 19.3k, False: 1.46M]
  ------------------
 1137|  19.3k|            formatters_.push_back(details::make_unique<details::f_formatter<Padder>>(padding));
 1138|  19.3k|            break;
 1139|       |
 1140|  20.4k|        case ('F'):  // nanoseconds
  ------------------
  |  Branch (1140:9): [True: 20.4k, False: 1.46M]
  ------------------
 1141|  20.4k|            formatters_.push_back(details::make_unique<details::F_formatter<Padder>>(padding));
 1142|  20.4k|            break;
 1143|       |
 1144|  2.98k|        case ('E'):  // seconds since epoch
  ------------------
  |  Branch (1144:9): [True: 2.98k, False: 1.48M]
  ------------------
 1145|  2.98k|            formatters_.push_back(details::make_unique<details::E_formatter<Padder>>(padding));
 1146|  2.98k|            break;
 1147|       |
 1148|  21.4k|        case ('p'):  // am/pm
  ------------------
  |  Branch (1148:9): [True: 21.4k, False: 1.46M]
  ------------------
 1149|  21.4k|            formatters_.push_back(details::make_unique<details::p_formatter<Padder>>(padding));
 1150|  21.4k|            need_localtime_ = true;
 1151|  21.4k|            break;
 1152|       |
 1153|  6.05k|        case ('r'):  // 12 hour clock 02:55:02 pm
  ------------------
  |  Branch (1153:9): [True: 6.05k, False: 1.48M]
  ------------------
 1154|  6.05k|            formatters_.push_back(details::make_unique<details::r_formatter<Padder>>(padding));
 1155|  6.05k|            need_localtime_ = true;
 1156|  6.05k|            break;
 1157|       |
 1158|  4.56k|        case ('R'):  // 24-hour HH:MM time
  ------------------
  |  Branch (1158:9): [True: 4.56k, False: 1.48M]
  ------------------
 1159|  4.56k|            formatters_.push_back(details::make_unique<details::R_formatter<Padder>>(padding));
 1160|  4.56k|            need_localtime_ = true;
 1161|  4.56k|            break;
 1162|       |
 1163|  49.2k|        case ('T'):
  ------------------
  |  Branch (1163:9): [True: 49.2k, False: 1.43M]
  ------------------
 1164|  53.1k|        case ('X'):  // ISO 8601 time format (HH:MM:SS)
  ------------------
  |  Branch (1164:9): [True: 3.89k, False: 1.48M]
  ------------------
 1165|  53.1k|            formatters_.push_back(details::make_unique<details::T_formatter<Padder>>(padding));
 1166|  53.1k|            need_localtime_ = true;
 1167|  53.1k|            break;
 1168|  27.5k|        case ('z'):  // timezone
  ------------------
  |  Branch (1168:9): [True: 27.5k, False: 1.45M]
  ------------------
 1169|  27.5k|            formatters_.push_back(
 1170|  27.5k|                details::make_unique<details::z_formatter<Padder>>(padding, pattern_time_type_));
 1171|  27.5k|            need_localtime_ = true;
 1172|  27.5k|            break;
 1173|  2.81k|        case ('P'):  // pid
  ------------------
  |  Branch (1173:9): [True: 2.81k, False: 1.48M]
  ------------------
 1174|  2.81k|            formatters_.push_back(details::make_unique<details::pid_formatter<Padder>>(padding));
 1175|  2.81k|            break;
 1176|       |
 1177|  16.7k|        case ('^'):  // color range start
  ------------------
  |  Branch (1177:9): [True: 16.7k, False: 1.46M]
  ------------------
 1178|  16.7k|            formatters_.push_back(details::make_unique<details::color_start_formatter>(padding));
 1179|  16.7k|            break;
 1180|       |
 1181|  16.5k|        case ('$'):  // color range end
  ------------------
  |  Branch (1181:9): [True: 16.5k, False: 1.46M]
  ------------------
 1182|  16.5k|            formatters_.push_back(details::make_unique<details::color_stop_formatter>(padding));
 1183|  16.5k|            break;
 1184|       |
 1185|  11.4k|        case ('@'):  // source location (filename:filenumber)
  ------------------
  |  Branch (1185:9): [True: 11.4k, False: 1.47M]
  ------------------
 1186|  11.4k|            formatters_.push_back(
 1187|  11.4k|                details::make_unique<details::source_location_formatter<Padder>>(padding));
 1188|  11.4k|            break;
 1189|       |
 1190|  2.94k|        case ('s'):  // short source filename - without directory name
  ------------------
  |  Branch (1190:9): [True: 2.94k, False: 1.48M]
  ------------------
 1191|  2.94k|            formatters_.push_back(
 1192|  2.94k|                details::make_unique<details::short_filename_formatter<Padder>>(padding));
 1193|  2.94k|            break;
 1194|       |
 1195|  27.2k|        case ('g'):  // full source filename
  ------------------
  |  Branch (1195:9): [True: 27.2k, False: 1.45M]
  ------------------
 1196|  27.2k|            formatters_.push_back(
 1197|  27.2k|                details::make_unique<details::source_filename_formatter<Padder>>(padding));
 1198|  27.2k|            break;
 1199|       |
 1200|  17.0k|        case ('#'):  // source line number
  ------------------
  |  Branch (1200:9): [True: 17.0k, False: 1.46M]
  ------------------
 1201|  17.0k|            formatters_.push_back(
 1202|  17.0k|                details::make_unique<details::source_linenum_formatter<Padder>>(padding));
 1203|  17.0k|            break;
 1204|       |
 1205|  70.0k|        case ('!'):  // source funcname
  ------------------
  |  Branch (1205:9): [True: 70.0k, False: 1.41M]
  ------------------
 1206|  70.0k|            formatters_.push_back(
 1207|  70.0k|                details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1208|  70.0k|            break;
 1209|       |
 1210|  25.7k|        case ('%'):  // % char
  ------------------
  |  Branch (1210:9): [True: 25.7k, False: 1.46M]
  ------------------
 1211|  25.7k|            formatters_.push_back(details::make_unique<details::ch_formatter>('%'));
 1212|  25.7k|            break;
 1213|       |
 1214|  31.4k|        case ('u'):  // elapsed time since last log message in nanos
  ------------------
  |  Branch (1214:9): [True: 31.4k, False: 1.45M]
  ------------------
 1215|  31.4k|            formatters_.push_back(
 1216|  31.4k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::nanoseconds>>(
 1217|  31.4k|                    padding));
 1218|  31.4k|            break;
 1219|       |
 1220|   468k|        case ('i'):  // elapsed time since last log message in micros
  ------------------
  |  Branch (1220:9): [True: 468k, False: 1.01M]
  ------------------
 1221|   468k|            formatters_.push_back(
 1222|   468k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::microseconds>>(
 1223|   468k|                    padding));
 1224|   468k|            break;
 1225|       |
 1226|  2.04k|        case ('o'):  // elapsed time since last log message in millis
  ------------------
  |  Branch (1226:9): [True: 2.04k, False: 1.48M]
  ------------------
 1227|  2.04k|            formatters_.push_back(
 1228|  2.04k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::milliseconds>>(
 1229|  2.04k|                    padding));
 1230|  2.04k|            break;
 1231|       |
 1232|  47.7k|        case ('O'):  // elapsed time since last log message in seconds
  ------------------
  |  Branch (1232:9): [True: 47.7k, False: 1.43M]
  ------------------
 1233|  47.7k|            formatters_.push_back(
 1234|  47.7k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::seconds>>(
 1235|  47.7k|                    padding));
 1236|  47.7k|            break;
 1237|       |
 1238|      0|#ifndef SPDLOG_NO_TLS  // mdc formatter requires TLS support
 1239|  3.49k|        case ('&'):
  ------------------
  |  Branch (1239:9): [True: 3.49k, False: 1.48M]
  ------------------
 1240|  3.49k|            formatters_.push_back(details::make_unique<details::mdc_formatter<Padder>>(padding));
 1241|  3.49k|            break;
 1242|      0|#endif
 1243|       |
 1244|   130k|        default:  // Unknown flag appears as is
  ------------------
  |  Branch (1244:9): [True: 130k, False: 1.35M]
  ------------------
 1245|   130k|            auto unknown_flag = details::make_unique<details::aggregate_formatter>();
 1246|       |
 1247|   130k|            if (!padding.truncate_) {
  ------------------
  |  Branch (1247:17): [True: 121k, False: 9.20k]
  ------------------
 1248|   121k|                unknown_flag->add_ch('%');
 1249|   121k|                unknown_flag->add_ch(flag);
 1250|   121k|                formatters_.push_back((std::move(unknown_flag)));
 1251|   121k|            }
 1252|       |            // fix issue #1617 (prev char was '!' and should have been treated as funcname flag
 1253|       |            // instead of truncating flag) spdlog::set_pattern("[%10!] %v") => "[      main] some
 1254|       |            // message" spdlog::set_pattern("[%3!!] %v") => "[mai] some message"
 1255|  9.20k|            else {
 1256|  9.20k|                padding.truncate_ = false;
 1257|  9.20k|                formatters_.push_back(
 1258|  9.20k|                    details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1259|  9.20k|                unknown_flag->add_ch(flag);
 1260|  9.20k|                formatters_.push_back((std::move(unknown_flag)));
 1261|  9.20k|            }
 1262|       |
 1263|   130k|            break;
 1264|  1.48M|    }
 1265|  1.48M|}
_ZN6spdlog7details14name_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  107|  51.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details14name_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  109|  17.1k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  110|  17.1k|        ScopedPadder p(msg.logger_name.size(), padinfo_, dest);
  111|  17.1k|        fmt_helper::append_string_view(msg.logger_name, dest);
  112|  17.1k|    }
_ZN6spdlog7details13scoped_padderC2EmRKNS0_12padding_infoERN3fmt3v1219basic_memory_bufferIcLm250ENS6_6detail9allocatorIcEEEE:
   45|   429k|        : padinfo_(padinfo),
   46|   429k|          dest_(dest) {
   47|   429k|        remaining_pad_ = static_cast<long>(padinfo.width_) - static_cast<long>(wrapped_size);
   48|   429k|        if (remaining_pad_ <= 0) {
  ------------------
  |  Branch (48:13): [True: 306k, False: 123k]
  ------------------
   49|   306k|            return;
   50|   306k|        }
   51|       |
   52|   123k|        if (padinfo_.side_ == padding_info::pad_side::left) {
  ------------------
  |  Branch (52:13): [True: 105k, False: 18.4k]
  ------------------
   53|   105k|            pad_it(remaining_pad_);
   54|   105k|            remaining_pad_ = 0;
   55|   105k|        } else if (padinfo_.side_ == padding_info::pad_side::center) {
  ------------------
  |  Branch (55:20): [True: 8.29k, False: 10.1k]
  ------------------
   56|  8.29k|            auto half_pad = remaining_pad_ / 2;
   57|  8.29k|            auto reminder = remaining_pad_ & 1;
   58|  8.29k|            pad_it(half_pad);
   59|  8.29k|            remaining_pad_ = half_pad + reminder;  // for the right side
   60|  8.29k|        }
   61|   123k|    }
_ZN6spdlog7details13scoped_padder6pad_itEl:
   81|   251k|    void pad_it(long count) {
   82|   251k|        fmt_helper::append_string_view(string_view_t(spaces_.data(), static_cast<size_t>(count)),
   83|   251k|                                       dest_);
   84|   251k|    }
_ZN6spdlog7details13scoped_padderD2Ev:
   68|   429k|    ~scoped_padder() {
   69|   429k|        if (remaining_pad_ >= 0) {
  ------------------
  |  Branch (69:13): [True: 137k, False: 291k]
  ------------------
   70|   137k|            pad_it(remaining_pad_);
   71|   291k|        } else if (padinfo_.truncate_) {
  ------------------
  |  Branch (71:20): [True: 2.27k, False: 289k]
  ------------------
   72|  2.27k|            long new_size = static_cast<long>(dest_.size()) + remaining_pad_;
   73|  2.27k|            if (new_size < 0) {
  ------------------
  |  Branch (73:17): [True: 0, False: 2.27k]
  ------------------
   74|      0|                new_size = 0;
   75|      0|            }
   76|  2.27k|            dest_.resize(static_cast<size_t>(new_size));
   77|  2.27k|        }
   78|   429k|    }
_ZN6spdlog7details15level_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  120|  8.04k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details15level_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  122|  2.64k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  123|  2.64k|        const string_view_t &level_name = level::to_string_view(msg.level);
  124|  2.64k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  125|  2.64k|        fmt_helper::append_string_view(level_name, dest);
  126|  2.64k|    }
_ZN6spdlog7details21short_level_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  134|  30.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details21short_level_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  136|  10.1k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  137|  10.1k|        string_view_t level_name{level::to_short_c_str(msg.level)};
  138|  10.1k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  139|  10.1k|        fmt_helper::append_string_view(level_name, dest);
  140|  10.1k|    }
_ZN6spdlog7details11t_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  572|  6.35k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11t_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  574|  2.11k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  575|  2.11k|        const auto field_size = ScopedPadder::count_digits(msg.thread_id);
  576|  2.11k|        ScopedPadder p(field_size, padinfo_, dest);
  577|  2.11k|        fmt_helper::append_int(msg.thread_id, dest);
  578|  2.11k|    }
_ZN6spdlog7details13scoped_padder12count_digitsImEEjT_:
   64|   185k|    static unsigned int count_digits(T n) {
   65|   185k|        return fmt_helper::count_digits(n);
   66|   185k|    }
_ZN6spdlog7details11v_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  600|  12.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11v_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  602|  4.01k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  603|  4.01k|        ScopedPadder p(msg.payload.size(), padinfo_, dest);
  604|  4.01k|        fmt_helper::append_string_view(msg.payload, dest);
  605|  4.01k|    }
_ZN6spdlog7details11a_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  158|  12.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11a_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  160|  4.27k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  161|  4.27k|        string_view_t field_value{days[static_cast<size_t>(tm_time.tm_wday)]};
  162|  4.27k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  163|  4.27k|        fmt_helper::append_string_view(field_value, dest);
  164|  4.27k|    }
_ZN6spdlog7details11A_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  175|  14.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11A_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  177|  4.77k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  178|  4.77k|        string_view_t field_value{full_days[static_cast<size_t>(tm_time.tm_wday)]};
  179|  4.77k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  180|  4.77k|        fmt_helper::append_string_view(field_value, dest);
  181|  4.77k|    }
_ZN6spdlog7details11b_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  192|  11.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11b_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  194|  3.70k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  195|  3.70k|        string_view_t field_value{months[static_cast<size_t>(tm_time.tm_mon)]};
  196|  3.70k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  197|  3.70k|        fmt_helper::append_string_view(field_value, dest);
  198|  3.70k|    }
_ZN6spdlog7details11B_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  210|  36.9k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11B_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  212|  12.3k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  213|  12.3k|        string_view_t field_value{full_months[static_cast<size_t>(tm_time.tm_mon)]};
  214|  12.3k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  215|  12.3k|        fmt_helper::append_string_view(field_value, dest);
  216|  12.3k|    }
_ZN6spdlog7details11c_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  224|  32.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11c_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  226|  10.5k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  227|  10.5k|        const size_t field_size = 24;
  228|  10.5k|        ScopedPadder p(field_size, padinfo_, dest);
  229|       |
  230|  10.5k|        fmt_helper::append_string_view(days[static_cast<size_t>(tm_time.tm_wday)], dest);
  231|  10.5k|        dest.push_back(' ');
  232|  10.5k|        fmt_helper::append_string_view(months[static_cast<size_t>(tm_time.tm_mon)], dest);
  233|  10.5k|        dest.push_back(' ');
  234|  10.5k|        fmt_helper::append_int(tm_time.tm_mday, dest);
  235|  10.5k|        dest.push_back(' ');
  236|       |        // time
  237|       |
  238|  10.5k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  239|  10.5k|        dest.push_back(':');
  240|  10.5k|        fmt_helper::pad2(tm_time.tm_min, dest);
  241|  10.5k|        dest.push_back(':');
  242|  10.5k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  243|  10.5k|        dest.push_back(' ');
  244|  10.5k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  245|  10.5k|    }
_ZN6spdlog7details11C_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  253|  3.93k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11C_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  255|  1.31k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  256|  1.31k|        const size_t field_size = 2;
  257|  1.31k|        ScopedPadder p(field_size, padinfo_, dest);
  258|  1.31k|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  259|  1.31k|    }
_ZN6spdlog7details11Y_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  286|  26.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11Y_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  288|  8.68k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  289|  8.68k|        const size_t field_size = 4;
  290|  8.68k|        ScopedPadder p(field_size, padinfo_, dest);
  291|  8.68k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  292|  8.68k|    }
_ZN6spdlog7details11D_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  267|  17.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11D_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  269|  5.91k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  270|  5.91k|        const size_t field_size = 8;
  271|  5.91k|        ScopedPadder p(field_size, padinfo_, dest);
  272|       |
  273|  5.91k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  274|  5.91k|        dest.push_back('/');
  275|  5.91k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  276|  5.91k|        dest.push_back('/');
  277|  5.91k|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  278|  5.91k|    }
_ZN6spdlog7details11m_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  300|  19.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11m_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  302|  6.09k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  303|  6.09k|        const size_t field_size = 2;
  304|  6.09k|        ScopedPadder p(field_size, padinfo_, dest);
  305|  6.09k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  306|  6.09k|    }
_ZN6spdlog7details11d_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  314|  28.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11d_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  316|  9.36k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  317|  9.36k|        const size_t field_size = 2;
  318|  9.36k|        ScopedPadder p(field_size, padinfo_, dest);
  319|  9.36k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  320|  9.36k|    }
_ZN6spdlog7details11H_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  328|  21.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11H_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  330|  7.06k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  331|  7.06k|        const size_t field_size = 2;
  332|  7.06k|        ScopedPadder p(field_size, padinfo_, dest);
  333|  7.06k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  334|  7.06k|    }
_ZN6spdlog7details11I_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  342|  26.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11I_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  344|  8.92k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  345|  8.92k|        const size_t field_size = 2;
  346|  8.92k|        ScopedPadder p(field_size, padinfo_, dest);
  347|  8.92k|        fmt_helper::pad2(to12h(tm_time), dest);
  348|  8.92k|    }
format_fuzzer.cc:_ZN6spdlog7detailsL5to12hERK2tm:
  149|  54.0k|static int to12h(const tm &t) { return t.tm_hour > 12 ? t.tm_hour - 12 : t.tm_hour; }
  ------------------
  |  Branch (149:40): [True: 0, False: 54.0k]
  ------------------
_ZN6spdlog7details11M_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  356|  37.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11M_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  358|  12.3k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  359|  12.3k|        const size_t field_size = 2;
  360|  12.3k|        ScopedPadder p(field_size, padinfo_, dest);
  361|  12.3k|        fmt_helper::pad2(tm_time.tm_min, dest);
  362|  12.3k|    }
_ZN6spdlog7details11S_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  370|  17.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11S_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  372|  5.86k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  373|  5.86k|        const size_t field_size = 2;
  374|  5.86k|        ScopedPadder p(field_size, padinfo_, dest);
  375|  5.86k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  376|  5.86k|    }
_ZN6spdlog7details11e_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  384|  31.9k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11e_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  386|  10.4k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  387|  10.4k|        auto millis = fmt_helper::time_fraction<std::chrono::milliseconds>(msg.time);
  388|  10.4k|        const size_t field_size = 3;
  389|  10.4k|        ScopedPadder p(field_size, padinfo_, dest);
  390|  10.4k|        fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
  391|  10.4k|    }
_ZN6spdlog7details11f_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  399|  19.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11f_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  401|  6.44k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  402|  6.44k|        auto micros = fmt_helper::time_fraction<std::chrono::microseconds>(msg.time);
  403|       |
  404|  6.44k|        const size_t field_size = 6;
  405|  6.44k|        ScopedPadder p(field_size, padinfo_, dest);
  406|  6.44k|        fmt_helper::pad6(static_cast<size_t>(micros.count()), dest);
  407|  6.44k|    }
_ZN6spdlog7details11F_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  415|  20.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11F_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  417|  6.71k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  418|  6.71k|        auto ns = fmt_helper::time_fraction<std::chrono::nanoseconds>(msg.time);
  419|  6.71k|        const size_t field_size = 9;
  420|  6.71k|        ScopedPadder p(field_size, padinfo_, dest);
  421|  6.71k|        fmt_helper::pad9(static_cast<size_t>(ns.count()), dest);
  422|  6.71k|    }
_ZN6spdlog7details11E_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  430|  2.98k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11E_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  432|    987|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  433|    987|        const size_t field_size = 10;
  434|    987|        ScopedPadder p(field_size, padinfo_, dest);
  435|    987|        auto duration = msg.time.time_since_epoch();
  436|    987|        auto seconds = std::chrono::duration_cast<std::chrono::seconds>(duration).count();
  437|    987|        fmt_helper::append_int(seconds, dest);
  438|    987|    }
_ZN6spdlog7details11p_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  446|  21.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11p_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  448|  7.05k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  449|  7.05k|        const size_t field_size = 2;
  450|  7.05k|        ScopedPadder p(field_size, padinfo_, dest);
  451|  7.05k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  452|  7.05k|    }
format_fuzzer.cc:_ZN6spdlog7detailsL4ampmERK2tm:
  147|  90.2k|static const char *ampm(const tm &t) { return t.tm_hour >= 12 ? "PM" : "AM"; }
  ------------------
  |  Branch (147:47): [True: 0, False: 90.2k]
  ------------------
_ZN6spdlog7details11r_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  460|  6.05k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11r_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  462|  1.95k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  463|  1.95k|        const size_t field_size = 11;
  464|  1.95k|        ScopedPadder p(field_size, padinfo_, dest);
  465|       |
  466|  1.95k|        fmt_helper::pad2(to12h(tm_time), dest);
  467|  1.95k|        dest.push_back(':');
  468|  1.95k|        fmt_helper::pad2(tm_time.tm_min, dest);
  469|  1.95k|        dest.push_back(':');
  470|  1.95k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  471|  1.95k|        dest.push_back(' ');
  472|  1.95k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  473|  1.95k|    }
_ZN6spdlog7details11R_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  481|  4.56k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11R_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  483|  1.51k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  484|  1.51k|        const size_t field_size = 5;
  485|  1.51k|        ScopedPadder p(field_size, padinfo_, dest);
  486|       |
  487|  1.51k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  488|  1.51k|        dest.push_back(':');
  489|  1.51k|        fmt_helper::pad2(tm_time.tm_min, dest);
  490|  1.51k|    }
_ZN6spdlog7details11T_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  498|  53.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11T_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  500|  17.1k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  501|  17.1k|        const size_t field_size = 8;
  502|  17.1k|        ScopedPadder p(field_size, padinfo_, dest);
  503|       |
  504|  17.1k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  505|  17.1k|        dest.push_back(':');
  506|  17.1k|        fmt_helper::pad2(tm_time.tm_min, dest);
  507|  17.1k|        dest.push_back(':');
  508|  17.1k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  509|  17.1k|    }
_ZN6spdlog7details11z_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoENS_17pattern_time_typeE:
  518|  27.5k|        : flag_formatter(padinfo),
  519|  27.5k|          time_type_(time_type) {}
_ZN6spdlog7details11z_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  525|  9.16k|    void format(const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override {
  526|  9.16k|        const size_t field_size = 6;
  527|  9.16k|        ScopedPadder p(field_size, padinfo_, dest);
  528|       |#ifdef SPDLOG_NO_TZ_OFFSET
  529|       |        const char *str = "+??:??";
  530|       |        dest.append(str, str + 6);
  531|       |#else
  532|  9.16k|        if (time_type_ == pattern_time_type::utc) {
  ------------------
  |  Branch (532:13): [True: 0, False: 9.16k]
  ------------------
  533|      0|            const char *zeroes = "+00:00";
  534|      0|            dest.append(zeroes, zeroes + 6);
  535|      0|            return;
  536|      0|        }
  537|  9.16k|        auto total_minutes = get_cached_offset(msg, tm_time);
  538|  9.16k|        bool is_negative = total_minutes < 0;
  539|  9.16k|        if (is_negative) {
  ------------------
  |  Branch (539:13): [True: 0, False: 9.16k]
  ------------------
  540|      0|            total_minutes = -total_minutes;
  541|      0|            dest.push_back('-');
  542|  9.16k|        } else {
  543|  9.16k|            dest.push_back('+');
  544|  9.16k|        }
  545|       |
  546|  9.16k|        fmt_helper::pad2(total_minutes / 60, dest);  // hours
  547|  9.16k|        dest.push_back(':');
  548|  9.16k|        fmt_helper::pad2(total_minutes % 60, dest);  // minutes
  549|  9.16k|#endif  // SPDLOG_NO_TZ_OFFSET
  550|  9.16k|    }
_ZN6spdlog7details11z_formatterINS0_13scoped_padderEE17get_cached_offsetERKNS0_7log_msgERK2tm:
  557|  9.16k|    int get_cached_offset(const log_msg &msg, const std::tm &tm_time) {
  558|       |        // refresh every 10 seconds
  559|  9.16k|        if (msg.time - last_update_ >= std::chrono::seconds(10)) {
  ------------------
  |  Branch (559:13): [True: 9.16k, False: 0]
  ------------------
  560|  9.16k|            offset_minutes_ = os::utc_minutes_offset(tm_time);
  561|  9.16k|            last_update_ = msg.time;
  562|  9.16k|        }
  563|  9.16k|        return offset_minutes_;
  564|  9.16k|    }
_ZN6spdlog7details13pid_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  586|  2.81k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13pid_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  588|    912|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  589|    912|        const auto pid = static_cast<uint32_t>(details::os::pid());
  590|    912|        auto field_size = ScopedPadder::count_digits(pid);
  591|    912|        ScopedPadder p(field_size, padinfo_, dest);
  592|    912|        fmt_helper::append_int(pid, dest);
  593|    912|    }
_ZN6spdlog7details13scoped_padder12count_digitsIjEEjT_:
   64|    912|    static unsigned int count_digits(T n) {
   65|    912|        return fmt_helper::count_digits(n);
   66|    912|    }
_ZN6spdlog7details21color_start_formatterC2ENS0_12padding_infoE:
  639|  27.5k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details21color_start_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  641|  9.15k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  642|  9.15k|        msg.color_range_start = dest.size();
  643|  9.15k|    }
_ZN6spdlog7details20color_stop_formatterC2ENS0_12padding_infoE:
  649|  28.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details20color_stop_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  651|  9.51k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  652|  9.51k|        msg.color_range_end = dest.size();
  653|  9.51k|    }
_ZN6spdlog7details25source_location_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  661|  11.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_location_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  663|  3.79k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  664|  3.79k|        if (msg.source.empty()) {
  ------------------
  |  Branch (664:13): [True: 3.79k, False: 0]
  ------------------
  665|  3.79k|            ScopedPadder p(0, padinfo_, dest);
  666|  3.79k|            return;
  667|  3.79k|        }
  668|       |
  669|      0|        size_t text_size;
  670|      0|        if (padinfo_.enabled()) {
  ------------------
  |  Branch (670:13): [True: 0, False: 0]
  ------------------
  671|       |            // calc text size for padding based on "filename:line"
  672|      0|            text_size = std::char_traits<char>::length(msg.source.filename) +
  673|      0|                        ScopedPadder::count_digits(msg.source.line) + 1;
  674|      0|        } else {
  675|      0|            text_size = 0;
  676|      0|        }
  677|       |
  678|      0|        ScopedPadder p(text_size, padinfo_, dest);
  679|      0|        fmt_helper::append_string_view(msg.source.filename, dest);
  680|      0|        dest.push_back(':');
  681|      0|        fmt_helper::append_int(msg.source.line, dest);
  682|      0|    }
_ZN6spdlog7details24short_filename_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  708|  2.94k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24short_filename_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  733|    979|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  734|    979|        if (msg.source.empty()) {
  ------------------
  |  Branch (734:13): [True: 979, False: 0]
  ------------------
  735|    979|            ScopedPadder p(0, padinfo_, dest);
  736|    979|            return;
  737|    979|        }
  738|      0|        auto filename = basename(msg.source.filename);
  739|      0|        size_t text_size = padinfo_.enabled() ? std::char_traits<char>::length(filename) : 0;
  ------------------
  |  Branch (739:28): [True: 0, False: 0]
  ------------------
  740|      0|        ScopedPadder p(text_size, padinfo_, dest);
  741|      0|        fmt_helper::append_string_view(filename, dest);
  742|      0|    }
_ZN6spdlog7details25source_filename_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  690|  27.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_filename_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  692|  9.06k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  693|  9.06k|        if (msg.source.empty()) {
  ------------------
  |  Branch (693:13): [True: 9.06k, False: 0]
  ------------------
  694|  9.06k|            ScopedPadder p(0, padinfo_, dest);
  695|  9.06k|            return;
  696|  9.06k|        }
  697|      0|        size_t text_size =
  698|      0|            padinfo_.enabled() ? std::char_traits<char>::length(msg.source.filename) : 0;
  ------------------
  |  Branch (698:13): [True: 0, False: 0]
  ------------------
  699|      0|        ScopedPadder p(text_size, padinfo_, dest);
  700|      0|        fmt_helper::append_string_view(msg.source.filename, dest);
  701|      0|    }
_ZN6spdlog7details24source_linenum_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  749|  17.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24source_linenum_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  751|  5.67k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  752|  5.67k|        if (msg.source.empty()) {
  ------------------
  |  Branch (752:13): [True: 5.67k, False: 0]
  ------------------
  753|  5.67k|            ScopedPadder p(0, padinfo_, dest);
  754|  5.67k|            return;
  755|  5.67k|        }
  756|       |
  757|      0|        auto field_size = ScopedPadder::count_digits(msg.source.line);
  758|      0|        ScopedPadder p(field_size, padinfo_, dest);
  759|      0|        fmt_helper::append_int(msg.source.line, dest);
  760|      0|    }
_ZN6spdlog7details25source_funcname_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  768|  79.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_funcname_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  770|  26.3k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  771|  26.3k|        if (msg.source.empty()) {
  ------------------
  |  Branch (771:13): [True: 26.3k, False: 0]
  ------------------
  772|  26.3k|            ScopedPadder p(0, padinfo_, dest);
  773|  26.3k|            return;
  774|  26.3k|        }
  775|      0|        size_t text_size =
  776|      0|            padinfo_.enabled() ? std::char_traits<char>::length(msg.source.funcname) : 0;
  ------------------
  |  Branch (776:13): [True: 0, False: 0]
  ------------------
  777|      0|        ScopedPadder p(text_size, padinfo_, dest);
  778|      0|        fmt_helper::append_string_view(msg.source.funcname, dest);
  779|      0|    }
_ZN6spdlog7details12ch_formatterC2Ec:
  611|   623k|        : ch_(ch) {}
_ZN6spdlog7details12ch_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  613|   207k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  614|   207k|        dest.push_back(ch_);
  615|   207k|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEEC2ENS0_12padding_infoE:
  789|  31.4k|        : flag_formatter(padinfo),
  790|  31.4k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  792|  10.4k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  793|  10.4k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  794|  10.4k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  795|  10.4k|        last_message_time_ = msg.time;
  796|  10.4k|        auto delta_count = static_cast<size_t>(delta_units.count());
  797|  10.4k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  798|  10.4k|        ScopedPadder p(n_digits, padinfo_, dest);
  799|  10.4k|        fmt_helper::append_int(delta_count, dest);
  800|  10.4k|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEEC2ENS0_12padding_infoE:
  789|   468k|        : flag_formatter(padinfo),
  790|   468k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  792|   156k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  793|   156k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  794|   156k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  795|   156k|        last_message_time_ = msg.time;
  796|   156k|        auto delta_count = static_cast<size_t>(delta_units.count());
  797|   156k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  798|   156k|        ScopedPadder p(n_digits, padinfo_, dest);
  799|   156k|        fmt_helper::append_int(delta_count, dest);
  800|   156k|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEC2ENS0_12padding_infoE:
  789|  2.04k|        : flag_formatter(padinfo),
  790|  2.04k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  792|    637|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  793|    637|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  794|    637|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  795|    637|        last_message_time_ = msg.time;
  796|    637|        auto delta_count = static_cast<size_t>(delta_units.count());
  797|    637|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  798|    637|        ScopedPadder p(n_digits, padinfo_, dest);
  799|    637|        fmt_helper::append_int(delta_count, dest);
  800|    637|    }
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEEC2ENS0_12padding_infoE:
  789|  47.7k|        : flag_formatter(padinfo),
  790|  47.7k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_13scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  792|  15.9k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  793|  15.9k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  794|  15.9k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  795|  15.9k|        last_message_time_ = msg.time;
  796|  15.9k|        auto delta_count = static_cast<size_t>(delta_units.count());
  797|  15.9k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  798|  15.9k|        ScopedPadder p(n_digits, padinfo_, dest);
  799|  15.9k|        fmt_helper::append_int(delta_count, dest);
  800|  15.9k|    }
_ZN6spdlog7details13mdc_formatterINS0_13scoped_padderEEC2ENS0_12padding_infoE:
  813|  3.49k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13mdc_formatterINS0_13scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  815|  1.15k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  816|  1.15k|        const auto &mdc_map = mdc::get_context();
  817|  1.15k|        if (mdc_map.empty()) {
  ------------------
  |  Branch (817:13): [True: 1.15k, False: 0]
  ------------------
  818|  1.15k|            ScopedPadder p(0, padinfo_, dest);
  819|  1.15k|            return;
  820|  1.15k|        } else {
  821|      0|            format_mdc(mdc_map, dest);
  822|      0|        }
  823|  1.15k|    }
_ZN6spdlog17pattern_formatter12handle_flag_INS_7details18null_scoped_padderEEEvcNS2_12padding_infoE:
 1022|  3.77M|SPDLOG_INLINE void pattern_formatter::handle_flag_(char flag, details::padding_info padding) {
 1023|       |    // process custom flags
 1024|  3.77M|    auto it = custom_handlers_.find(flag);
 1025|  3.77M|    if (it != custom_handlers_.end()) {
  ------------------
  |  Branch (1025:9): [True: 332k, False: 3.44M]
  ------------------
 1026|   332k|        auto custom_handler = it->second->clone();
 1027|   332k|        custom_handler->set_padding_info(padding);
 1028|   332k|        formatters_.push_back(std::move(custom_handler));
 1029|   332k|        return;
 1030|   332k|    }
 1031|       |
 1032|       |    // process built-in flags
 1033|  3.44M|    switch (flag) {
 1034|   337k|        case ('+'):  // default formatter
  ------------------
  |  Branch (1034:9): [True: 337k, False: 3.10M]
  ------------------
 1035|   337k|            formatters_.push_back(details::make_unique<details::full_formatter>(padding));
 1036|   337k|            need_localtime_ = true;
 1037|   337k|            break;
 1038|       |
 1039|  15.7k|        case 'n':  // logger name
  ------------------
  |  Branch (1039:9): [True: 15.7k, False: 3.42M]
  ------------------
 1040|  15.7k|            formatters_.push_back(details::make_unique<details::name_formatter<Padder>>(padding));
 1041|  15.7k|            break;
 1042|       |
 1043|   100k|        case 'l':  // level
  ------------------
  |  Branch (1043:9): [True: 100k, False: 3.34M]
  ------------------
 1044|   100k|            formatters_.push_back(details::make_unique<details::level_formatter<Padder>>(padding));
 1045|   100k|            break;
 1046|       |
 1047|  34.1k|        case 'L':  // short level
  ------------------
  |  Branch (1047:9): [True: 34.1k, False: 3.40M]
  ------------------
 1048|  34.1k|            formatters_.push_back(
 1049|  34.1k|                details::make_unique<details::short_level_formatter<Padder>>(padding));
 1050|  34.1k|            break;
 1051|       |
 1052|  25.0k|        case ('t'):  // thread id
  ------------------
  |  Branch (1052:9): [True: 25.0k, False: 3.41M]
  ------------------
 1053|  25.0k|            formatters_.push_back(details::make_unique<details::t_formatter<Padder>>(padding));
 1054|  25.0k|            break;
 1055|       |
 1056|  25.8k|        case ('v'):  // the message text
  ------------------
  |  Branch (1056:9): [True: 25.8k, False: 3.41M]
  ------------------
 1057|  25.8k|            formatters_.push_back(details::make_unique<details::v_formatter<Padder>>(padding));
 1058|  25.8k|            break;
 1059|       |
 1060|  16.0k|        case ('a'):  // weekday
  ------------------
  |  Branch (1060:9): [True: 16.0k, False: 3.42M]
  ------------------
 1061|  16.0k|            formatters_.push_back(details::make_unique<details::a_formatter<Padder>>(padding));
 1062|  16.0k|            need_localtime_ = true;
 1063|  16.0k|            break;
 1064|       |
 1065|  46.4k|        case ('A'):  // short weekday
  ------------------
  |  Branch (1065:9): [True: 46.4k, False: 3.39M]
  ------------------
 1066|  46.4k|            formatters_.push_back(details::make_unique<details::A_formatter<Padder>>(padding));
 1067|  46.4k|            need_localtime_ = true;
 1068|  46.4k|            break;
 1069|       |
 1070|  98.5k|        case ('b'):
  ------------------
  |  Branch (1070:9): [True: 98.5k, False: 3.34M]
  ------------------
 1071|   321k|        case ('h'):  // month
  ------------------
  |  Branch (1071:9): [True: 222k, False: 3.21M]
  ------------------
 1072|   321k|            formatters_.push_back(details::make_unique<details::b_formatter<Padder>>(padding));
 1073|   321k|            need_localtime_ = true;
 1074|   321k|            break;
 1075|       |
 1076|  15.4k|        case ('B'):  // short month
  ------------------
  |  Branch (1076:9): [True: 15.4k, False: 3.42M]
  ------------------
 1077|  15.4k|            formatters_.push_back(details::make_unique<details::B_formatter<Padder>>(padding));
 1078|  15.4k|            need_localtime_ = true;
 1079|  15.4k|            break;
 1080|       |
 1081|   175k|        case ('c'):  // datetime
  ------------------
  |  Branch (1081:9): [True: 175k, False: 3.26M]
  ------------------
 1082|   175k|            formatters_.push_back(details::make_unique<details::c_formatter<Padder>>(padding));
 1083|   175k|            need_localtime_ = true;
 1084|   175k|            break;
 1085|       |
 1086|  71.7k|        case ('C'):  // year 2 digits
  ------------------
  |  Branch (1086:9): [True: 71.7k, False: 3.36M]
  ------------------
 1087|  71.7k|            formatters_.push_back(details::make_unique<details::C_formatter<Padder>>(padding));
 1088|  71.7k|            need_localtime_ = true;
 1089|  71.7k|            break;
 1090|       |
 1091|  10.7k|        case ('Y'):  // year 4 digits
  ------------------
  |  Branch (1091:9): [True: 10.7k, False: 3.43M]
  ------------------
 1092|  10.7k|            formatters_.push_back(details::make_unique<details::Y_formatter<Padder>>(padding));
 1093|  10.7k|            need_localtime_ = true;
 1094|  10.7k|            break;
 1095|       |
 1096|  6.05k|        case ('D'):
  ------------------
  |  Branch (1096:9): [True: 6.05k, False: 3.43M]
  ------------------
 1097|  80.6k|        case ('x'):  // datetime MM/DD/YY
  ------------------
  |  Branch (1097:9): [True: 74.5k, False: 3.36M]
  ------------------
 1098|  80.6k|            formatters_.push_back(details::make_unique<details::D_formatter<Padder>>(padding));
 1099|  80.6k|            need_localtime_ = true;
 1100|  80.6k|            break;
 1101|       |
 1102|  6.12k|        case ('m'):  // month 1-12
  ------------------
  |  Branch (1102:9): [True: 6.12k, False: 3.43M]
  ------------------
 1103|  6.12k|            formatters_.push_back(details::make_unique<details::m_formatter<Padder>>(padding));
 1104|  6.12k|            need_localtime_ = true;
 1105|  6.12k|            break;
 1106|       |
 1107|  34.1k|        case ('d'):  // day of month 1-31
  ------------------
  |  Branch (1107:9): [True: 34.1k, False: 3.40M]
  ------------------
 1108|  34.1k|            formatters_.push_back(details::make_unique<details::d_formatter<Padder>>(padding));
 1109|  34.1k|            need_localtime_ = true;
 1110|  34.1k|            break;
 1111|       |
 1112|  56.0k|        case ('H'):  // hours 24
  ------------------
  |  Branch (1112:9): [True: 56.0k, False: 3.38M]
  ------------------
 1113|  56.0k|            formatters_.push_back(details::make_unique<details::H_formatter<Padder>>(padding));
 1114|  56.0k|            need_localtime_ = true;
 1115|  56.0k|            break;
 1116|       |
 1117|  94.2k|        case ('I'):  // hours 12
  ------------------
  |  Branch (1117:9): [True: 94.2k, False: 3.34M]
  ------------------
 1118|  94.2k|            formatters_.push_back(details::make_unique<details::I_formatter<Padder>>(padding));
 1119|  94.2k|            need_localtime_ = true;
 1120|  94.2k|            break;
 1121|       |
 1122|  42.0k|        case ('M'):  // minutes
  ------------------
  |  Branch (1122:9): [True: 42.0k, False: 3.39M]
  ------------------
 1123|  42.0k|            formatters_.push_back(details::make_unique<details::M_formatter<Padder>>(padding));
 1124|  42.0k|            need_localtime_ = true;
 1125|  42.0k|            break;
 1126|       |
 1127|  46.4k|        case ('S'):  // seconds
  ------------------
  |  Branch (1127:9): [True: 46.4k, False: 3.39M]
  ------------------
 1128|  46.4k|            formatters_.push_back(details::make_unique<details::S_formatter<Padder>>(padding));
 1129|  46.4k|            need_localtime_ = true;
 1130|  46.4k|            break;
 1131|       |
 1132|  70.7k|        case ('e'):  // milliseconds
  ------------------
  |  Branch (1132:9): [True: 70.7k, False: 3.37M]
  ------------------
 1133|  70.7k|            formatters_.push_back(details::make_unique<details::e_formatter<Padder>>(padding));
 1134|  70.7k|            break;
 1135|       |
 1136|  30.9k|        case ('f'):  // microseconds
  ------------------
  |  Branch (1136:9): [True: 30.9k, False: 3.41M]
  ------------------
 1137|  30.9k|            formatters_.push_back(details::make_unique<details::f_formatter<Padder>>(padding));
 1138|  30.9k|            break;
 1139|       |
 1140|  25.4k|        case ('F'):  // nanoseconds
  ------------------
  |  Branch (1140:9): [True: 25.4k, False: 3.41M]
  ------------------
 1141|  25.4k|            formatters_.push_back(details::make_unique<details::F_formatter<Padder>>(padding));
 1142|  25.4k|            break;
 1143|       |
 1144|  46.0k|        case ('E'):  // seconds since epoch
  ------------------
  |  Branch (1144:9): [True: 46.0k, False: 3.39M]
  ------------------
 1145|  46.0k|            formatters_.push_back(details::make_unique<details::E_formatter<Padder>>(padding));
 1146|  46.0k|            break;
 1147|       |
 1148|   208k|        case ('p'):  // am/pm
  ------------------
  |  Branch (1148:9): [True: 208k, False: 3.23M]
  ------------------
 1149|   208k|            formatters_.push_back(details::make_unique<details::p_formatter<Padder>>(padding));
 1150|   208k|            need_localtime_ = true;
 1151|   208k|            break;
 1152|       |
 1153|  35.6k|        case ('r'):  // 12 hour clock 02:55:02 pm
  ------------------
  |  Branch (1153:9): [True: 35.6k, False: 3.40M]
  ------------------
 1154|  35.6k|            formatters_.push_back(details::make_unique<details::r_formatter<Padder>>(padding));
 1155|  35.6k|            need_localtime_ = true;
 1156|  35.6k|            break;
 1157|       |
 1158|  29.6k|        case ('R'):  // 24-hour HH:MM time
  ------------------
  |  Branch (1158:9): [True: 29.6k, False: 3.41M]
  ------------------
 1159|  29.6k|            formatters_.push_back(details::make_unique<details::R_formatter<Padder>>(padding));
 1160|  29.6k|            need_localtime_ = true;
 1161|  29.6k|            break;
 1162|       |
 1163|  47.8k|        case ('T'):
  ------------------
  |  Branch (1163:9): [True: 47.8k, False: 3.39M]
  ------------------
 1164|  66.8k|        case ('X'):  // ISO 8601 time format (HH:MM:SS)
  ------------------
  |  Branch (1164:9): [True: 18.9k, False: 3.42M]
  ------------------
 1165|  66.8k|            formatters_.push_back(details::make_unique<details::T_formatter<Padder>>(padding));
 1166|  66.8k|            need_localtime_ = true;
 1167|  66.8k|            break;
 1168|  10.8k|        case ('z'):  // timezone
  ------------------
  |  Branch (1168:9): [True: 10.8k, False: 3.43M]
  ------------------
 1169|  10.8k|            formatters_.push_back(
 1170|  10.8k|                details::make_unique<details::z_formatter<Padder>>(padding, pattern_time_type_));
 1171|  10.8k|            need_localtime_ = true;
 1172|  10.8k|            break;
 1173|  92.3k|        case ('P'):  // pid
  ------------------
  |  Branch (1173:9): [True: 92.3k, False: 3.34M]
  ------------------
 1174|  92.3k|            formatters_.push_back(details::make_unique<details::pid_formatter<Padder>>(padding));
 1175|  92.3k|            break;
 1176|       |
 1177|  10.8k|        case ('^'):  // color range start
  ------------------
  |  Branch (1177:9): [True: 10.8k, False: 3.43M]
  ------------------
 1178|  10.8k|            formatters_.push_back(details::make_unique<details::color_start_formatter>(padding));
 1179|  10.8k|            break;
 1180|       |
 1181|  12.1k|        case ('$'):  // color range end
  ------------------
  |  Branch (1181:9): [True: 12.1k, False: 3.42M]
  ------------------
 1182|  12.1k|            formatters_.push_back(details::make_unique<details::color_stop_formatter>(padding));
 1183|  12.1k|            break;
 1184|       |
 1185|  5.61k|        case ('@'):  // source location (filename:filenumber)
  ------------------
  |  Branch (1185:9): [True: 5.61k, False: 3.43M]
  ------------------
 1186|  5.61k|            formatters_.push_back(
 1187|  5.61k|                details::make_unique<details::source_location_formatter<Padder>>(padding));
 1188|  5.61k|            break;
 1189|       |
 1190|  4.90k|        case ('s'):  // short source filename - without directory name
  ------------------
  |  Branch (1190:9): [True: 4.90k, False: 3.43M]
  ------------------
 1191|  4.90k|            formatters_.push_back(
 1192|  4.90k|                details::make_unique<details::short_filename_formatter<Padder>>(padding));
 1193|  4.90k|            break;
 1194|       |
 1195|  8.90k|        case ('g'):  // full source filename
  ------------------
  |  Branch (1195:9): [True: 8.90k, False: 3.43M]
  ------------------
 1196|  8.90k|            formatters_.push_back(
 1197|  8.90k|                details::make_unique<details::source_filename_formatter<Padder>>(padding));
 1198|  8.90k|            break;
 1199|       |
 1200|  8.42k|        case ('#'):  // source line number
  ------------------
  |  Branch (1200:9): [True: 8.42k, False: 3.43M]
  ------------------
 1201|  8.42k|            formatters_.push_back(
 1202|  8.42k|                details::make_unique<details::source_linenum_formatter<Padder>>(padding));
 1203|  8.42k|            break;
 1204|       |
 1205|  15.3k|        case ('!'):  // source funcname
  ------------------
  |  Branch (1205:9): [True: 15.3k, False: 3.42M]
  ------------------
 1206|  15.3k|            formatters_.push_back(
 1207|  15.3k|                details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1208|  15.3k|            break;
 1209|       |
 1210|   598k|        case ('%'):  // % char
  ------------------
  |  Branch (1210:9): [True: 598k, False: 2.84M]
  ------------------
 1211|   598k|            formatters_.push_back(details::make_unique<details::ch_formatter>('%'));
 1212|   598k|            break;
 1213|       |
 1214|  25.8k|        case ('u'):  // elapsed time since last log message in nanos
  ------------------
  |  Branch (1214:9): [True: 25.8k, False: 3.41M]
  ------------------
 1215|  25.8k|            formatters_.push_back(
 1216|  25.8k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::nanoseconds>>(
 1217|  25.8k|                    padding));
 1218|  25.8k|            break;
 1219|       |
 1220|  85.9k|        case ('i'):  // elapsed time since last log message in micros
  ------------------
  |  Branch (1220:9): [True: 85.9k, False: 3.35M]
  ------------------
 1221|  85.9k|            formatters_.push_back(
 1222|  85.9k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::microseconds>>(
 1223|  85.9k|                    padding));
 1224|  85.9k|            break;
 1225|       |
 1226|  10.0k|        case ('o'):  // elapsed time since last log message in millis
  ------------------
  |  Branch (1226:9): [True: 10.0k, False: 3.43M]
  ------------------
 1227|  10.0k|            formatters_.push_back(
 1228|  10.0k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::milliseconds>>(
 1229|  10.0k|                    padding));
 1230|  10.0k|            break;
 1231|       |
 1232|   157k|        case ('O'):  // elapsed time since last log message in seconds
  ------------------
  |  Branch (1232:9): [True: 157k, False: 3.28M]
  ------------------
 1233|   157k|            formatters_.push_back(
 1234|   157k|                details::make_unique<details::elapsed_formatter<Padder, std::chrono::seconds>>(
 1235|   157k|                    padding));
 1236|   157k|            break;
 1237|       |
 1238|      0|#ifndef SPDLOG_NO_TLS  // mdc formatter requires TLS support
 1239|  4.66k|        case ('&'):
  ------------------
  |  Branch (1239:9): [True: 4.66k, False: 3.43M]
  ------------------
 1240|  4.66k|            formatters_.push_back(details::make_unique<details::mdc_formatter<Padder>>(padding));
 1241|  4.66k|            break;
 1242|      0|#endif
 1243|       |
 1244|   319k|        default:  // Unknown flag appears as is
  ------------------
  |  Branch (1244:9): [True: 319k, False: 3.12M]
  ------------------
 1245|   319k|            auto unknown_flag = details::make_unique<details::aggregate_formatter>();
 1246|       |
 1247|   319k|            if (!padding.truncate_) {
  ------------------
  |  Branch (1247:17): [True: 319k, False: 0]
  ------------------
 1248|   319k|                unknown_flag->add_ch('%');
 1249|   319k|                unknown_flag->add_ch(flag);
 1250|   319k|                formatters_.push_back((std::move(unknown_flag)));
 1251|   319k|            }
 1252|       |            // fix issue #1617 (prev char was '!' and should have been treated as funcname flag
 1253|       |            // instead of truncating flag) spdlog::set_pattern("[%10!] %v") => "[      main] some
 1254|       |            // message" spdlog::set_pattern("[%3!!] %v") => "[mai] some message"
 1255|      0|            else {
 1256|      0|                padding.truncate_ = false;
 1257|      0|                formatters_.push_back(
 1258|      0|                    details::make_unique<details::source_funcname_formatter<Padder>>(padding));
 1259|      0|                unknown_flag->add_ch(flag);
 1260|      0|                formatters_.push_back((std::move(unknown_flag)));
 1261|      0|            }
 1262|       |
 1263|   319k|            break;
 1264|  3.44M|    }
 1265|  3.44M|}
_ZN6spdlog7details14name_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  107|  15.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details14name_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  109|  5.21k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  110|  5.21k|        ScopedPadder p(msg.logger_name.size(), padinfo_, dest);
  111|  5.21k|        fmt_helper::append_string_view(msg.logger_name, dest);
  112|  5.21k|    }
_ZN6spdlog7details15level_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  120|   100k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details15level_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  122|  33.4k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  123|  33.4k|        const string_view_t &level_name = level::to_string_view(msg.level);
  124|  33.4k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  125|  33.4k|        fmt_helper::append_string_view(level_name, dest);
  126|  33.4k|    }
_ZN6spdlog7details21short_level_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  134|  34.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details21short_level_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  136|  11.3k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  137|  11.3k|        string_view_t level_name{level::to_short_c_str(msg.level)};
  138|  11.3k|        ScopedPadder p(level_name.size(), padinfo_, dest);
  139|  11.3k|        fmt_helper::append_string_view(level_name, dest);
  140|  11.3k|    }
_ZN6spdlog7details11t_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  572|  25.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11t_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  574|  8.34k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  575|  8.34k|        const auto field_size = ScopedPadder::count_digits(msg.thread_id);
  576|  8.34k|        ScopedPadder p(field_size, padinfo_, dest);
  577|  8.34k|        fmt_helper::append_int(msg.thread_id, dest);
  578|  8.34k|    }
_ZN6spdlog7details18null_scoped_padder12count_digitsImEEjT_:
   98|   101k|    static unsigned int count_digits(T /* number */) {
   99|   101k|        return 0;
  100|   101k|    }
_ZN6spdlog7details11v_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  600|  25.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11v_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  602|  8.51k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  603|  8.51k|        ScopedPadder p(msg.payload.size(), padinfo_, dest);
  604|  8.51k|        fmt_helper::append_string_view(msg.payload, dest);
  605|  8.51k|    }
_ZN6spdlog7details11a_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  158|  16.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11a_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  160|  5.34k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  161|  5.34k|        string_view_t field_value{days[static_cast<size_t>(tm_time.tm_wday)]};
  162|  5.34k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  163|  5.34k|        fmt_helper::append_string_view(field_value, dest);
  164|  5.34k|    }
_ZN6spdlog7details11A_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  175|  46.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11A_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  177|  15.4k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  178|  15.4k|        string_view_t field_value{full_days[static_cast<size_t>(tm_time.tm_wday)]};
  179|  15.4k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  180|  15.4k|        fmt_helper::append_string_view(field_value, dest);
  181|  15.4k|    }
_ZN6spdlog7details11b_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  192|   321k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11b_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  194|   107k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  195|   107k|        string_view_t field_value{months[static_cast<size_t>(tm_time.tm_mon)]};
  196|   107k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  197|   107k|        fmt_helper::append_string_view(field_value, dest);
  198|   107k|    }
_ZN6spdlog7details11B_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  210|  15.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11B_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  212|  5.15k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  213|  5.15k|        string_view_t field_value{full_months[static_cast<size_t>(tm_time.tm_mon)]};
  214|  5.15k|        ScopedPadder p(field_value.size(), padinfo_, dest);
  215|  5.15k|        fmt_helper::append_string_view(field_value, dest);
  216|  5.15k|    }
_ZN6spdlog7details11c_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  224|   175k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11c_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  226|  58.4k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  227|  58.4k|        const size_t field_size = 24;
  228|  58.4k|        ScopedPadder p(field_size, padinfo_, dest);
  229|       |
  230|  58.4k|        fmt_helper::append_string_view(days[static_cast<size_t>(tm_time.tm_wday)], dest);
  231|  58.4k|        dest.push_back(' ');
  232|  58.4k|        fmt_helper::append_string_view(months[static_cast<size_t>(tm_time.tm_mon)], dest);
  233|  58.4k|        dest.push_back(' ');
  234|  58.4k|        fmt_helper::append_int(tm_time.tm_mday, dest);
  235|  58.4k|        dest.push_back(' ');
  236|       |        // time
  237|       |
  238|  58.4k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  239|  58.4k|        dest.push_back(':');
  240|  58.4k|        fmt_helper::pad2(tm_time.tm_min, dest);
  241|  58.4k|        dest.push_back(':');
  242|  58.4k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  243|  58.4k|        dest.push_back(' ');
  244|  58.4k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  245|  58.4k|    }
_ZN6spdlog7details11C_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  253|  71.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11C_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  255|  23.9k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  256|  23.9k|        const size_t field_size = 2;
  257|  23.9k|        ScopedPadder p(field_size, padinfo_, dest);
  258|  23.9k|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  259|  23.9k|    }
_ZN6spdlog7details11Y_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  286|  10.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11Y_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  288|  3.56k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  289|  3.56k|        const size_t field_size = 4;
  290|  3.56k|        ScopedPadder p(field_size, padinfo_, dest);
  291|  3.56k|        fmt_helper::append_int(tm_time.tm_year + 1900, dest);
  292|  3.56k|    }
_ZN6spdlog7details11D_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  267|  80.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11D_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  269|  26.6k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  270|  26.6k|        const size_t field_size = 8;
  271|  26.6k|        ScopedPadder p(field_size, padinfo_, dest);
  272|       |
  273|  26.6k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  274|  26.6k|        dest.push_back('/');
  275|  26.6k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  276|  26.6k|        dest.push_back('/');
  277|  26.6k|        fmt_helper::pad2(tm_time.tm_year % 100, dest);
  278|  26.6k|    }
_ZN6spdlog7details11m_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  300|  6.12k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11m_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  302|  1.87k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  303|  1.87k|        const size_t field_size = 2;
  304|  1.87k|        ScopedPadder p(field_size, padinfo_, dest);
  305|  1.87k|        fmt_helper::pad2(tm_time.tm_mon + 1, dest);
  306|  1.87k|    }
_ZN6spdlog7details11d_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  314|  34.1k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11d_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  316|  11.3k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  317|  11.3k|        const size_t field_size = 2;
  318|  11.3k|        ScopedPadder p(field_size, padinfo_, dest);
  319|  11.3k|        fmt_helper::pad2(tm_time.tm_mday, dest);
  320|  11.3k|    }
_ZN6spdlog7details11H_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  328|  56.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11H_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  330|  18.6k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  331|  18.6k|        const size_t field_size = 2;
  332|  18.6k|        ScopedPadder p(field_size, padinfo_, dest);
  333|  18.6k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  334|  18.6k|    }
_ZN6spdlog7details11I_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  342|  94.2k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11I_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  344|  31.4k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  345|  31.4k|        const size_t field_size = 2;
  346|  31.4k|        ScopedPadder p(field_size, padinfo_, dest);
  347|  31.4k|        fmt_helper::pad2(to12h(tm_time), dest);
  348|  31.4k|    }
_ZN6spdlog7details11M_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  356|  42.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11M_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  358|  13.9k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  359|  13.9k|        const size_t field_size = 2;
  360|  13.9k|        ScopedPadder p(field_size, padinfo_, dest);
  361|  13.9k|        fmt_helper::pad2(tm_time.tm_min, dest);
  362|  13.9k|    }
_ZN6spdlog7details11S_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  370|  46.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11S_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  372|  15.4k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  373|  15.4k|        const size_t field_size = 2;
  374|  15.4k|        ScopedPadder p(field_size, padinfo_, dest);
  375|  15.4k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  376|  15.4k|    }
_ZN6spdlog7details11e_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  384|  70.7k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11e_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  386|  23.5k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  387|  23.5k|        auto millis = fmt_helper::time_fraction<std::chrono::milliseconds>(msg.time);
  388|  23.5k|        const size_t field_size = 3;
  389|  23.5k|        ScopedPadder p(field_size, padinfo_, dest);
  390|  23.5k|        fmt_helper::pad3(static_cast<uint32_t>(millis.count()), dest);
  391|  23.5k|    }
_ZN6spdlog7details11f_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  399|  30.9k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11f_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  401|  10.2k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  402|  10.2k|        auto micros = fmt_helper::time_fraction<std::chrono::microseconds>(msg.time);
  403|       |
  404|  10.2k|        const size_t field_size = 6;
  405|  10.2k|        ScopedPadder p(field_size, padinfo_, dest);
  406|  10.2k|        fmt_helper::pad6(static_cast<size_t>(micros.count()), dest);
  407|  10.2k|    }
_ZN6spdlog7details11F_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  415|  25.4k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11F_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  417|  8.44k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  418|  8.44k|        auto ns = fmt_helper::time_fraction<std::chrono::nanoseconds>(msg.time);
  419|  8.44k|        const size_t field_size = 9;
  420|  8.44k|        ScopedPadder p(field_size, padinfo_, dest);
  421|  8.44k|        fmt_helper::pad9(static_cast<size_t>(ns.count()), dest);
  422|  8.44k|    }
_ZN6spdlog7details11E_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  430|  46.0k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11E_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  432|  15.3k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  433|  15.3k|        const size_t field_size = 10;
  434|  15.3k|        ScopedPadder p(field_size, padinfo_, dest);
  435|  15.3k|        auto duration = msg.time.time_since_epoch();
  436|  15.3k|        auto seconds = std::chrono::duration_cast<std::chrono::seconds>(duration).count();
  437|  15.3k|        fmt_helper::append_int(seconds, dest);
  438|  15.3k|    }
_ZN6spdlog7details11p_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  446|   208k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11p_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  448|  69.5k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  449|  69.5k|        const size_t field_size = 2;
  450|  69.5k|        ScopedPadder p(field_size, padinfo_, dest);
  451|  69.5k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  452|  69.5k|    }
_ZN6spdlog7details11r_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  460|  35.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11r_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  462|  11.7k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  463|  11.7k|        const size_t field_size = 11;
  464|  11.7k|        ScopedPadder p(field_size, padinfo_, dest);
  465|       |
  466|  11.7k|        fmt_helper::pad2(to12h(tm_time), dest);
  467|  11.7k|        dest.push_back(':');
  468|  11.7k|        fmt_helper::pad2(tm_time.tm_min, dest);
  469|  11.7k|        dest.push_back(':');
  470|  11.7k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  471|  11.7k|        dest.push_back(' ');
  472|  11.7k|        fmt_helper::append_string_view(ampm(tm_time), dest);
  473|  11.7k|    }
_ZN6spdlog7details11R_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  481|  29.6k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11R_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  483|  9.88k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  484|  9.88k|        const size_t field_size = 5;
  485|  9.88k|        ScopedPadder p(field_size, padinfo_, dest);
  486|       |
  487|  9.88k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  488|  9.88k|        dest.push_back(':');
  489|  9.88k|        fmt_helper::pad2(tm_time.tm_min, dest);
  490|  9.88k|    }
_ZN6spdlog7details11T_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  498|  66.8k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details11T_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  500|  22.2k|    void format(const details::log_msg &, const std::tm &tm_time, memory_buf_t &dest) override {
  501|  22.2k|        const size_t field_size = 8;
  502|  22.2k|        ScopedPadder p(field_size, padinfo_, dest);
  503|       |
  504|  22.2k|        fmt_helper::pad2(tm_time.tm_hour, dest);
  505|  22.2k|        dest.push_back(':');
  506|  22.2k|        fmt_helper::pad2(tm_time.tm_min, dest);
  507|  22.2k|        dest.push_back(':');
  508|  22.2k|        fmt_helper::pad2(tm_time.tm_sec, dest);
  509|  22.2k|    }
_ZN6spdlog7details11z_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoENS_17pattern_time_typeE:
  518|  10.8k|        : flag_formatter(padinfo),
  519|  10.8k|          time_type_(time_type) {}
_ZN6spdlog7details11z_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  525|  3.62k|    void format(const details::log_msg &msg, const std::tm &tm_time, memory_buf_t &dest) override {
  526|  3.62k|        const size_t field_size = 6;
  527|  3.62k|        ScopedPadder p(field_size, padinfo_, dest);
  528|       |#ifdef SPDLOG_NO_TZ_OFFSET
  529|       |        const char *str = "+??:??";
  530|       |        dest.append(str, str + 6);
  531|       |#else
  532|  3.62k|        if (time_type_ == pattern_time_type::utc) {
  ------------------
  |  Branch (532:13): [True: 0, False: 3.62k]
  ------------------
  533|      0|            const char *zeroes = "+00:00";
  534|      0|            dest.append(zeroes, zeroes + 6);
  535|      0|            return;
  536|      0|        }
  537|  3.62k|        auto total_minutes = get_cached_offset(msg, tm_time);
  538|  3.62k|        bool is_negative = total_minutes < 0;
  539|  3.62k|        if (is_negative) {
  ------------------
  |  Branch (539:13): [True: 0, False: 3.62k]
  ------------------
  540|      0|            total_minutes = -total_minutes;
  541|      0|            dest.push_back('-');
  542|  3.62k|        } else {
  543|  3.62k|            dest.push_back('+');
  544|  3.62k|        }
  545|       |
  546|  3.62k|        fmt_helper::pad2(total_minutes / 60, dest);  // hours
  547|  3.62k|        dest.push_back(':');
  548|  3.62k|        fmt_helper::pad2(total_minutes % 60, dest);  // minutes
  549|  3.62k|#endif  // SPDLOG_NO_TZ_OFFSET
  550|  3.62k|    }
_ZN6spdlog7details11z_formatterINS0_18null_scoped_padderEE17get_cached_offsetERKNS0_7log_msgERK2tm:
  557|  3.62k|    int get_cached_offset(const log_msg &msg, const std::tm &tm_time) {
  558|       |        // refresh every 10 seconds
  559|  3.62k|        if (msg.time - last_update_ >= std::chrono::seconds(10)) {
  ------------------
  |  Branch (559:13): [True: 3.62k, False: 0]
  ------------------
  560|  3.62k|            offset_minutes_ = os::utc_minutes_offset(tm_time);
  561|  3.62k|            last_update_ = msg.time;
  562|  3.62k|        }
  563|  3.62k|        return offset_minutes_;
  564|  3.62k|    }
_ZN6spdlog7details13pid_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  586|  92.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details13pid_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  588|  30.7k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  589|  30.7k|        const auto pid = static_cast<uint32_t>(details::os::pid());
  590|  30.7k|        auto field_size = ScopedPadder::count_digits(pid);
  591|  30.7k|        ScopedPadder p(field_size, padinfo_, dest);
  592|  30.7k|        fmt_helper::append_int(pid, dest);
  593|  30.7k|    }
_ZN6spdlog7details18null_scoped_padder12count_digitsIjEEjT_:
   98|  30.7k|    static unsigned int count_digits(T /* number */) {
   99|  30.7k|        return 0;
  100|  30.7k|    }
_ZN6spdlog7details25source_location_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  661|  5.61k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_location_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  663|  1.82k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  664|  1.82k|        if (msg.source.empty()) {
  ------------------
  |  Branch (664:13): [True: 1.82k, False: 0]
  ------------------
  665|  1.82k|            ScopedPadder p(0, padinfo_, dest);
  666|  1.82k|            return;
  667|  1.82k|        }
  668|       |
  669|      0|        size_t text_size;
  670|      0|        if (padinfo_.enabled()) {
  ------------------
  |  Branch (670:13): [True: 0, False: 0]
  ------------------
  671|       |            // calc text size for padding based on "filename:line"
  672|      0|            text_size = std::char_traits<char>::length(msg.source.filename) +
  673|      0|                        ScopedPadder::count_digits(msg.source.line) + 1;
  674|      0|        } else {
  675|      0|            text_size = 0;
  676|      0|        }
  677|       |
  678|      0|        ScopedPadder p(text_size, padinfo_, dest);
  679|      0|        fmt_helper::append_string_view(msg.source.filename, dest);
  680|      0|        dest.push_back(':');
  681|      0|        fmt_helper::append_int(msg.source.line, dest);
  682|      0|    }
_ZN6spdlog7details24short_filename_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  708|  4.90k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24short_filename_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  733|  1.62k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  734|  1.62k|        if (msg.source.empty()) {
  ------------------
  |  Branch (734:13): [True: 1.62k, False: 0]
  ------------------
  735|  1.62k|            ScopedPadder p(0, padinfo_, dest);
  736|  1.62k|            return;
  737|  1.62k|        }
  738|      0|        auto filename = basename(msg.source.filename);
  739|      0|        size_t text_size = padinfo_.enabled() ? std::char_traits<char>::length(filename) : 0;
  ------------------
  |  Branch (739:28): [True: 0, False: 0]
  ------------------
  740|      0|        ScopedPadder p(text_size, padinfo_, dest);
  741|      0|        fmt_helper::append_string_view(filename, dest);
  742|      0|    }
_ZN6spdlog7details25source_filename_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  690|  8.90k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_filename_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  692|  2.93k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  693|  2.93k|        if (msg.source.empty()) {
  ------------------
  |  Branch (693:13): [True: 2.93k, False: 0]
  ------------------
  694|  2.93k|            ScopedPadder p(0, padinfo_, dest);
  695|  2.93k|            return;
  696|  2.93k|        }
  697|      0|        size_t text_size =
  698|      0|            padinfo_.enabled() ? std::char_traits<char>::length(msg.source.filename) : 0;
  ------------------
  |  Branch (698:13): [True: 0, False: 0]
  ------------------
  699|      0|        ScopedPadder p(text_size, padinfo_, dest);
  700|      0|        fmt_helper::append_string_view(msg.source.filename, dest);
  701|      0|    }
_ZN6spdlog7details24source_linenum_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  749|  8.42k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details24source_linenum_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  751|  2.80k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  752|  2.80k|        if (msg.source.empty()) {
  ------------------
  |  Branch (752:13): [True: 2.80k, False: 0]
  ------------------
  753|  2.80k|            ScopedPadder p(0, padinfo_, dest);
  754|  2.80k|            return;
  755|  2.80k|        }
  756|       |
  757|      0|        auto field_size = ScopedPadder::count_digits(msg.source.line);
  758|      0|        ScopedPadder p(field_size, padinfo_, dest);
  759|      0|        fmt_helper::append_int(msg.source.line, dest);
  760|      0|    }
_ZN6spdlog7details25source_funcname_formatterINS0_18null_scoped_padderEEC2ENS0_12padding_infoE:
  768|  15.3k|        : flag_formatter(padinfo) {}
_ZN6spdlog7details25source_funcname_formatterINS0_18null_scoped_padderEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSB_6detail9allocatorIcEEEE:
  770|  5.08k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  771|  5.08k|        if (msg.source.empty()) {
  ------------------
  |  Branch (771:13): [True: 5.08k, False: 0]
  ------------------
  772|  5.08k|            ScopedPadder p(0, padinfo_, dest);
  773|  5.08k|            return;
  774|  5.08k|        }
  775|      0|        size_t text_size =
  776|      0|            padinfo_.enabled() ? std::char_traits<char>::length(msg.source.funcname) : 0;
  ------------------
  |  Branch (776:13): [True: 0, False: 0]
  ------------------
  777|      0|        ScopedPadder p(text_size, padinfo_, dest);
  778|      0|        fmt_helper::append_string_view(msg.source.funcname, dest);
  779|      0|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEEC2ENS0_12padding_infoE:
  789|  25.8k|        : flag_formatter(padinfo),
  790|  25.8k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  792|  8.56k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  793|  8.56k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  794|  8.56k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  795|  8.56k|        last_message_time_ = msg.time;
  796|  8.56k|        auto delta_count = static_cast<size_t>(delta_units.count());
  797|  8.56k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  798|  8.56k|        ScopedPadder p(n_digits, padinfo_, dest);
  799|  8.56k|        fmt_helper::append_int(delta_count, dest);
  800|  8.56k|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEEC2ENS0_12padding_infoE:
  789|  85.9k|        : flag_formatter(padinfo),
  790|  85.9k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  792|  28.6k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  793|  28.6k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  794|  28.6k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  795|  28.6k|        last_message_time_ = msg.time;
  796|  28.6k|        auto delta_count = static_cast<size_t>(delta_units.count());
  797|  28.6k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  798|  28.6k|        ScopedPadder p(n_digits, padinfo_, dest);
  799|  28.6k|        fmt_helper::append_int(delta_count, dest);
  800|  28.6k|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEEC2ENS0_12padding_infoE:
  789|  10.0k|        : flag_formatter(padinfo),
  790|  10.0k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1000EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  792|  3.34k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  793|  3.34k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  794|  3.34k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  795|  3.34k|        last_message_time_ = msg.time;
  796|  3.34k|        auto delta_count = static_cast<size_t>(delta_units.count());
  797|  3.34k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  798|  3.34k|        ScopedPadder p(n_digits, padinfo_, dest);
  799|  3.34k|        fmt_helper::append_int(delta_count, dest);
  800|  3.34k|    }
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEEC2ENS0_12padding_infoE:
  789|   157k|        : flag_formatter(padinfo),
  790|   157k|          last_message_time_(log_clock::now()) {}
_ZN6spdlog7details17elapsed_formatterINS0_18null_scoped_padderENSt3__16chrono8durationIxNS3_5ratioILl1ELl1EEEEEE6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENSH_6detail9allocatorIcEEEE:
  792|  52.5k|    void format(const details::log_msg &msg, const std::tm &, memory_buf_t &dest) override {
  793|  52.5k|        auto delta = (std::max)(msg.time - last_message_time_, log_clock::duration::zero());
  794|  52.5k|        auto delta_units = std::chrono::duration_cast<DurationUnits>(delta);
  795|  52.5k|        last_message_time_ = msg.time;
  796|  52.5k|        auto delta_count = static_cast<size_t>(delta_units.count());
  797|  52.5k|        auto n_digits = static_cast<size_t>(ScopedPadder::count_digits(delta_count));
  798|  52.5k|        ScopedPadder p(n_digits, padinfo_, dest);
  799|  52.5k|        fmt_helper::append_int(delta_count, dest);
  800|  52.5k|    }
_ZN6spdlog7details19aggregate_formatterC2Ev:
  624|  2.00M|    aggregate_formatter() = default;
_ZN6spdlog7details19aggregate_formatter6formatERKNS0_7log_msgERK2tmRN3fmt3v1219basic_memory_bufferIcLm250ENS9_6detail9allocatorIcEEEE:
  627|   663k|    void format(const details::log_msg &, const std::tm &, memory_buf_t &dest) override {
  628|   663k|        fmt_helper::append_string_view(str_, dest);
  629|   663k|    }
_ZN6spdlog7details19aggregate_formatter6add_chEc:
  626|  75.2M|    void add_ch(char ch) { str_ += ch; }
_ZN6spdlog17pattern_formatter11set_patternENSt3__112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE:
 1006|  1.46k|SPDLOG_INLINE void pattern_formatter::set_pattern(std::string pattern) {
 1007|  1.46k|    pattern_ = std::move(pattern);
 1008|  1.46k|    need_localtime_ = false;
 1009|  1.46k|    compile_pattern_(pattern_);
 1010|  1.46k|}
_ZN6spdlog17pattern_formatter6formatERKNS_7details7log_msgERN3fmt3v1219basic_memory_bufferIcLm250ENS6_6detail9allocatorIcEEEE:
  989|  1.04k|SPDLOG_INLINE void pattern_formatter::format(const details::log_msg &msg, memory_buf_t &dest) {
  990|  1.04k|    if (need_localtime_) {
  ------------------
  |  Branch (990:9): [True: 854, False: 187]
  ------------------
  991|    854|        const auto secs =
  992|    854|            std::chrono::duration_cast<std::chrono::seconds>(msg.time.time_since_epoch());
  993|    854|        if (secs != last_log_secs_) {
  ------------------
  |  Branch (993:13): [True: 854, False: 0]
  ------------------
  994|    854|            cached_tm_ = get_time_(msg);
  995|    854|            last_log_secs_ = secs;
  996|    854|        }
  997|    854|    }
  998|       |
  999|  2.26M|    for (auto &f : formatters_) {
  ------------------
  |  Branch (999:18): [True: 2.26M, False: 1.04k]
  ------------------
 1000|  2.26M|        f->format(msg, cached_tm_, dest);
 1001|  2.26M|    }
 1002|       |    // write eol
 1003|  1.04k|    details::fmt_helper::append_string_view(eol_, dest);
 1004|  1.04k|}
_ZNK6spdlog17pattern_formatter9get_time_ERKNS_7details7log_msgE:
 1014|    854|SPDLOG_INLINE std::tm pattern_formatter::get_time_(const details::log_msg &msg) const {
 1015|    854|    if (pattern_time_type_ == pattern_time_type::local) {
  ------------------
  |  Branch (1015:9): [True: 854, False: 0]
  ------------------
 1016|    854|        return details::os::localtime(log_clock::to_time_t(msg.time));
 1017|    854|    }
 1018|      0|    return details::os::gmtime(log_clock::to_time_t(msg.time));
 1019|    854|}

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

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

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

_ZN6spdlog5sinks9base_sinkINSt3__15mutexEEC2Ev:
   18|      1|    : formatter_{details::make_unique<spdlog::pattern_formatter>()} {}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE3logERKNS_7details7log_msgE:
   26|  1.04k|void SPDLOG_INLINE spdlog::sinks::base_sink<Mutex>::log(const details::log_msg &msg) {
   27|  1.04k|    std::lock_guard<Mutex> lock(mutex_);
   28|  1.04k|    sink_it_(msg);
   29|  1.04k|}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE13set_formatterENS2_10unique_ptrINS_9formatterENS2_14default_deleteIS6_EEEE:
   45|  1.46k|spdlog::sinks::base_sink<Mutex>::set_formatter(std::unique_ptr<spdlog::formatter> sink_formatter) {
   46|  1.46k|    std::lock_guard<Mutex> lock(mutex_);
   47|  1.46k|    set_formatter_(std::move(sink_formatter));
   48|  1.46k|}
_ZN6spdlog5sinks9base_sinkINSt3__15mutexEE14set_formatter_ENS2_10unique_ptrINS_9formatterENS2_14default_deleteIS6_EEEE:
   57|  1.46k|spdlog::sinks::base_sink<Mutex>::set_formatter_(std::unique_ptr<spdlog::formatter> sink_formatter) {
   58|  1.46k|    formatter_ = std::move(sink_formatter);
   59|  1.46k|}

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

_ZN6spdlog5sinks15basic_file_sinkINSt3__15mutexEEC2ERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEbRKNS_19file_event_handlersE:
   20|      1|    : file_helper_{event_handlers} {
   21|      1|    file_helper_.open(filename, truncate);
   22|      1|}
_ZN6spdlog5sinks15basic_file_sinkINSt3__15mutexEE8sink_it_ERKNS_7details7log_msgE:
   36|  1.04k|SPDLOG_INLINE void basic_file_sink<Mutex>::sink_it_(const details::log_msg &msg) {
   37|  1.04k|    memory_buf_t formatted;
   38|  1.04k|    base_sink<Mutex>::formatter_->format(msg, formatted);
   39|  1.04k|    file_helper_.write(formatted);
   40|  1.04k|}

_ZN6spdlog15basic_logger_mtINS_19synchronous_factoryEEENSt3__110shared_ptrINS_6loggerEEERKNS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEESD_bRKNS_19file_event_handlersE:
   48|      1|                                               const file_event_handlers &event_handlers = {}) {
   49|      1|    return Factory::template create<sinks::basic_file_sink_mt>(logger_name, filename, truncate,
   50|      1|                                                               event_handlers);
   51|      1|}

_ZNK6spdlog5sinks4sink10should_logENS_5level10level_enumE:
   12|  1.04k|SPDLOG_INLINE bool spdlog::sinks::sink::should_log(spdlog::level::level_enum msg_level) const {
   13|  1.04k|    return msg_level >= level_.load(std::memory_order_relaxed);
   14|  1.04k|}

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

_ZN6spdlog18set_default_loggerENSt3__110shared_ptrINS_6loggerEEE:
   88|      1|SPDLOG_INLINE void set_default_logger(std::shared_ptr<spdlog::logger> default_logger) {
   89|      1|    details::registry::instance().set_default_logger(std::move(default_logger));
   90|      1|}
_ZN6spdlog13set_formatterENSt3__110unique_ptrINS_9formatterENS0_14default_deleteIS2_EEEE:
   23|  1.46k|SPDLOG_INLINE void set_formatter(std::unique_ptr<spdlog::formatter> formatter) {
   24|  1.46k|    details::registry::instance().set_formatter(std::move(formatter));
   25|  1.46k|}
_ZN6spdlog18default_logger_rawEv:
   84|  1.46k|SPDLOG_INLINE spdlog::logger *default_logger_raw() {
   85|  1.46k|    return details::registry::instance().get_default_raw();
   86|  1.46k|}

_ZN6spdlog4infoIJRKmS2_RKNSt3__112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEEEEEvN3fmt3v127fstringIJDpT_EE1tEDpOSF_:
  172|  1.46k|inline void info(format_string_t<Args...> fmt, Args &&...args) {
  173|  1.46k|    default_logger_raw()->info(fmt, std::forward<Args>(args)...);
  174|  1.46k|}

