ewmscp
..
|
#include <timer.h>
Public Member Functions | |
instanceUnscoped (anchor &aAnchor) | |
void | stop () |
template<class T > | |
void | stop (clock_type::duration timeout, const T &object) |
void | restart () |
Static Public Member Functions | |
static void | updateMax (std::atomic< std::int64_t > &max, std::int64_t val) |
static const std::string & | stringy (const std::string &s) |
static const std::string | stringy (const std::vector< char > &s) |
Private Attributes | |
anchor & | lAnchor |
clock_type::time_point | start |
|
inline |
|
inline |
Definition at line 133 of file timer.h.
References start.
Referenced by inputHandler::posixFile::PosixDirectory::getNextEntry(), handleDir(), and runnerType::process().
|
inline |
Definition at line 107 of file timer.h.
References timer::anchor::counter, lAnchor, timer::anchor::maxTimeSpent, start, timer::anchor::timeSpent, and updateMax().
Referenced by outputHandler::libssh::writerLibssh::closeAndRemoveBadCopy(), outputHandler::libssh::ensureParentDirs(), outputHandler::posixFile::ensureParentDirs(), outputHandler::daosFs::ensureParentDirs(), daosFsIoCommon::attrDataType::fill(), inputHandler::posixFile::PosixDirectory::getNextEntry(), handleDir(), runnerType::process(), outputHandler::Gpfs::rename(), outputHandler::posixFile::rename(), outputHandler::daosFs::rename(), outputHandler::posixFile::writerPosixFile::writeBlock(), outputHandler::daosFs::writerDaosFs::writeBlock(), outputHandler::libssh::writerLibssh::writerLibssh(), timer::instance::~instance(), and timer::instanceWithTimeout< T >::~instanceWithTimeout().
|
inline |
Definition at line 121 of file timer.h.
References timer::anchor::counter, errMsg::debug, errMsg::emit(), timer::anchor::file, timer::anchor::function, lAnchor, timer::anchor::line, timer::anchor::maxTimeSpent, start, stringy(), timer::anchor::subfunc, timer::anchor::timeSpent, and updateMax().
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
private |
|
private |
Definition at line 97 of file timer.h.
Referenced by instanceUnscoped(), restart(), and stop().