X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=src%2Fdebugscript.h;h=0625535db2532d6aa2412621172f73008919ec71;hb=667281b828c8515e995c0000706157cee180fa08;hp=ae2c8eb4cc3790736626c710cd638d2d3d37567c;hpb=c786732a062b493be1e53c0223d7cb1858fd3d0f;p=ipdf%2Fcode.git diff --git a/src/debugscript.h b/src/debugscript.h index ae2c8eb..0625535 100644 --- a/src/debugscript.h +++ b/src/debugscript.h @@ -43,6 +43,8 @@ private: AT_SetBounds, AT_QueryGPUBounds, // query bounds of Beziers when transformed to GPU AT_ScreenShot, // take screenshot + AT_PrintFPS, // Print FPS statistics about the frames + AT_PrintBounds, // Print bounds AT_Quit }; @@ -66,6 +68,11 @@ private: std::map m_labels; unsigned m_index; + double m_fps_cpu_mean; + double m_fps_gpu_mean; + double m_fps_cpu_stddev; + double m_fps_gpu_stddev; + struct PerformanceData { clock_t clock;