CCTLib
Calling-context and data-object attribution library for Intel Pin
test1.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
6
void
g
()
7
{
8
int
i=0;
9
for
(i = 0; i<
N
; i++)
A
[i] ++;
10
}
11
12
void
h
()
13
{
14
int
i;
15
for
(i = 0; i<
N
/2; i++)
B
[i]++;
16
}
17
void
h1
()
18
{
19
int
i;
20
for
(i = 1; i<
N
/2; i++)
B
[i] =
B
[i-1];
21
}
22
23
void
f
()
24
{
25
g
();
26
}
27
28
int
main
()
29
{
30
f
();
31
h
();
32
h1
();
33
return
0;
34
}
A
Definition:
exc_ctor_throw.cpp:30
B
Definition:
exc_ctor_throw.cpp:36
N
#define N
Definition:
test1.c:2
h1
void h1()
Definition:
test1.c:17
h
void h()
Definition:
test1.c:12
g
void g()
Definition:
test1.c:6
f
void f()
Definition:
test1.c:23
main
int main()
Definition:
test1.c:28
clients
footprint_test
test1.c
Generated on Wed Jul 15 2026 04:51:30 for CCTLib by
1.9.1