[Interest] Event inspection after delivery

Sérgio Martins iamsergio at gmail.com
Sun Jul 22 18:08:31 CEST 2018


On Sun, Jul 22, 2018 at 11:26 AM, Konstantin Shegunov
<kshegunov at gmail.com> wrote:
> Hello,
> Is there any way to inspect an event that was delivered, just after the
> fact? Looking at the source it seems the only way to do this is to have
> QObject::event or QCoreApplication::notify overridden, is that correct?
>
> I'm interested in QEvent::MetaCall specifically. I want to collect some
> statistics about slot execution times.

For statistics you probably want to use tracepoints [1].


[1] http://lists.qt-project.org/pipermail/development/2017-February/028762.html

--
Regards,
Sergio Martins



More information about the Interest mailing list