From 4dfd67905ce3967aa46ba54e8cac97d48c0d4395 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Fri, 29 Dec 2006 22:24:43 +0000 Subject: [PATCH] - Comment out the performance counting ("hits: xxx misses: yyy") part for the freetype lib. svn path=/trunk/; revision=25241 --- reactos/subsystems/win32/win32k/objects/text.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/reactos/subsystems/win32/win32k/objects/text.c b/reactos/subsystems/win32/win32k/objects/text.c index f3452874985..3d7857bf84a 100644 --- a/reactos/subsystems/win32/win32k/objects/text.c +++ b/reactos/subsystems/win32/win32k/objects/text.c @@ -1478,11 +1478,13 @@ NtGdiGlyphCacheGet( if (CurrentEntry == &FontCacheListHead) { // DbgPrint("Miss! %x\n", FontEntry->Glyph); +/* Misses++; if (Misses>100) { DbgPrint ("Hits: %d Misses: %d\n", Hits, Misses); Hits = Misses = 0; } +*/ return NULL; } @@ -1490,11 +1492,14 @@ NtGdiGlyphCacheGet( InsertHeadList(&FontCacheListHead, CurrentEntry); // DbgPrint("Hit! %x\n", FontEntry->Glyph); +/* Hits++; + if (Hits>100) { DbgPrint ("Hits: %d Misses: %d\n", Hits, Misses); Hits = Misses = 0; } +*/ return FontEntry->Glyph; }