Merge branch '2.2' into develop

This commit is contained in:
Markus Mäkelä
2018-06-06 08:56:31 +03:00
26 changed files with 140 additions and 57 deletions

View File

@ -304,6 +304,7 @@ void MariaDBMonitor::main()
while (!should_shutdown())
{
atomic_add_uint64(&m_monitor->ticks, 1);
timespec loop_start;
/* Coarse time has resolution ~1ms (as opposed to 1ns) but this is enough. */
clock_gettime(CLOCK_MONOTONIC_COARSE, &loop_start);