[go: up one dir, main page]

File: a.c

package info (click to toggle)
uftrace 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,212 kB
  • sloc: ansic: 53,313; python: 9,846; makefile: 838; asm: 703; cpp: 602; sh: 560; javascript: 191
file content (23 lines) | stat: -rw-r--r-- 290 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
static volatile int account;

extern volatile int tcount;
extern void t1(void);
extern void t2(void);

static void __attribute__((noinline)) a1(void)
{
	t1();
	account++;
}

void __attribute__((noinline)) a2(void)
{
	t2();
	account++;
}

int main(void)
{
	a1();
	return account + tcount;
}