![]() | InDesign SDK 20.5 |
Public Types | |
| enum | EDoWhat { eGetValue, eResetValue } |
| typedef uint64(* | CallBack )(EDoWhat doWhat, void *refPtr, PerformanceMetricID counter) |
Static Public Member Functions | |
| static uint64 | GetValue (PerformanceMetricID counter) |
| static void | ResetValue (PerformanceMetricID counter) |
| static void | RegisterCounter (PerformanceMetricID counter, CallBack callback, void *refPtr, const PMString &shortName, const PMString &longName) |
| static void | RegisterCounter (PerformanceMetricID counter, ClassID counterProvider, const PMString &shortName, const PMString &longName) |
| static void | DeRegisterCounter (PerformanceMetricID counter) |
| static void | GetAllMetricIDs (IPerformanceMetric::PerformanceMetricIDList &metrics) |
| static PMString | GetMetricShortName (PerformanceMetricID counter) |
| static PMString | GetMetricLongName (PerformanceMetricID counter) |
| static void | Startup () |
| static void | Shutdown () |
| static |
returns a list of all currently available metrics - note this is volatile - just because there is an ID in this list, doesn't mean that counter will still be active when you query its value