mylog.cpp

来自「uclinux的进程间通信例子」· C++ 代码 · 共 20 行

CPP
20
字号
/*
 * this file provide log functionality
 * composed by antony 
 * 2003-1-1
 * copyright reserved
 */
/*
 *if PERFORMANCE is define check performance of program
 *this file provide performanc check global var
 */
#ifndef __MYLOG__H_
#define __MYLOG__H_ 
	#include "mylog.h"
	#ifdef PERFORMANCE
		struct timeval timeTTStart;  //记录时间
		struct timeval timeTTNow;
	#endif
#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?