From 736018f192d4988df363eb8dd3e545eb8d574aed Mon Sep 17 00:00:00 2001 From: cxl Date: Sat, 24 Jan 2009 18:49:11 +0000 Subject: [PATCH] Painter: PAINTER_TIMING in CharacterOp git-svn-id: svn://ultimatepp.org/upp/trunk@801 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/Painter/FontWin32.cpp | 1 + uppsrc/Painter/Painter.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/uppsrc/Painter/FontWin32.cpp b/uppsrc/Painter/FontWin32.cpp index 7222db8a1..ef212462c 100644 --- a/uppsrc/Painter/FontWin32.cpp +++ b/uppsrc/Painter/FontWin32.cpp @@ -95,6 +95,7 @@ struct sMakeCharOutline : LRUCache::Maker { void Painter::CharacterOp(double x, double y, int ch, Font fnt) { + PAINTER_TIMING("CharacterOp"); String s; INTERLOCKED { static LRUCache cache; diff --git a/uppsrc/Painter/Painter.h b/uppsrc/Painter/Painter.h index 4c5f02863..3968ed9b5 100644 --- a/uppsrc/Painter/Painter.h +++ b/uppsrc/Painter/Painter.h @@ -3,7 +3,7 @@ #include -#define PAINTER_TIMING(x) // RTIMING(x) +#define PAINTER_TIMING(x) RTIMING(x) #define AGGUPP 1