Macros by Category Revision History
Search:

ax_cache_size

SYNOPSIS

AX_CACHE_SIZE

DESCRIPTION

Find L1 and L2 caches size by reading the corresponding file on UNIX or by requesting cpuid. The results are available in the defines CPU_L1_CACHE and CPU_L2_CACHE.

This macro depends on AX_GCC_X86_CPUID, AC_PROG_SED, AX_COUNT_CPUS, and AX_CPU_VENDOR.

SOURCE CODE

http://autoconf-archive.cryp.to/ax_cache_size.m4

LICENSE

Copyright © 2008 Christophe Tournayre <turn3r@users.sourceforge.net>

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.