[Issue 4708] expose rt.trace and rt.cover api's

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Aug 22 00:56:37 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4708



--- Comment #2 from Brad Roberts <braddr at puremagic.com> 2010-08-22 00:56:34 PDT ---
Ok.. ignore most of #1, I should have been using -profile instead of -cov.  Of
course, that just further outlines the problems caused by having the two result
files generated with just the column headers merely by setting the destination
file names.  Compiling with -profile and running the sample code below produces
the two files as expected:

::::::::::::::
test_results/runnable/hello-profile.d.trace.def
::::::::::::::

FUNCTIONS
        _Dmain
        _D5hello8showargsFAAaZv
::::::::::::::
test_results/runnable/hello-profile.d.trace.log
::::::::::::::
------------------
            1   _Dmain
_D5hello8showargsFAAaZv 1       141436  141436
------------------
_Dmain  0       142088  652
            1   _D5hello8showargsFAAaZv

======== Timer Is 3579545 Ticks/Sec, Times are in Microsecs ========

  Num          Tree        Func        Per
  Calls        Time        Time        Call

      1       39512       39512       39512     _D5hello8showargsFAAaZv
      1       39694         182         182     _Dmain

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list