mirror of
https://github.com/reactos/reactos.git
synced 2024-08-29 22:58:34 +00:00
- Comment out the performance counting ("hits: xxx misses: yyy") part for the freetype lib.
svn path=/trunk/; revision=25241
This commit is contained in:
parent
8f2eb74d99
commit
4dfd67905c
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue