Commit d5048b8b authored by gabime's avatar gabime

Added stopwatch example to README.md

parent 0348556a
...@@ -173,7 +173,6 @@ spdlog::flush_every(std::chrono::seconds(3)); ...@@ -173,7 +173,6 @@ spdlog::flush_every(std::chrono::seconds(3));
#### Stopwatch #### Stopwatch
```c++ ```c++
// Stopwatch support for spdlog (using std::chrono::high_resolution_clock). // Stopwatch support for spdlog (using std::chrono::high_resolution_clock).
// Displays elapsed seconds since construction as double.
#include "spdlog/stopwatch.h" #include "spdlog/stopwatch.h"
void stopwatch_example() void stopwatch_example()
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment