Pol  Revision:cb584c9
Pol::Core::ProfileVars Struct Reference

#include <profile.h>

Public Member Functions

 CLOCK_PROFILEVAR (npc_search)
 
 DEF_PROFILEVAR (events)
 
 DEF_PROFILEVAR (skill_checks)
 
 DEF_PROFILEVAR (combat_operations)
 
 DEF_PROFILEVAR (los_checks)
 
 DEF_PROFILEVAR (polmap_walkheight_calculations)
 
 DEF_PROFILEVAR (uomap_walkheight_calculations)
 
 DEF_PROFILEVAR (mobile_movements)
 
 DEF_PROFILEVAR (error_creations)
 
 DEF_PROFILEVAR (tasks_ontime)
 
 DEF_PROFILEVAR (tasks_late)
 
 DEF_PROFILEVAR (tasks_late_ticks)
 
 DEF_PROFILEVAR (scripts_ontime)
 
 DEF_PROFILEVAR (scripts_late)
 
 DEF_PROFILEVAR (scripts_late_ticks)
 
 DEF_PROFILEVAR (scheduler_passes)
 
 DEF_PROFILEVAR (noactivity_scheduler_passes)
 
 DEF_PROFILEVAR (npc_searches)
 
 DEF_PROFILEVAR (container_adds)
 
 DEF_PROFILEVAR (container_removes)
 

Public Attributes

size_t busy_sysload_cycles
 
size_t last_busy_sysload_cycles
 
u64 last_cpu_total
 
size_t last_cputime
 
u64 last_instructions
 
size_t last_mapcache_hits
 
size_t last_mapcache_misses
 
size_t last_nonbusy_sysload_cycles
 
size_t last_rotations
 
size_t last_rpm
 
size_t last_scpm
 
u64 last_script_passes
 
size_t last_script_passes_activity
 
size_t last_script_passes_noactivity
 
size_t last_sipm
 
u64 last_sleep_cycles
 
size_t last_sppm
 
size_t last_sysload
 
size_t last_sysload_nprocs
 
size_t mapcache_hits
 
size_t mapcache_misses
 
size_t nonbusy_sysload_cycles
 
size_t rotations
 
u64 script_passes
 
std::atomic< size_t > script_passes_activity
 
std::atomic< size_t > script_passes_noactivity
 
u64 sleep_cycles
 
size_t sysload_nprocs
 

Detailed Description

Definition at line 26 of file profile.h.

Member Function Documentation

Pol::Core::ProfileVars::CLOCK_PROFILEVAR ( npc_search  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( events  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( skill_checks  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( combat_operations  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( los_checks  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( polmap_walkheight_calculations  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( uomap_walkheight_calculations  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( mobile_movements  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( error_creations  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( tasks_ontime  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( tasks_late  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( tasks_late_ticks  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( scripts_ontime  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( scripts_late  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( scripts_late_ticks  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( scheduler_passes  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( noactivity_scheduler_passes  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( npc_searches  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( container_adds  )
Pol::Core::ProfileVars::DEF_PROFILEVAR ( container_removes  )

Member Data Documentation

size_t Pol::Core::ProfileVars::busy_sysload_cycles

Definition at line 61 of file profile.h.

Referenced by Pol::Core::update_rpm(), and Pol::Core::update_sysload().

size_t Pol::Core::ProfileVars::last_busy_sysload_cycles

Definition at line 61 of file profile.h.

Referenced by Pol::Core::update_rpm().

u64 Pol::Core::ProfileVars::last_cpu_total

Definition at line 66 of file profile.h.

Referenced by Pol::Core::setup_update_rpm(), and Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_cputime

Definition at line 67 of file profile.h.

Referenced by Pol::Core::setup_update_rpm(), and Pol::Core::update_rpm().

u64 Pol::Core::ProfileVars::last_instructions

Definition at line 54 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_mapcache_hits

Definition at line 81 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_mapcache_misses

Definition at line 82 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_nonbusy_sysload_cycles

Definition at line 62 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_rotations

Definition at line 50 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_rpm

Definition at line 51 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_scpm

Definition at line 59 of file profile.h.

Referenced by Pol::Core::update_rpm().

u64 Pol::Core::ProfileVars::last_script_passes

Definition at line 70 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_script_passes_activity

Definition at line 78 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_script_passes_noactivity

Definition at line 79 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_sipm

Definition at line 55 of file profile.h.

Referenced by Pol::Module::GetCoreVariable(), and Pol::Core::update_rpm().

u64 Pol::Core::ProfileVars::last_sleep_cycles

Definition at line 58 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_sppm

Definition at line 71 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_sysload

Definition at line 64 of file profile.h.

Referenced by Pol::Module::GetCoreVariable(), and Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::last_sysload_nprocs

Definition at line 63 of file profile.h.

Referenced by Pol::Module::GetCoreVariable(), and Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::mapcache_hits

Definition at line 81 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::mapcache_misses

Definition at line 82 of file profile.h.

Referenced by Pol::Core::update_rpm().

size_t Pol::Core::ProfileVars::nonbusy_sysload_cycles

Definition at line 62 of file profile.h.

Referenced by Pol::Core::update_rpm(), and Pol::Core::update_sysload().

size_t Pol::Core::ProfileVars::rotations
u64 Pol::Core::ProfileVars::script_passes
std::atomic<size_t> Pol::Core::ProfileVars::script_passes_activity

Definition at line 76 of file profile.h.

Referenced by Pol::Core::scripts_thread(), and Pol::Core::update_rpm().

std::atomic<size_t> Pol::Core::ProfileVars::script_passes_noactivity

Definition at line 77 of file profile.h.

Referenced by Pol::Core::scripts_thread(), and Pol::Core::update_rpm().

u64 Pol::Core::ProfileVars::sleep_cycles
size_t Pol::Core::ProfileVars::sysload_nprocs

Definition at line 63 of file profile.h.

Referenced by Pol::Core::update_rpm(), and Pol::Core::update_sysload().


The documentation for this struct was generated from the following file: