Added stopwatch example to README.md

pull/1685/head
gabime 5 years ago
parent 0348556aac
commit d5048b8b0c

@ -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()
{ {

Loading…
Cancel
Save