Click or drag to resize
DigitalRuneProfiler Methods

The Profiler type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAddValue
Adds the value to the ProfilerData with the given name.
Public methodStatic memberClearAll
Removes all profiler data.
Public methodStatic memberDump
Returns a string that contains a table with all ProfilerData instances for the current thread.
Public methodStatic memberDump(Int32)
Returns a string that contains a table with all ProfilerData instances for the given thread.
Public methodStatic memberDump(Thread)
Returns a string that contains a table with all ProfilerData instances for the given thread. (Not available on these platforms: WinRT)
Public methodStatic memberDumpAll
Returns a string that contains all collected profiler data (for all threads).
Public methodStatic memberGet
Gets the ProfilerDataCollection for the current thread.
Public methodStatic memberGet(Int32)
Gets the ProfilerDataCollection for the specified thread.
Public methodStatic memberGet(String)
Gets the ProfilerData with the given name for the current thread.
Public methodStatic memberGet(Thread)
Gets the ProfilerDataCollection for the specified thread. (Not available on these platforms: WinRT)
Public methodStatic memberReset
Resets all ProfilerData for the current thread.
Public methodStatic memberReset(Int32)
Resets all ProfilerData for the given thread.
Public methodStatic memberReset(String)
Resets the ProfilerData with the given name (only for the current thread).
Public methodStatic memberReset(Thread)
Resets all ProfilerData for the given thread. (Not available on these platforms: WinRT)
Public methodStatic memberResetAll
Resets all ProfilerData for all threads.
Public methodStatic memberResetAll(String)
Resets the ProfilerData with the given name for all threads.
Public methodStatic memberCode exampleSetFormat
Sets the formatting data for ProfilerData.
Public methodStatic memberStart
Starts time measurement for the ProfilerData with the given name.
Public methodStatic memberStop
Stops time measurement for the ProfilerData with the given name and records the elapsed time in seconds.
Top
See Also