|
Pol
Revision:cb584c9
|
Go to the source code of this file.
Classes | |
| struct | Pol::Core::ProfileVars |
Namespaces | |
| Pol | |
| Pol::Core | |
Macros | |
| #define | CLOCK_PROFILEVAR(timer) clock_t tmr_##timer##_clocks_this_min, tmr_##timer##_clocks_last_min, tmr_##timer##_clock_start |
| #define | DEF_PROFILEVAR(counter) unsigned int prf_##counter, prf_last_##counter, prf_last_##counter##_per_min |
| #define | GET_PROFILECLOCK(timer) Core::stateManager.profilevars.tmr_##timer##_clocks_last_min |
| #define | GET_PROFILECLOCK_MS(timer) |
| #define | GET_PROFILEVAR(counter) Core::stateManager.profilevars.prf_##counter |
| #define | GET_PROFILEVAR_PER_MIN(counter) Core::stateManager.profilevars.prf_last_##counter##_per_min |
| #define | INC_PROFILEVAR(counter) ++Core::stateManager.profilevars.prf_##counter |
| #define | INC_PROFILEVAR_BY(counter, amount) Core::stateManager.profilevars.prf_##counter += amount |
| #define | ROLL_PROFILECLOCK(timer) |
| #define | SET_PROFILEVAR(counter, newvalue) Core::stateManager.profilevars.prf_##counter = newvalue |
| #define | START_PROFILECLOCK(timer) Core::stateManager.profilevars.tmr_##timer##_clock_start = clock() |
| #define | STOP_PROFILECLOCK(timer) |
| #define | TICK_PROFILEVAR(counter) |
Definition in file profile.h.
| #define CLOCK_PROFILEVAR | ( | timer | ) | clock_t tmr_##timer##_clocks_this_min, tmr_##timer##_clocks_last_min, tmr_##timer##_clock_start |
| #define DEF_PROFILEVAR | ( | counter | ) | unsigned int prf_##counter, prf_last_##counter, prf_last_##counter##_per_min |
| #define GET_PROFILECLOCK | ( | timer | ) | Core::stateManager.profilevars.tmr_##timer##_clocks_last_min |
| #define GET_PROFILECLOCK_MS | ( | timer | ) |
| #define GET_PROFILEVAR | ( | counter | ) | Core::stateManager.profilevars.prf_##counter |
Definition at line 99 of file profile.h.
Referenced by Pol::Core::log_all_script_cycle_counts().
| #define GET_PROFILEVAR_PER_MIN | ( | counter | ) | Core::stateManager.profilevars.prf_last_##counter##_per_min |
Definition at line 100 of file profile.h.
Referenced by Pol::Module::GetCoreVariable(), and Pol::Core::update_rpm().
| #define INC_PROFILEVAR | ( | counter | ) | ++Core::stateManager.profilevars.prf_##counter |
Definition at line 85 of file profile.h.
Referenced by Pol::Core::UContainer::add(), Pol::Mobile::Character::attack(), Pol::Core::check_blocked(), Pol::Core::check_scheduled_tasks(), Pol::Mobile::Character::check_skill(), Pol::Module::UOExecutorModule::mf_CreateNpcFromTemplate(), Pol::Core::UContainer::remove(), Pol::Module::OSExecutorModule::signal_event(), and Pol::Core::tasks_thread().
| #define INC_PROFILEVAR_BY | ( | counter, | |
| amount | |||
| ) | Core::stateManager.profilevars.prf_##counter += amount |
Definition at line 87 of file profile.h.
Referenced by Pol::Core::check_scheduled_tasks().
| #define ROLL_PROFILECLOCK | ( | timer | ) |
Definition at line 108 of file profile.h.
Referenced by Pol::Core::update_rpm().
| #define SET_PROFILEVAR | ( | counter, | |
| newvalue | |||
| ) | Core::stateManager.profilevars.prf_##counter = newvalue |
Definition at line 86 of file profile.h.
Referenced by Pol::Core::update_rpm().
| #define START_PROFILECLOCK | ( | timer | ) | Core::stateManager.profilevars.tmr_##timer##_clock_start = clock() |
Definition at line 103 of file profile.h.
Referenced by Pol::Module::UOExecutorModule::mf_CreateNpcFromTemplate().
| #define STOP_PROFILECLOCK | ( | timer | ) |
Definition at line 105 of file profile.h.
Referenced by Pol::Module::UOExecutorModule::mf_CreateNpcFromTemplate().
| #define TICK_PROFILEVAR | ( | counter | ) |
Definition at line 89 of file profile.h.
Referenced by Pol::Core::update_rpm().