Searched refs:ARRAYSZ (Results 1 – 1 of 1) sorted by relevance
/external/oprofile/opcontrol/ |
D | opcontrol.cpp | 101 #define ARRAYSZ(x) (sizeof(x)/sizeof((x)[0])) macro 109 {"i386/arch_perfmon", event_info_arch_perfmon, ARRAYSZ(event_info_arch_perfmon)}, 113 {"arm/armv6", event_info_armv6, ARRAYSZ(event_info_armv6)}, 115 {"arm/armv7", event_info_armv7, ARRAYSZ(event_info_armv7)}, 119 {"mips/24K", event_info_24K, ARRAYSZ(event_info_24K)}, 120 {"mips/34K", event_info_34K, ARRAYSZ(event_info_34K)}, 121 {"mips/74K", event_info_74K, ARRAYSZ(event_info_74K)}, 122 {"mips/1004K", event_info_1004K, ARRAYSZ(event_info_1004K)}, 240 for (unsigned int i = 0; i < ARRAYSZ(cpuevents); i++) { in setup_device()
|