Amend stats
This commit is contained in:
@@ -824,8 +824,7 @@ std::string EpubReaderActivity::buildRenderBenchmarkReport(const LastRenderStats
|
|||||||
std::to_string(endSnapshot.fontDecompressMs) + " ms, groups " +
|
std::to_string(endSnapshot.fontDecompressMs) + " ms, groups " +
|
||||||
std::to_string(endSnapshot.fontUniqueGroups));
|
std::to_string(endSnapshot.fontUniqueGroups));
|
||||||
appendLine("Font buffers: page " + std::to_string(endSnapshot.fontPageBufferBytes) + ", glyph table " +
|
appendLine("Font buffers: page " + std::to_string(endSnapshot.fontPageBufferBytes) + ", glyph table " +
|
||||||
std::to_string(endSnapshot.fontPageGlyphsBytes) + ", hot group " +
|
std::to_string(endSnapshot.fontPageGlyphsBytes) + ", peak temp " +
|
||||||
std::to_string(endSnapshot.fontHotGroupBytes) + ", peak temp " +
|
|
||||||
std::to_string(endSnapshot.fontPeakTempBytes));
|
std::to_string(endSnapshot.fontPeakTempBytes));
|
||||||
appendLine("Glyph lookups: " + std::to_string(endSnapshot.fontGetBitmapCalls) + " calls, " +
|
appendLine("Glyph lookups: " + std::to_string(endSnapshot.fontGetBitmapCalls) + " calls, " +
|
||||||
std::to_string(endSnapshot.fontGetBitmapTimeUs) + " us total");
|
std::to_string(endSnapshot.fontGetBitmapTimeUs) + " us total");
|
||||||
@@ -1575,7 +1574,6 @@ void EpubReaderActivity::renderContents(std::unique_ptr<Page> page, const int or
|
|||||||
lastRenderStats.fontUniqueGroups = stats.uniqueGroupsAccessed;
|
lastRenderStats.fontUniqueGroups = stats.uniqueGroupsAccessed;
|
||||||
lastRenderStats.fontPageBufferBytes = stats.pageBufferBytes;
|
lastRenderStats.fontPageBufferBytes = stats.pageBufferBytes;
|
||||||
lastRenderStats.fontPageGlyphsBytes = stats.pageGlyphsBytes;
|
lastRenderStats.fontPageGlyphsBytes = stats.pageGlyphsBytes;
|
||||||
lastRenderStats.fontHotGroupBytes = stats.hotGroupBytes;
|
|
||||||
lastRenderStats.fontPeakTempBytes = stats.peakTempBytes;
|
lastRenderStats.fontPeakTempBytes = stats.peakTempBytes;
|
||||||
lastRenderStats.fontGetBitmapTimeUs = stats.getBitmapTimeUs;
|
lastRenderStats.fontGetBitmapTimeUs = stats.getBitmapTimeUs;
|
||||||
lastRenderStats.fontGetBitmapCalls = stats.getBitmapCalls;
|
lastRenderStats.fontGetBitmapCalls = stats.getBitmapCalls;
|
||||||
|
|||||||
@@ -85,7 +85,6 @@ class EpubReaderActivity final : public Activity {
|
|||||||
uint16_t fontUniqueGroups = 0;
|
uint16_t fontUniqueGroups = 0;
|
||||||
uint32_t fontPageBufferBytes = 0;
|
uint32_t fontPageBufferBytes = 0;
|
||||||
uint32_t fontPageGlyphsBytes = 0;
|
uint32_t fontPageGlyphsBytes = 0;
|
||||||
uint32_t fontHotGroupBytes = 0;
|
|
||||||
uint32_t fontPeakTempBytes = 0;
|
uint32_t fontPeakTempBytes = 0;
|
||||||
uint32_t fontGetBitmapTimeUs = 0;
|
uint32_t fontGetBitmapTimeUs = 0;
|
||||||
uint32_t fontGetBitmapCalls = 0;
|
uint32_t fontGetBitmapCalls = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user