Definition at line 1035 of file gtest.cc.
◆ Timer()
testing::internal::Timer::Timer |
( |
| ) |
|
|
inline |
Definition at line 1037 of file gtest.cc.
1037: start_(std::chrono::steady_clock::now()) {}
◆ Elapsed()
Definition at line 1040 of file gtest.cc.
1040 {
1041 return std::chrono::duration_cast<std::chrono::milliseconds>(
1042 std::chrono::steady_clock::now() - start_)
1043 .count();
1044 }
The documentation for this class was generated from the following file:
- /media/home/debian/src/github/tesseract-ocr/tesseract/unittest/third_party/googletest/googletest/src/gtest.cc