projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2004-11-28 Martin Baulig <martin@ximian.com>
[mono.git]
/
mono
/
benchmark
/
inline6.cs
1
using System;
2
3
public class Test {
4
5
public static int test (int n) {
6
int x = n + 1;
7
8
return x;
9
}
10
11
public static int Main (string[] args) {
12
int repeat = 1;
13
14
/*
15
if (args.Length == 1)
16
repeat = Convert.ToInt32 (args [0]);
17
18
Console.WriteLine ("Repeat = " + repeat);
19
*/
20
21
for (int i = 0; i < repeat; i++)
22
for (int j = 0; j < 500000000; j++)
23
test (12345);
24
25
return 0;
26
}
27
}
28
29