Apollo 10.0
自动驾驶开放平台
perf_util.h 文件参考
#include <string>
#include "absl/strings/str_cat.h"
#include "cyber/common/macros.h"
#include "cyber/time/time.h"
perf_util.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

class  apollo::common::util::Timer
 
class  apollo::common::util::TimerWrapper
 

命名空间

namespace  apollo
 class register implement
 
namespace  apollo::common
 apollo::common
 
namespace  apollo::common::util
 apollo::common::util
 

宏定义

#define AFUNC   __func__
 
#define PERF_FUNCTION()
 
#define PERF_FUNCTION_WITH_NAME(func_name)   UNUSED(func_name);
 
#define PERF_FUNCTION_WITH_INDICATOR(indicator)   UNUSED(indicator);
 
#define PERF_BLOCK_START()
 
#define PERF_BLOCK_END(msg)   UNUSED(msg);
 
#define PERF_BLOCK_END_WITH_INDICATOR(indicator, msg)
 

函数

std::string apollo::common::util::function_signature (const std::string &func_name, const std::string &indicator)
 

宏定义说明

◆ AFUNC

#define AFUNC   __func__

在文件 perf_util.h30 行定义.

◆ PERF_BLOCK_END

#define PERF_BLOCK_END (   msg)    UNUSED(msg);

在文件 perf_util.h127 行定义.

◆ PERF_BLOCK_END_WITH_INDICATOR

#define PERF_BLOCK_END_WITH_INDICATOR (   indicator,
  msg 
)
值:
{ \
UNUSED(indicator); \
UNUSED(msg); \
}

在文件 perf_util.h128 行定义.

129 { \
130 UNUSED(indicator); \
131 UNUSED(msg); \
132 }

◆ PERF_BLOCK_START

#define PERF_BLOCK_START ( )

在文件 perf_util.h126 行定义.

◆ PERF_FUNCTION

#define PERF_FUNCTION ( )

在文件 perf_util.h123 行定义.

◆ PERF_FUNCTION_WITH_INDICATOR

#define PERF_FUNCTION_WITH_INDICATOR (   indicator)    UNUSED(indicator);

在文件 perf_util.h125 行定义.

◆ PERF_FUNCTION_WITH_NAME

#define PERF_FUNCTION_WITH_NAME (   func_name)    UNUSED(func_name);

在文件 perf_util.h124 行定义.