Go to the source code of this file.
|
| int | main (int argc, char **argv) |
| |
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
Definition at line 110 of file native.c.
130 #if ((defined(linux) && (defined(__i386__) || (defined __x86_64__))) ) 131 if ( !strncmp( hwinfo->
model_string,
"Intel Pentium 4", 15 ) ) {
133 }
else if ( !strncmp( hwinfo->
model_string,
"AMD K7", 6 ) ) {
135 }
else if ( !strncmp( hwinfo->
model_string,
"AMD K8", 6 ) ) {
137 }
else if ( !strncmp( hwinfo->
model_string,
"Intel Core", 17 ) ||
138 !strncmp( hwinfo->
model_string,
"Intel Core 2", 17 ) ) {
164 fprintf( stderr,
"\n" );
int PAPI_stop(int EventSet, long long *values)
void test_pass(const char *filename)
int PAPI_add_event(int EventSet, int EventCode)
int PAPI_event_name_to_code(const char *in, int *out)
int PAPI_library_init(int version)
char model_string[PAPI_MAX_STR_LEN]
int PAPI_cleanup_eventset(int EventSet)
int PAPI_create_eventset(int *EventSet)
int tests_quiet(int argc, char **argv)
void test_fail(const char *file, int line, const char *call, int retval)
int PAPI_destroy_eventset(int *EventSet)
int PAPI_start(int EventSet)
const PAPI_hw_info_t * PAPI_get_hardware_info(void)
static long long values[NUM_EVENTS]
◆ EventSet
◆ TESTS_QUIET