NIST Fingerprint Image Quality 2
Fingerprint image quality assessment tool
nfiq2_timer.hpp
Go to the documentation of this file.
1/*
2 * This file is part of NIST Fingerprint Image Quality (NFIQ) 2. For more
3 * information on this project, refer to:
4 * - https://nist.gov/services-resources/software/nfiq2
5 * - https://github.com/usnistgov/NFIQ2
6 *
7 * This work is in the public domain. For complete licensing details, refer to:
8 * - https://github.com/usnistgov/NFIQ2/blob/master/LICENSE.md
9 */
10
11#ifndef NFIQ2_TIMER_HPP_
12#define NFIQ2_TIMER_HPP_
13
14#include <chrono>
15
16namespace NFIQ2 {
17
19class Timer {
20 public:
27 void start();
28
37
45 double stop();
46
47 private:
49 std::chrono::steady_clock::time_point startTime {};
51 std::chrono::steady_clock::time_point endTime {};
52};
53} // namespace NFIQ
54
55#endif /* NFIQ2_TIMER_HPP_ */
Used to calculate speed of internal operations.
Definition: nfiq2_timer.hpp:19
double stop()
Stop the timer.
double getElapsedTime()
Obtain the elapsed time.
void start()
Start the timer.
Classes and functions that contribute to the calculation of NFIQ 2 quality scores.
Definition: nfiq2.hpp:97