Classes | |
| class | common::ProfilerItem |
| Pozycja danych profilera. More... | |
| class | common::Profiler |
| Profiler. More... | |
| class | common::Profile |
| Klasa, której obiekt możesz dla wygody utworzyć zamiast wywoływać Begin i End profilera. More... | |
| class | common::FlatProfiler< KeyT, KeyTraits > |
| Class to measure duration of some code in a flat manner, without any hierarchy. More... | |
| class | common::FlatProfilerSampler< KeyT, KeyTraits > |
| Support RIAA class to collect time sample for FlatProfiler. More... | |
Defines | |
| #define | PROFILE_GUARD(profiler, Name) common::Profile __profile_guard_object(profiler, Name); |
Enumerations | |
| enum | common::PROFILER_UNITS { common::PROFILER_UNITS_MILLISECONDS, common::PROFILER_UNITS_SECONDS } |
Functions | |
| void | common::FlatProfiler::Clear () |
| Clears all the remembered results. | |
| void | common::FlatProfiler::AddSample (const KeyT &key, GameTime timeInterval) |
| Registers new sample collected by custom time measurement. | |
| void | common::FlatProfiler::FormatString (tstring *out, PROFILER_UNITS units) |
| Returns multiline string with all results in unsorted order. | |
Documentation: Module_Profiler
Header: Profiler.hpp
| #define PROFILE_GUARD | ( | profiler, | |||
| Name | ) | common::Profile __profile_guard_object(profiler, Name); |
Dla jeszcze więszej wygody, zamiast tworzyć obiekt klasy Profile wystarczy na początku guardowanej do profilowania funkcji czy dowolnego bloku { } postawić to makro.
| void common::FlatProfiler< KeyT, KeyTraits >::AddSample | ( | const KeyT & | key, | |
| GameTime | timeInterval | |||
| ) | [inline, inherited] |
Registers new sample collected by custom time measurement.
| void common::FlatProfiler< KeyT, KeyTraits >::Clear | ( | ) | [inline, inherited] |
Clears all the remembered results.
| void common::FlatProfiler< KeyT, KeyTraits >::FormatString | ( | tstring * | out, | |
| PROFILER_UNITS | units | |||
| ) | [inline, inherited] |
Returns multiline string with all results in unsorted order.
1.6.1