⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 code.cache.size.c

📁 代码优化,有效使用内存,透视优化技术,对比优化方法,如果你在追求代码效率的最大化,该资源你不能不读.
💻 C
字号:
/*----------------------------------------------------------------------------
 *						
 *						THE EXAMPLE DEMONSTRATES DEPENDENCE:
 *				PERFORMANCE (SIZE OF THE PROCESSED BLOCK OF CODE)
 *				======================================================
 *
 * Build 0x01 31.07.02
--------------------------------------------------------------------------- */

#include "code.cache.size.h"		// h-file is automatically generated
									// by make-file and contains the value
									// of the CODE_SIZE macro

#include <DoCPU.h>

main()
{
	int		a;

	// STARTING POINT OF MEASUREMENT OF THE EXECUTION TIME OF THE VLOCK OF CODE OF THE CODE_SIZE SIZE
	A_BEGIN(1);
		// calling the function containing CODE_SIZE NOP machine commands
		DoCPU(&a);
	A_END(1);	// end of measurement

	// console output of the result
	printf("%03d\t %d\n", CODE_SIZE, Ax_GET(1));
}

⌨️ 快捷键说明

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