Enable or disable profiling.

Namespace: BrightstarDB
Assembly: BrightstarDB (in BrightstarDB.dll) Version: 1.9.0.0 (1.9.0.0)

Syntax

C#
public static void EnableProfiling(
	bool profilingOn
)
Visual Basic
Public Shared Sub EnableProfiling ( 
	profilingOn As Boolean
)
Visual C++
public:
static void EnableProfiling(
	bool profilingOn
)
F#
static member EnableProfiling : 
        profilingOn : bool -> unit 

Parameters

profilingOn
Type: System..::..Boolean
True to turn on profiling, false otherwise

Remarks

By default profiling is disabled. If profiling is enabled several key components of the code will generate and emit profiling information. Collecting this information is a small CPU overhead but can be a substantial memory overhead for large operations. It is recommended only to enable profiling if you are absolutely sure you need the information it produces.

See Also