/[jscoverage]/trunk/js/jitstats.tbl
ViewVC logotype

Diff of /trunk/js/jitstats.tbl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 460 by siliconforks, Sat Sep 26 23:15:22 2009 UTC revision 507 by siliconforks, Sun Jan 10 07:23:34 2010 UTC
# Line 37  Line 37 
37   * ***** END LICENSE BLOCK ***** */   * ***** END LICENSE BLOCK ***** */
38    
39  /* NB: Keep this list synced with jitstatHandler in trace-test.js. */  /* NB: Keep this list synced with jitstatHandler in trace-test.js. */
40  JITSTAT(recorderStarted)  /**
41  JITSTAT(recorderAborted)   * Proper use of this file: Consumers must define JITSTAT; they can optionally
42  JITSTAT(traceCompleted)   * also define MONITOR_JITSTAT or RECORDER_JITSTAT or both to do separate
43  JITSTAT(sideExitIntoInterpreter)   * things with stats that are monitor or recorder specific.  If those are not
44  JITSTAT(timeoutIntoInterpreter)   * defined, they will be automatically defined to JITSTAT.
45  JITSTAT(typeMapMismatchAtEntry)   */
46  JITSTAT(returnToDifferentLoopHeader)  #ifdef DEFINED_MONITOR_JITSTAT
47  JITSTAT(traceTriggered)  #error "How did that happen?"
48  JITSTAT(globalShapeMismatchAtEntry)  #endif
49  JITSTAT(treesTrashed)  
50  JITSTAT(slotPromoted)  #ifdef DEFINED_RECORDER_JITSTAT
51  JITSTAT(unstableLoopVariable)  #error "How did that happen?"
52  JITSTAT(breakLoopExits)  #endif
53  JITSTAT(returnLoopExits)  
54  JITSTAT(mergedLoopExits)  #ifndef MONITOR_JITSTAT
55  JITSTAT(noCompatInnerTrees)  #define MONITOR_JITSTAT(_ident, _name) JITSTAT(_ident)
56    #define DEFINED_MONITOR_JITSTAT
57    #endif
58    
59    #ifndef RECORDER_JITSTAT
60    #define RECORDER_JITSTAT(_ident, _name) JITSTAT(_ident)
61    #define DEFINED_RECORDER_JITSTAT
62    #endif
63    
64    RECORDER_JITSTAT(recorderStarted, "started")
65    RECORDER_JITSTAT(recorderAborted, "aborted")
66    RECORDER_JITSTAT(traceCompleted, "completed")
67    MONITOR_JITSTAT(sideExitIntoInterpreter, "exits")
68    MONITOR_JITSTAT(timeoutIntoInterpreter, "timeouts")
69    MONITOR_JITSTAT(typeMapMismatchAtEntry, "type mismatch")
70    RECORDER_JITSTAT(returnToDifferentLoopHeader, "different header")
71    MONITOR_JITSTAT(traceTriggered, "triggered")
72    MONITOR_JITSTAT(globalShapeMismatchAtEntry, "global mismatch")
73    RECORDER_JITSTAT(treesTrashed, "trees trashed")
74    RECORDER_JITSTAT(slotPromoted, "slot promoted")
75    RECORDER_JITSTAT(unstableLoopVariable, "unstable loop variable")
76    RECORDER_JITSTAT(breakLoopExits, "breaks")
77    RECORDER_JITSTAT(returnLoopExits, "returns")
78    RECORDER_JITSTAT(mergedLoopExits, "merged loop exits")
79    RECORDER_JITSTAT(noCompatInnerTrees, "unstableInnerCalls")
80    RECORDER_JITSTAT(blacklisted, "blacklisted")
81    MONITOR_JITSTAT(cacheFlushed, "flushed")
82    JITSTAT(archIsIA32)
83    JITSTAT(archIsAMD64)
84    JITSTAT(archIs64BIT)
85    JITSTAT(archIsARM)
86    JITSTAT(archIsSPARC)
87    JITSTAT(archIsPPC)
88    
89    #ifdef DEFINED_MONITOR_JITSTAT
90    #undef DEFINED_MONITOR_JITSTAT
91    #undef MONITOR_JITSTAT
92    #endif
93    
94    #ifdef DEFINED_RECORDER_JITSTAT
95    #undef DEFINED_RECORDER_JITSTAT
96    #undef RECORDER_JITSTAT
97    #endif

Legend:
Removed from v.460  
changed lines
  Added in v.507

  ViewVC Help
Powered by ViewVC 1.1.24