diff options
author | Merov Linden <merov@lindenlab.com> | 2010-11-08 17:16:31 -0800 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2010-11-08 17:16:31 -0800 |
commit | b5df1d2abcef04ee5f491a7414189f4e82faaa1e (patch) | |
tree | 1e8d59da3e0473f300d99bd683cd1486de3b31e2 /indra/llcommon/llmetricperformancetester.h | |
parent | 85509457c6dc6a0f3e56fa3d24ae872e1878c04f (diff) |
STORM-105 : takes Vadim's comments into account, clean up use of static globals and magic strings, enforce naming conventions
Diffstat (limited to 'indra/llcommon/llmetricperformancetester.h')
-rw-r--r-- | indra/llcommon/llmetricperformancetester.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llcommon/llmetricperformancetester.h b/indra/llcommon/llmetricperformancetester.h index 6fd1d41daa..925010ac96 100644 --- a/indra/llcommon/llmetricperformancetester.h +++ b/indra/llcommon/llmetricperformancetester.h @@ -27,6 +27,8 @@ #ifndef LL_METRICPERFORMANCETESTER_H #define LL_METRICPERFORMANCETESTER_H +const std::string DEFAULT_METRIC_NAME("metric"); + /** * @class LLMetricPerformanceTesterBasic * @brief Performance Metric Base Class @@ -131,6 +133,13 @@ public: * @param[in] name - Name of the tester instance queried. */ static LLMetricPerformanceTesterBasic* getTester(std::string name) ; + + /** + * @return Returns TRUE if that metric *or* the default catch all metric has been requested to be logged + * @param[in] name - Name of the tester queried. + */ + static BOOL isMetricLogRequested(std::string name); + /** * @return Returns TRUE if there's a tester defined, FALSE otherwise. */ |