repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[WinForms] Fix #18506 ActiveTracker, do not propagate message to control when it...
[mono-project.git]
/
mono
/
benchmark
/
inline5.cs
blob
4e8e45b9bed0e26cd047ce01ffc5dcdbbfceea27
1
using
System
;
2
3
public class
Test
{
4
5
static int
a
=
0
;
6
7
public static void
test
(
int
n
) {
8
a
+=
n
;
9
}
10
11
public static int
Main
(
string
[]
args
) {
12
int
repeat
=
1
;
13
14
if
(
args
.
Length
==
1
)
15
repeat
=
Convert
.
ToInt32
(
args
[
0
]);
16
17
Console
.
WriteLine
(
"Repeat = "
+
repeat
);
18
19
for
(
int
i
=
0
;
i
<
repeat
;
i
++)
20
for
(
int
j
=
0
;
j
<
500000000
;
j
++)
21
test
(
a
);
22
23
return
0
;
24
}
25
}
26
27