MCPcopy Create free account
hub / github.com/comaps/comaps / GetDrapeStatistic

Method GetDrapeStatistic

libs/drape_frontend/drape_measurer.cpp:506–525  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

504}
505
506DrapeMeasurer::DrapeStatistic DrapeMeasurer::GetDrapeStatistic()
507{
508 DrapeStatistic statistic;
509#ifdef RENDER_STATISTIC
510 statistic.m_renderStatistic = GetRenderStatistic();
511#endif
512#ifdef TILES_STATISTIC
513 statistic.m_tileStatistic = GetTileStatistic();
514#endif
515#ifdef GENERATING_STATISTIC
516 statistic.m_generatingStatistic = GetGeneratingStatistic();
517#endif
518#ifdef TRACK_GPU_MEM
519 statistic.m_gpuMemStatistic = GetGPUMemoryStatistic();
520#endif
521#ifdef TRACK_GLYPH_USAGE
522 statistic.m_glyphStatistic = dp::GlyphUsageTracker::Instance().Report();
523#endif
524 return statistic;
525}
526} // namespace df

Callers 1

RunScenarioFunction · 0.80

Calls 1

ReportMethod · 0.45

Tested by

no test coverage detected