88@class OOTimeProfile, OOTimeProfileEntry;
90void OOJSBeginProfiling(BOOL trace);
91OOTimeProfile* OOJSEndProfiling(
void);
92BOOL OOJSIsProfiling(
void);
96@interface OOTimeProfile : NSObject {
100 double _extensionTime;
101 double _javaScriptTime;
102 double _profilerOverhead;
104 NSArray* _profileEntries;
108- (double)javaScriptTime;
110- (double)extensionTime;
111- (double)nonExtensionTime;
112- (double)profilerOverhead;
114- (NSArray*)profileEntries;
118@interface OOTimeProfileEntry : NSObject {
121 unsigned long _hitCount;
122 double _totalTimeSum;
124 double _totalTimeMax;
126 BOOL _isJavaScriptFrame;
129- (NSString*)function;
130- (NSUInteger)hitCount;
131- (double)totalTimeSum;
132- (double)selfTimeSum;
133- (double)totalTimeAverage;
134- (double)selfTimeAverage;
135- (double)totalTimeMax;
136- (double)selfTimeMax;
137- (BOOL)isJavaScriptFrame;
139- (NSComparisonResult)compareByTotalTime:(OOTimeProfileEntry*)other;
140- (NSComparisonResult)compareByTotalTimeReverse:(OOTimeProfileEntry*)other;
141- (NSComparisonResult)compareBySelfTime:(OOTimeProfileEntry*)other;
142- (NSComparisonResult)compareBySelfTimeReverse:(OOTimeProfileEntry*)other;
void OOJSTimeManagementInit(OOJavaScriptEngine *engine, JSRuntime *runtime)