If this option is enabled, the engine scripts a MeasureStart and MeasureStop for each DotNetCallMethod that uses the name of the method. This gives you the time taken for the method to execute and the information becomes available in the overview report.
C# Code | BDL Script |
---|---|
[Transaction(Etranstype.TRANSTYPE_MAIN)] public void TMain() { } [TestMethod] public void Test1() { } |
dcltrans transaction Tmain begin MeasureStart("TMain"); DotNetCallMethod(hVuser1, "TMain"); MeasureStop("TMain"); MeasureStart("Test1"); DotNetCallMethod(hVuser1, "Test1"); MeasureStop("Test1"); end; |