LCOV - code coverage report
Current view: top level - source/simulation2/components - CCmpRangeManager.cpp (source / functions) Hit Total Coverage
Test: 0 A.D. test coverage report Lines: 440 1206 36.5 %
Date: 2023-01-19 00:18:29 Functions: 51 128 39.8 %

Function Name Sort by function name Hit count Sort by hit count
(anonymous namespace)::EntityData::SetFlag(unsigned char, bool) 0
void (anonymous namespace)::EntityData::SetFlag<128>(bool) 0
void (anonymous namespace)::EntityData::SetFlag<16>(bool) 0
void (anonymous namespace)::EntityData::SetFlag<64>(bool) 0
(anonymous namespace)::HasVisionSharing(unsigned short, int) 0
(anonymous namespace)::CalcPlayerLosMask(int) 0
(anonymous namespace)::CalcSharedLosMask(std::vector<int, std::allocator<int> >) 0
(anonymous namespace)::IsVisibilityDirty(unsigned short, int) 0
(anonymous namespace)::GetPlayerVisibility(unsigned int, int) 0
(anonymous namespace)::CalcVisionSharingMask(int) 0
(anonymous namespace)::EntityParabolicRangeOutline::EntityParabolicRangeOutline((anonymous namespace)::EntityParabolicRangeOutline const&) 0
(anonymous namespace)::EntityParabolicRangeOutline::EntityParabolicRangeOutline() 0
(anonymous namespace)::EntityParabolicRangeOutline::~EntityParabolicRangeOutline() 0
(anonymous namespace)::EntityParabolicRangeOutline::operator=((anonymous namespace)::EntityParabolicRangeOutline const&) 0
(anonymous namespace)::SetPlayerSharedDirtyVisibilityBit(unsigned short&, int, bool) 0
(anonymous namespace)::Query::Query((anonymous namespace)::Query&&) 0
(anonymous namespace)::Query::operator=((anonymous namespace)::Query&&) 0
(anonymous namespace)::InParabolicRange(CFixedVector3D, CFixed<int, 2147483647, 32, 15, 16, 65536>) 0
void SerializeHelper<(anonymous namespace)::EntityData, void>::operator()<ISerializer>(ISerializer&, char const*, std::conditional<is_same_v<ISerializer, ISerializer&>, (anonymous namespace)::EntityData const&, (anonymous namespace)::EntityData&>::type) 0
void SerializeHelper<(anonymous namespace)::EntityData, void>::operator()<IDeserializer>(IDeserializer&, char const*, std::conditional<is_same_v<IDeserializer, ISerializer&>, (anonymous namespace)::EntityData const&, (anonymous namespace)::EntityData&>::type) 0
void SerializeHelper<(anonymous namespace)::Query, void>::Common<ISerializer>(ISerializer&, char const*, std::conditional<is_same_v<ISerializer, ISerializer&>, (anonymous namespace)::Query const&, (anonymous namespace)::Query&>::type) 0
void SerializeHelper<(anonymous namespace)::Query, void>::Common<IDeserializer>(IDeserializer&, char const*, std::conditional<is_same_v<IDeserializer, ISerializer&>, (anonymous namespace)::Query const&, (anonymous namespace)::Query&>::type) 0
SerializeHelper<(anonymous namespace)::Query, void>::operator()(ISerializer&, char const*, (anonymous namespace)::Query&, CSimContext const&) 0
SerializeHelper<(anonymous namespace)::Query, void>::operator()(IDeserializer&, char const*, (anonymous namespace)::Query&, CSimContext const&) 0
CCmpRangeManager::ExploreMap(int) 0
CCmpRangeManager::Deserialize(CParamNode const&, IDeserializer&) 0
CCmpRangeManager::RevealShore(int, bool) 0
CCmpRangeManager::RenderSubmit(SceneCollector&) 0
CCmpRangeManager::SetSharedLos(int, std::vector<int, std::allocator<int> > const&) 0
CCmpRangeManager::SetEntityFlag(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) 0
CCmpRangeManager::SharingLosAdd(unsigned short, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixedVector2D) 0
CCmpRangeManager::GetSubdivision() 0
CCmpRangeManager::SetLosCircular(bool) 0
CCmpRangeManager::SharingLosMove(unsigned short, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixedVector2D, CFixedVector2D) 0
void CCmpRangeManager::SerializeCommon<ISerializer>(ISerializer&) 0
void CCmpRangeManager::SerializeCommon<IDeserializer>(IDeserializer&) 0
CCmpRangeManager::SetDebugOverlay(bool) 0
CCmpRangeManager::SetLosRevealAll(int, bool) 0
CCmpRangeManager::ResetActiveQuery(unsigned int) 0
CCmpRangeManager::SharingLosRemove(unsigned short, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixedVector2D) 0
CCmpRangeManager::UpdateVisibility(unsigned int) 0
CCmpRangeManager::UpdateVisibility(unsigned int, int) 0
CCmpRangeManager::CreateActiveQuery(unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<int, std::allocator<int> > const&, int, unsigned char, bool) 0
CCmpRangeManager::EnableActiveQuery(unsigned int) 0
CCmpRangeManager::DestroyActiveQuery(unsigned int) 0
CCmpRangeManager::DisableActiveQuery(unsigned int) 0
CCmpRangeManager::ExploreTerritories() 0
CCmpRangeManager::ExecuteActiveQueries() 0
CCmpRangeManager::UpdateVisibilityData() 0
CCmpRangeManager::ExecuteQueryAroundPos(CFixedVector2D const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<int, std::allocator<int> > const&, int, bool) 0
CCmpRangeManager::ActivateScriptedVisibility(unsigned int, bool) 0
CCmpRangeManager::CreateActiveParabolicQuery(unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<int, std::allocator<int> > const&, int, unsigned char) 0
CCmpRangeManager::Serialize(ISerializer&) 0
bool (anonymous namespace)::EntityData::HasFlag<16>() const 0
bool (anonymous namespace)::EntityData::HasFlag<64>() const 0
(anonymous namespace)::EntityDistanceOrdering::operator()(unsigned int, unsigned int) const 0
CCmpRangeManager::GetLosQuerier(int) const 0
CCmpRangeManager::GetLosCircular() const 0
CCmpRangeManager::GetLosRevealAll(int) const 0
CCmpRangeManager::GetLosVisibility(CEntityHandle, int) const 0
CCmpRangeManager::GetLosVisibility(unsigned int, int) const 0
CCmpRangeManager::GetSharedLosMask(int) const 0
CCmpRangeManager::GetComponentTypeId() const 0
CCmpRangeManager::GetVerticesPerSide() const 0
CCmpRangeManager::SeeExploredEntities(int) const 0
CCmpRangeManager::ComputeLosVisibility(CEntityHandle, int) const 0
CCmpRangeManager::ComputeLosVisibility(unsigned int, int) const 0
CCmpRangeManager::IsActiveQueryEnabled(unsigned int) const 0
CCmpRangeManager::GetPercentMapExplored(int) const 0
CCmpRangeManager::getParabolicRangeForm(CFixedVector3D, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, int) const 0
CCmpRangeManager::ConstructParabolicQuery(unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<int, std::allocator<int> > const&, int, unsigned char, bool) const 0
CCmpRangeManager::GetElevationAdaptedRange(CFixedVector3D const&, CFixedVector3D const&, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 0
CCmpRangeManager::GetLosVisibilityPosition(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, int) const 0
CCmpRangeManager::GetGaiaAndNonGaiaEntities() const 0
CCmpRangeManager::GetUnionPercentMapExplored(std::vector<int, std::allocator<int> > const&) const 0
CCmpRangeManager::ExploreTerritories()::{lambda(int, int)#1}::operator()(int, int) const 0
CCmpRangeManager::ExploreTerritories()::{lambda(int, int)#1}::_FUN(int, int) 0
_GLOBAL__sub_I_CCmpRangeManager.cpp 1
__static_initialization_and_destruction_0(int, int) 1
CCmpRangeManager::SetBounds(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) 2
void (anonymous namespace)::EntityData::SetFlag<32>(bool) 3
(anonymous namespace)::EntityData::EntityData() 3
CCmpRangeManager::Deallocate(IComponent*) 6
CCmpRangeManager::Init(CParamNode const&) 6
CCmpRangeManager::Deinit() 6
CCmpRangeManager::Allocate(ScriptInterface const&, JS::Handle<JS::Value>) 6
CCmpRangeManager::CCmpRangeManager() 6
CCmpRangeManager::~CCmpRangeManager() 6
CCmpRangeManager::~CCmpRangeManager().2 6
CCmpRangeManager::LosRemove(int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixedVector2D) 8
CCmpRangeManager::GetNonGaiaEntities() const 8
CCmpRangeManager::GetEffectiveParabolicRange(unsigned int, unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 8
(anonymous namespace)::EntityDistanceOrdering::EntityDistanceOrdering(EntityMap<(anonymous namespace)::EntityData> const&, CFixedVector2D const&) 13
(anonymous namespace)::Query::Query() 13
(anonymous namespace)::Query::~Query() 13
CCmpRangeManager::ExecuteQuery(unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<int, std::allocator<int> > const&, int, bool) 13
CCmpRangeManager::PerformQuery((anonymous namespace)::Query const&, std::vector<unsigned int, std::allocator<unsigned int> >&, CFixedVector2D) 13
CCmpRangeManager::ConstructQuery(unsigned int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>, std::vector<int, std::allocator<int> > const&, int, unsigned char, bool) const 13
CCmpRangeManager::GetEntityFlagMask(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const 13
CCmpRangeManager::TestEntityQuery((anonymous namespace)::Query const&, unsigned int, (anonymous namespace)::EntityData const&) const 26
CCmpRangeManager::LosUpdateHelperIncremental(unsigned char, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixedVector2D, CFixedVector2D) 59
CCmpRangeManager::GetEntitiesByPlayer(int) const 64
CCmpRangeManager::GetEntitiesByMask(unsigned int) const 72
RegisterComponentType_RangeManager(CComponentManager&) 116
CCmpRangeManager::ClassInit(CComponentManager&) 116
CCmpRangeManager::GetSchema[abi:cxx11]() 116
(anonymous namespace)::CalcOwnerMask(int) 175
void CCmpRangeManager::LosUpdateHelper<false>(unsigned char, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixedVector2D) 983
CCmpRangeManager::RemoveFromRegion(std::pair<unsigned short, unsigned short>, unsigned int) 1025
CCmpRangeManager::LosMove(int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixedVector2D, CFixedVector2D) 1035
CCmpRangeManager::Verify() 1037
void (anonymous namespace)::EntityData::SetFlag<8>(bool) 1038
CCmpRangeManager::RequestVisibilityUpdate(unsigned int) 1038
CCmpRangeManager::ResetDerivedData() 1039
bool (anonymous namespace)::EntityData::HasFlag<32>() const 1041
CCmpRangeManager::LosAdd(int, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixedVector2D) 1044
CCmpRangeManager::ResetSubdivisions(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) 1045
CCmpRangeManager::HandleMessage(CMessage const&, bool) 1060
void CCmpRangeManager::LosUpdateHelper<true>(unsigned char, CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixedVector2D) 2019
CCmpRangeManager::AddToRegion(std::pair<unsigned short, unsigned short>, unsigned int) 2061
bool (anonymous namespace)::EntityData::HasFlag<128>() const 2079
CCmpRangeManager::PosToLosRegionsHelper(CFixed<int, 2147483647, 32, 15, 16, 65536>, CFixed<int, 2147483647, 32, 15, 16, 65536>) const 3106
bool (anonymous namespace)::EntityData::HasFlag<8>() const 3145
CCmpRangeManager::LosRemoveStripHelper(unsigned char, int, int, int, Grid<unsigned short>&) 32906
CCmpRangeManager::LosAddStripHelper(unsigned char, int, int, int, Grid<unsigned short>&) 64500
CCmpRangeManager::MarkVisibilityDirtyAroundTile(unsigned char, int, int) 2306125
CCmpRangeManager::LosVertexToLosRegionsHelper(unsigned short, unsigned short) const 6085928
CCmpRangeManager::LosIsOffWorld(long, long) const 36092680

Generated by: LCOV version 1.13