WCTChainCall Class Reference

Inherits from WCTCore : NSObject
Declared in WCTChainCall.h

Overview

Not Thread-safe

Statistics Methods

– setStatisticsEnabled:

After enabling, you can call the [cost] interface to get time consuming.

- (void)setStatisticsEnabled:(BOOL)enabled

Parameters

enabled

enabled

Discussion

Warning: You should call it before calling all other interface, otherwise [cost] will return an inaccurate result.

See Also

Declared In

WCTChainCall+Statistics.h

– cost

The time consuming. You can call it to profile the performance.

- (double)cost

Return Value

Time in seconds

Declared In

WCTChainCall+Statistics.h

– error

More detailed error messages.

- (WCTError *)error

Return Value

nil or error.isOK==YES if no error occurs.

Declared In

WCTChainCall+Statistics.h