Oolite 1.91.0.7645-241119-222d325
Loading...
Searching...
No Matches
OOTimeProfile(Private) Category Reference

Instance Methods

(void) - setTotalTime:
 
(void) - setNativeTime:
 
(void) - setProfilerOverhead:
 
(void) - setExtensionTime:
 
(void) - setProfileEntries:
 
(NSDictionary *) - propertyListRepresentation
 

Detailed Description

Definition at line 281 of file OOJSEngineTimeManagement.m.

Method Documentation

◆ propertyListRepresentation

- (NSDictionary *) propertyListRepresentation

Extends class OOTimeProfile.

Definition at line 591 of file OOJSEngineTimeManagement.m.

760{
761 NSArray *profileEntries = [self profileEntries];
762 NSMutableArray *convertedEntries = [NSMutableArray arrayWithCapacity:[profileEntries count]];
763 NSEnumerator *entryEnum = nil;
764 OOTimeProfileEntry *entry = nil;
765 for (entryEnum = [profileEntries objectEnumerator]; (entry = [entryEnum nextObject]); )
766 {
767 [convertedEntries addObject:[entry propertyListRepresentation]];
768 }
769
770 return [NSDictionary dictionaryWithObjectsAndKeys:
771 profileEntries, @"profiles",
772 [NSNumber numberWithDouble:[self totalTime]], @"totalTime",
773 [NSNumber numberWithDouble:[self javaScriptTime]], @"javaScriptTime",
774 [NSNumber numberWithDouble:[self nativeTime]], @"nativeTime",
775 [NSNumber numberWithDouble:[self extensionTime]], @"extensionTime",
776 [NSNumber numberWithDouble:[self nonExtensionTime]], @"nonExtensionTime",
777 [NSNumber numberWithDouble:[self profilerOverhead]], @"profilerOverhead",
778 nil];
779}
return nil
NSDictionary * propertyListRepresentation()

◆ setExtensionTime:

- (void) setExtensionTime: (double) value

Extends class OOTimeProfile.

Definition at line 591 of file OOJSEngineTimeManagement.m.

713 :(double)value
714{
715 _extensionTime = value;
716}

Referenced by OOJSEndProfiling().

+ Here is the caller graph for this function:

◆ setNativeTime:

- (void) setNativeTime: (double) value

Extends class OOTimeProfile.

Definition at line 591 of file OOJSEngineTimeManagement.m.

701 :(double)value
702{
703 _nativeTime = value;
704}

Referenced by OOJSEndProfiling().

+ Here is the caller graph for this function:

◆ setProfileEntries:

- (void) setProfileEntries: (NSArray *) value

Extends class OOTimeProfile.

Definition at line 591 of file OOJSEngineTimeManagement.m.

743 :(NSArray *)value
744{
745 if (_profileEntries != value)
746 {
747 [_profileEntries release];
748 _profileEntries = [value retain];
749 }
750}

Referenced by OOJSEndProfiling().

+ Here is the caller graph for this function:

◆ setProfilerOverhead:

- (void) setProfilerOverhead: (double) value

Extends class OOTimeProfile.

Definition at line 591 of file OOJSEngineTimeManagement.m.

731 :(double)value
732{
733 _profilerOverhead = value;
734}

Referenced by OOJSEndProfiling().

+ Here is the caller graph for this function:

◆ setTotalTime:

- (void) setTotalTime: (double) value

Extends class OOTimeProfile.

Definition at line 591 of file OOJSEngineTimeManagement.m.

671 :(double)value
672{
673 _totalTime = value;
674}

Referenced by OOJSEndProfiling().

+ Here is the caller graph for this function:

The documentation for this category was generated from the following file: