https://github.com/dacap/stopwatch
https://github.com/dacap/stopwatch
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dacap/stopwatch
- Owner: dacap
- License: mit
- Created: 2019-08-30T03:33:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-30T10:59:22.000Z (almost 7 years ago)
- Last Synced: 2025-02-28T16:19:11.672Z (over 1 year ago)
- Language: C++
- Size: 1000 Bytes
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Stopwatch
*Copyright (C) 2019 David Capello*
[](LICENSE.txt)
Outputs the time elapsed since the `Stopwatch()` constructor or the
last `watch()`/`reset()` call.
Usage:
```c++
{
Stopwatch a;
...
a.watch("first algorithm");
...
a.watch("second algorithm");
...
a.watch("third algorithm");
}
```