CCTLib
Calling-context and data-object attribution library for Intel Pin
test4.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#define N (10000000)
3
int
A
[
N
];
4
int
B
[
N
/2];
5
int
C
[
N
];
6
7
void
g
()
8
{
9
int
i=0;
10
for
(i = 0; i<
N
; i++) {
11
if
(i <
N
/2)
12
A
[i] ++;
13
else
14
C
[i] ++;
15
}
16
}
17
18
void
h
()
19
{
20
int
i;
21
for
(i = 0; i<
N
/2; i++)
B
[i]++;
22
}
23
24
void
f
()
25
{
26
g
();
27
}
28
29
int
main
()
30
{
31
f
();
32
h
();
33
return
0;
34
}
N
#define N
Definition:
test4.c:2
h
void h()
Definition:
test4.c:18
g
void g()
Definition:
test4.c:7
C
int C[N]
Definition:
test4.c:5
f
void f()
Definition:
test4.c:24
main
int main()
Definition:
test4.c:29
A
Definition:
exc_ctor_throw.cpp:30
B
Definition:
exc_ctor_throw.cpp:36
clients
footprint_test
test4.c
Generated on Wed Jul 15 2026 04:51:30 for CCTLib by
1.9.1