Class ExecutionTable
- Namespace
- Dynamicweb.Diagnostics
- Assembly
- Dynamicweb.Core.dll
Represents an execution table. Add events to it and get a html table with time taken on the different events with the get
- Inheritance
-
Execution
Table
- Inherited Members
Remarks
Used internally by pageview object.
Properties
ConnectionCounter
Counter for number of database connections during the request.
Property Value
- int
The connection counter.
Current
Gets execution table for current thread.
Property Value
DbCountEnabled
Gets or sets a value indicating whether database call count is recorded.
Property Value
- bool
true
if [database count]; otherwise,false
.
DbCounter
Gets or sets count of data base calls per query
Property Value
DbStat
Gets or sets a value indicating whether database debug information should be recorded.
Property Value
- bool
true
if [database stat]; otherwise,false
.
DbStatClean
Gets or sets a value indicating whether to collection debug information for a limited dbstat.
Property Value
- bool
true
if [database stat clean]; otherwise,false
.
Debug
Gets or sets a value indicating whether this Execution
Property Value
- bool
true
if debug; otherwise,false
.
ExecutionTableMapper
Gets or sets the execution table mapper.
Property Value
- IExecution
Table Mapper The execution table mapper.
IgnoreDbStatCounter
Gets or sets a value indicating whether to skip the connection counter increment.
Property Value
- bool
true
if [ignore database stat counter]; otherwise,false
.
Stopwatch
Property Value
TimestampStart
Gets or sets time stamp represents begin of request
Property Value
Methods
Add(string)
Adds the specified event name to the executing table.
Parameters
eventName
stringName of the event.
AddDbStat(string)
Adds a line to the dbstat output.
Parameters
message
stringThe message.
CountDbCall(string)
Adds or increses given data base query counter to Db
Parameters
dbQuery
stringThe data base query
GetDbStat()
Gets the dbstat output.
Returns
- string
System.String.
GetExecutionTable()
Gets the execution table.