|
NIST Biometric Evaluation Framework
Software components for biometric technology evaluations
|
Support for time and timers. More...
Classes | |
| class | Timer |
| This class can be used by applications to report the amount of time a block of code takes to execute. More... | |
| class | Watchdog |
| A Watchdog object can be used by applications to limit the amount of processing time taken by a block of code. More... | |
Functions | |
| std::string | getCurrentTime () |
| std::string | getCurrentDate () |
| std::string | getCurrentDateAndTime () |
| std::string | getCurrentCalendarInformation (const std::string &formatString) |
| Obtain customized calendar information. More... | |
| std::string | put_time (const struct tm *tmb, const char *fmt) |
| Manual implementation of std::put_time. More... | |
| std::ostream & | operator<< (std::ostream &s, const Timer &timer) |
| Output stream operator overload for Timer. More... | |
| void | WatchdogSignalHandler (int signo, siginfo_t *info, void *uap) |
Variables | |
| const uint64_t | OneSecond = 1000000 |
| const uint64_t | OneHalfSecond = 500000 |
| const uint64_t | OneQuarterSecond = 250000 |
| const uint64_t | OneEighthSecond = 125000 |
| const int | NanosecondsPerMicrosecond = 1000 |
| const int | MicrosecondsPerSecond = 1000000 |
| const int | MicrosecondsPerMillisecond = 1000 |
| const int | MillisecondsPerSecond = 1000 |
Support for time and timers.
The Time package gathers all timing relating matters, such as Timers, Watchdog timers, etc. Time values are in microsecond units.
| std::string BiometricEvaluation::Time::getCurrentTime | ( | ) |
| std::string BiometricEvaluation::Time::getCurrentDate | ( | ) |
| std::string BiometricEvaluation::Time::getCurrentDateAndTime | ( | ) |
| std::string BiometricEvaluation::Time::getCurrentCalendarInformation | ( | const std::string & | formatString | ) |
Obtain customized calendar information.
| formatString | A C++11 put_time-compatible format string. |
| std::string BiometricEvaluation::Time::put_time | ( | const struct tm * | tmb, |
| const char * | fmt | ||
| ) |
Manual implementation of std::put_time.
| std::ostream & BiometricEvaluation::Time::operator<< | ( | std::ostream & | s, |
| const Timer & | timer | ||
| ) |
| void BiometricEvaluation::Time::WatchdogSignalHandler | ( | int | signo, |
| siginfo_t * | info, | ||
| void * | uap | ||
| ) |
| const uint64_t BiometricEvaluation::Time::OneSecond = 1000000 |
| const uint64_t BiometricEvaluation::Time::OneHalfSecond = 500000 |
| const uint64_t BiometricEvaluation::Time::OneQuarterSecond = 250000 |
| const uint64_t BiometricEvaluation::Time::OneEighthSecond = 125000 |
| const int BiometricEvaluation::Time::NanosecondsPerMicrosecond = 1000 |
| const int BiometricEvaluation::Time::MicrosecondsPerSecond = 1000000 |
| const int BiometricEvaluation::Time::MicrosecondsPerMillisecond = 1000 |