DRAW_PANEL_GAL: remove unused profiling counter

This commit is contained in:
Tomasz Wlostowski 2021-11-28 23:04:02 +01:00
parent 2c6e9778a1
commit cdb214d43a
1 changed files with 3 additions and 5 deletions

View File

@ -198,7 +198,6 @@ void EDA_DRAW_PANEL_GAL::DoRePaint()
PROF_COUNTER cntUpd("view-upd-items");
PROF_COUNTER cntTotal("view-total");
PROF_COUNTER cntDraw("view-draw");
PROF_COUNTER cntCtx("view-context-create");
PROF_COUNTER cntCtxDestroy("view-context-destroy");
PROF_COUNTER cntRedraw("view-redraw-rects");
@ -279,13 +278,12 @@ void EDA_DRAW_PANEL_GAL::DoRePaint()
if( isDirty )
{
KI_TRACE( traceGalProfile, "View timing: %s %s %s %s %s %s\n",
KI_TRACE( traceGalProfile, "View timing: %s %s %s %s %s\n",
cntTotal.to_string(),
cntUpd.to_string(),
cntDraw.to_string(),
cntRedraw.to_string(),
cntCtx.to_string(),
cntCtxDestroy.to_string(),
cntRedraw.to_string()
cntCtxDestroy.to_string()
);
}