PerformanceProfiler

  

PerformanceProfiler。h

, StatisticsMap;
  struct  PPSection
  {
  公众:
  PPSection ()
  {}
  void 开始(int  id);
  void 结束(int  id);
  
  StatisticsMap  _beginTimeMap;
  StatisticsMap  _costTimeMap;
  StatisticsMap  _callCountMap;
  StatisticsMap  _refCountMap;,,,//递归引用计数
  LongType  _totalCostTime;
  
  mutex  _mtx;
  };
  
  class  PerformanceProfiler : public  EagerSingleton< PerformanceProfiler>
  {
  friend  class  EagerSingleton

PerformanceProfiler