Provides various performance measuring methods.
Thread safe. Matching begin* \ end* calls must belong to the same thread though.
Static
Begins sample measurement. Must be followed by endSample().
Unique name for the sample you can later use to find the sampling data.
Ends sample measurement.
Unique name for the sample.
Unique name is primarily needed to more easily identify mismatched begin/end sample pairs. Otherwise the name in beginSample() would be enough.
Provides various performance measuring methods.
Note
Thread safe. Matching begin* \ end* calls must belong to the same thread though.