PAPI
5.7.0.0
attach_target.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <stdlib.h>
3
4
#include "
do_loops.h
"
5
6
7
int
main
(
int
argc,
char
**argv)
8
{
9
int
c
,
i
=
NUM_FLOPS
;
10
11
if
(argc > 1) {
12
c
=
atoi
(argv[1]);
13
if
(
c
>= 0) {
14
i
=
c
;
15
}
16
}
17
18
do_flops
(
i
);
19
20
return
0;
21
}
atoi
int atoi()
NUM_FLOPS
#define NUM_FLOPS
Definition:
sdsc-mpx.c:24
c
double c
Definition:
multiplex.c:22
main
int main(int argc, char **argv)
Definition:
attach_target.c:7
do_flops
void do_flops(int n)
Definition:
multiplex.c:23
do_loops.h
i
int i
Definition:
fileop.c:140
src
ctests
attach_target.c
Generated on Wed Mar 27 2019 00:55:12 for PAPI by
1.8.15