MySQL 8.4.3
Source Code Documentation
|
Replacement of system's struct timeval to ensure we can carry 64 bit values even on a platform which has 64 bits time, but only 32 bits tv_sec member, notably Windows. More...
#include <my_time_t.h>
Public Attributes | |
int64_t | m_tv_sec |
int64_t | m_tv_usec |
Replacement of system's struct timeval to ensure we can carry 64 bit values even on a platform which has 64 bits time, but only 32 bits tv_sec member, notably Windows.
We do use the system timeval when interfacing the C API calls, though, so in a few cases, e.g. by THD::{start_time, user_time}, we need to convert between representations but mostly the struct is only used internally by MySQL so we can use our own.
int64_t my_timeval::m_tv_sec |
int64_t my_timeval::m_tv_usec |