Added __SetProfiler() call sample.
This commit is contained in:
@@ -2,14 +2,15 @@
|
||||
|
||||
function Main()
|
||||
|
||||
local oGet := GetNew()
|
||||
local oBrw := TBrowseNew()
|
||||
local dummy := __SetProfiler( .t. ) // First of all, we activate the profiler
|
||||
local oGet := GetNew()
|
||||
local oBrw := TBrowseNew()
|
||||
local n
|
||||
|
||||
for n = 1 to 20000
|
||||
oGet:row = 10
|
||||
next
|
||||
|
||||
Profiler() // look for a generated profiler.txt file on your disk
|
||||
hb_Profiler( "profile.txt" ) // look for a generated profiler.txt file on your disk
|
||||
|
||||
return nil
|
||||
Reference in New Issue
Block a user