mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
Added stopwatch example to README.md
This commit is contained in:
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…
Reference in New Issue
Block a user