home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.Form Form1
- Caption = "Form1"
- ClientHeight = 2100
- ClientLeft = 150
- ClientTop = 1470
- ClientWidth = 3225
- Height = 2505
- Left = 90
- LinkTopic = "Form1"
- ScaleHeight = 2100
- ScaleWidth = 3225
- Top = 1125
- Width = 3345
- Begin VB.CommandButton Command1
- Caption = "Run"
- Height = 480
- Left = 1080
- TabIndex = 0
- Top = 1380
- Width = 1140
- End
- Attribute VB_Name = "Form1"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- Dim iRet As Integer
- Dim i As Integer, j As Integer
- iRet = StartProfiler("times.out")
- iRet = MarkStartTime()
- For i = 1 To 5
- iRet = MarkStartTime()
- For j = 1 To 100
- Cls
- Print j
- Refresh
- Next
- iRet = MarkEndTime("Loop " & Str$(i))
- Next
- iRet = MarkEndTime("Total LoopTime")
- iRet = StopProfiler()
- Refresh
- End Sub
-