#include <ado_db_helper.h>
Definition at line 188 of file ado_db_helper.h.
◆ timing_guard()
| epee::ado_db_helper::timing_guard::timing_guard |
( |
const std::string & | sql | ) |
|
|
inline |
Definition at line 194 of file ado_db_helper.h.
195 {
196 m_start_time = ::GetTickCount();
197 m_sql = sql;
198 }
◆ ~timing_guard()
| epee::ado_db_helper::timing_guard::~timing_guard |
( |
| ) |
|
|
inline |
Definition at line 200 of file ado_db_helper.h.
201 {
202 DWORD timing = ::GetTickCount() - m_start_time;
204 }
bool push_timing(const std::string sql, DWORD time)
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/contrib/epee/include/ado_db_helper.h