Apollo  v5.5.0
Open source self driving car software
Namespaces | Macros | Functions
perf.h File Reference
#include <string>
#include "modules/perception/lib/utils/timer.h"
Include dependency graph for perf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 apollo
 
 apollo::perception
 
 apollo::perception::lib
 

Macros

#define PERCEPTION_PERF_FUNCTION()
 
#define PERCEPTION_PERF_FUNCTION_WITH_INDICATOR(indicator)
 
#define PERCEPTION_PERF_BLOCK_START()
 
#define PERCEPTION_PERF_BLOCK_END(msg)   _timer_.End(msg)
 
#define PERCEPTION_PERF_BLOCK_END_WITH_INDICATOR(indicator, msg)   _timer_.End(indicator + "_" + msg)
 

Functions

std::string apollo::perception::lib::get_full_name (const std::string &full_name)
 
std::string apollo::perception::lib::get_full_name (const std::string &full_name, const std::string &indicator)
 

Macro Definition Documentation

◆ PERCEPTION_PERF_BLOCK_END

#define PERCEPTION_PERF_BLOCK_END (   msg)    _timer_.End(msg)

◆ PERCEPTION_PERF_BLOCK_END_WITH_INDICATOR

#define PERCEPTION_PERF_BLOCK_END_WITH_INDICATOR (   indicator,
  msg 
)    _timer_.End(indicator + "_" + msg)

◆ PERCEPTION_PERF_BLOCK_START

#define PERCEPTION_PERF_BLOCK_START ( )

◆ PERCEPTION_PERF_FUNCTION

#define PERCEPTION_PERF_FUNCTION ( )
Value:
std::string get_full_name(const std::string &full_name)
Definition: perf.h:62

◆ PERCEPTION_PERF_FUNCTION_WITH_INDICATOR

#define PERCEPTION_PERF_FUNCTION_WITH_INDICATOR (   indicator)
Value:
apollo::perception::lib::get_full_name(__PRETTY_FUNCTION__, indicator))
std::string get_full_name(const std::string &full_name)
Definition: perf.h:62