VTK
Public Member Functions | Public Attributes | Protected Member Functions | Friends | List of all members
vtkRenderTimerLog::Event Struct Reference

Container for a single timed event. More...

#include <vtkRenderTimerLog.h>

Public Member Functions

float ElapsedTimeSeconds () const
 Convenience methods to compute times. More...
 
float ElapsedTimeMilliseconds () const
 
vtkTypeUInt64 ElapsedTimeNanoseconds () const
 
void Print (std::ostream &os, float threshMs=0.f, vtkIndent indent=vtkIndent())
 Print details of the event to a stream. More...
 

Public Attributes

std::string Name
 Event name. More...
 
std::vector< EventEvents
 Child events that occurred while this event was running. More...
 
vtkTypeUInt64 StartTime
 Times are in nanoseconds. More...
 
vtkTypeUInt64 EndTime
 Times are in nanoseconds. More...
 

Protected Member Functions

void Print (std::ostream &os, float parentTime, float threshMs, vtkIndent indent)
 

Friends

struct vtkRenderTimerLog::Frame
 

Detailed Description

Container for a single timed event.

Definition at line 87 of file vtkRenderTimerLog.h.

Member Function Documentation

float vtkRenderTimerLog::Event::ElapsedTimeSeconds ( ) const
inline

Convenience methods to compute times.

Definition at line 98 of file vtkRenderTimerLog.h.

float vtkRenderTimerLog::Event::ElapsedTimeMilliseconds ( ) const
inline

Definition at line 100 of file vtkRenderTimerLog.h.

vtkTypeUInt64 vtkRenderTimerLog::Event::ElapsedTimeNanoseconds ( ) const
inline

Definition at line 102 of file vtkRenderTimerLog.h.

void vtkRenderTimerLog::Event::Print ( std::ostream &  os,
float  threshMs = 0.f,
vtkIndent  indent = vtkIndent() 
)
inline

Print details of the event to a stream.

Parameters
osThe stream.
threshMsOnly print events with a time > threshMs milliseconds.
indentStarting indentation for the first event.

Definition at line 113 of file vtkRenderTimerLog.h.

void vtkRenderTimerLog::Event::Print ( std::ostream &  os,
float  parentTime,
float  threshMs,
vtkIndent  indent 
)
protected

Friends And Related Function Documentation

friend struct vtkRenderTimerLog::Frame
friend

Definition at line 119 of file vtkRenderTimerLog.h.

Member Data Documentation

std::string vtkRenderTimerLog::Event::Name

Event name.

Definition at line 90 of file vtkRenderTimerLog.h.

vtkTypeUInt64 vtkRenderTimerLog::Event::StartTime

Times are in nanoseconds.

Definition at line 93 of file vtkRenderTimerLog.h.

vtkTypeUInt64 vtkRenderTimerLog::Event::EndTime

Times are in nanoseconds.

Definition at line 94 of file vtkRenderTimerLog.h.

std::vector<Event> vtkRenderTimerLog::Event::Events

Child events that occurred while this event was running.

Definition at line 106 of file vtkRenderTimerLog.h.


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