|
spdlog
|
Go to the source code of this file.
#include "spdlog/spdlog.h"#include "spdlog/async.h"#include "spdlog/sinks/basic_file_sink.h"#include "spdlog/fmt/bundled/format.h"#include "utils.h"#include <atomic>#include <iostream>#include <memory>#include <string>#include <thread>Functions | |
| void | bench_mt (int howmany, std::shared_ptr< spdlog::logger > log, int thread_count) |
| int | count_lines (const char *filename) |
| void | verify_file (const char *filename, int expected_count) |
| int | main (int argc, char *argv[]) |
| void | thread_fun (std::shared_ptr< spdlog::logger > logger, int howmany) |
| void bench_mt | ( | int | howmany, |
| std::shared_ptr< spdlog::logger > | log, | ||
| int | thread_count | ||
| ) |
Definition at line 160 of file async_bench.cpp.
Definition at line 39 of file async_bench.cpp.
Definition at line 70 of file async_bench.cpp.
| void thread_fun | ( | std::shared_ptr< spdlog::logger > | logger, |
| int | howmany | ||
| ) |
Definition at line 152 of file async_bench.cpp.
Definition at line 54 of file async_bench.cpp.