mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
Added stopwatch example to README.md
This commit is contained in:
@@ -172,7 +172,7 @@ 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).
|
||||||
#include "spdlog/stopwatch.h"
|
#include "spdlog/stopwatch.h"
|
||||||
void stopwatch_example()
|
void stopwatch_example()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user