1
2
3
4
5
6 namespace System.Runtime
7 {
8 public class FunctionProfiler
9 {
10 public explicit nothrow FunctionProfiler(void* functionId_) : functionId(functionId_)
11 {
12 RtProfileStartFunction(functionId);
13 }
14 public ~FunctionProfiler()
15 {
16 RtProfileEndFunction(functionId);
17 }
18 private void* functionId;
19 }
20 }