llmetrics.h

Go to the documentation of this file.
00001 
00034 #ifndef LL_LLMETRICS_H
00035 #define LL_LLMETRICS_H
00036 
00037 class LLMetricsImpl;
00038 class LLSD;
00039 
00040 class LLMetrics
00041 {
00042 public:
00043         LLMetrics();
00044         virtual ~LLMetrics();
00045 
00046         // Adds this event to aggregate totals and records details to syslog (llinfos)
00047         virtual void recordEventDetails(const std::string& location, 
00048                                                 const std::string& mesg, 
00049                                                 bool success, 
00050                                                 LLSD stats);
00051 
00052         // Adds this event to aggregate totals
00053         virtual void recordEvent(const std::string& location, const std::string& mesg, bool success);
00054 
00055         // Prints aggregate totals and resets the counts.
00056         virtual void printTotals(LLSD meta);
00057 
00058 
00059 private:
00060         
00061         LLMetricsImpl* mImpl;
00062 };
00063 
00064 #endif
00065 

Generated on Thu Jul 1 06:08:53 2010 for Second Life Viewer by  doxygen 1.4.7