Converted log output bitfield to std::bitset.
Added instrumentation to polling and socket events.
Align scheduled events from thread_disk to rounded seconds.