Changes between Version 7 and Version 8 of Commentary/Profiling


Ignore:
Timestamp:
Jan 11, 2007 1:03:59 PM (7 years ago)
Author:
kirsten
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Commentary/Profiling

    v7 v8  
    1818 
    1919No -- put actual declarations for counter variables in another file, {{{TickyCounters.h}}} or something, and include that only from [[GhcFile(rts/Ticky.c)]]; put ''extern'' declarations for those counters in {{{RtsTicky.h}}}, still included from [[GhcFile(includes/RtsExternal.h)]]. Then later we can automatically generate both {{{RtsTicky.h}}} and {{{TickyCounters.h}}}. The reason for this is that the ticky '''macros''' are all over the place and they refer to the ticky counters, so the ticky counters have to be '''declared''' someplace that everyone includes, but of course the actual initializations only need to happen in one place. (Maybe there's a better way to do this...) 
     20 
     21No, there don't need to be two files; I was confused. Just {{{TickyCounters.h}}}.