NIST Fingerprint Image Quality 2
Fingerprint image quality assessment tool
Loading...
Searching...
No Matches
include
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
16
namespace
NFIQ2
{
17
19
class
Timer
{
20
public
:
27
void
start
();
28
36
double
getElapsedTime
();
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_ */
NFIQ2::Timer
Used to calculate speed of internal operations.
Definition
nfiq2_timer.hpp:19
NFIQ2::Timer::stop
double stop()
Stop the timer.
NFIQ2::Timer::getElapsedTime
double getElapsedTime()
Obtain the elapsed time.
NFIQ2::Timer::start
void start()
Start the timer.
NFIQ2
Classes and functions that contribute to the calculation of unified quality scores.
Definition
nfiq2.hpp:103
Generated by
1.11.0