Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spdlog
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
spdlog
Commits
677a2d93
Unverified
Commit
677a2d93
authored
May 09, 2025
by
Gabi Melman
Committed by
GitHub
May 09, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test_stopwatch.cpp
parent
6fa36017
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tests/test_stopwatch.cpp
+2
-2
No files found.
tests/test_stopwatch.cpp
View file @
677a2d93
...
...
@@ -5,7 +5,7 @@
TEST_CASE
(
"stopwatch1"
,
"[stopwatch]"
)
{
using
std
::
chrono
::
milliseconds
;
using
clock
=
std
::
chrono
::
steady_clock
;
milliseconds
wait_ms
(
2
00
);
milliseconds
wait_ms
(
5
00
);
milliseconds
tolerance_ms
(
250
);
auto
start
=
clock
::
now
();
spdlog
::
stopwatch
sw
;
...
...
@@ -22,7 +22,7 @@ TEST_CASE("stopwatch2", "[stopwatch]") {
using
std
::
chrono
::
milliseconds
;
using
clock
=
std
::
chrono
::
steady_clock
;
clock
::
duration
wait_duration
(
milliseconds
(
2
00
));
clock
::
duration
wait_duration
(
milliseconds
(
5
00
));
clock
::
duration
tolerance_duration
(
milliseconds
(
250
));
auto
test_sink
=
std
::
make_shared
<
test_sink_st
>
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment