X-Git-Url: https://git.ucc.asn.au/?p=ipdf%2Fcode.git;a=blobdiff_plain;f=src%2Fdebugscript.h;h=8d34bc7c28608d2e5b7e8ebbb1bf0a9968a53a95;hp=0625535db2532d6aa2412621172f73008919ec71;hb=f0b6c9b6b95fde134927c395afbfbbbc057868e6;hpb=667281b828c8515e995c0000706157cee180fa08 diff --git a/src/debugscript.h b/src/debugscript.h index 0625535..8d34bc7 100644 --- a/src/debugscript.h +++ b/src/debugscript.h @@ -43,20 +43,21 @@ 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_PrintSPF, // Print FPS statistics about the frames AT_PrintBounds, // Print bounds + AT_ProfileDisplay, AT_Quit }; struct Action { ActionType type; - Real x, y; + VReal x, y; int ix, iy; - Real z; + VReal z; int iz; int loops; - Real w, h; + VReal w, h; std::string textargs; Action() : type(AT_WaitFrame), x(0), y(0), ix(0), iy(0), z(0), loops(0), textargs("") {} }; @@ -68,10 +69,10 @@ 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; + double m_spf_cpu_mean; + double m_spf_gpu_mean; + double m_spf_cpu_stddev; + double m_spf_gpu_stddev; struct PerformanceData {