18 #ifndef EQ_FABRIC_STATISTIC_H
19 #define EQ_FABRIC_STATISTIC_H
21 #include <eq/fabric/api.h>
22 #include <eq/fabric/types.h>
90 EQFABRIC_API
static const std::string&
getName(
const Type type );
92 EQFABRIC_API
static const Vector3f&
getColor(
const Type type );
96 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const Statistic::Type&);
99 EQFABRIC_API std::ostream& operator << ( std::ostream&,
const Statistic& );
107 { byteswap( reinterpret_cast< uint32_t& >( value )); }
111 byteswap( value.
type );
113 byteswap( value.task );
122 byteswap( value.
ratio );
128 #endif // EQ_FABRIC_STATISTIC_H
Sampling of synchronization time during Config::finishFrame.
Sampling of Channel::frameReadback.
uint32_t plugins[2]
color,depth plugins (readback, compression)
Sampling of waiting for a send token from the receiver.
Sampling of Channel::frameDrawFinish.
Sampling of Channel::frameClear.
Sampling of Channel::frameViewFinish.
Sampling of Config::startFrame.
Sampling of Window::finish before a swap barrier.
int64_t startTime
Absolute start time of the operation.
Sampling of Frame::waitReady.
static EQFABRIC_API const std::string & getName(const Type type)
Translate the Type to a string representation.
Sampling of frame compression.
static EQFABRIC_API const Vector3f & getColor(const Type type)
Translate the Type to a color value.
Type
The type of the statistics event.
uint32_t frameNumber
The frame during when the sampling happened.
Sampling of frame decompression.
float currentFPS
FPS of last frame (WINDOW_FPS)
Sampling of swap barrier block.
Type type
The type of statistic.
Sampling of Channel::frameDraw.
int64_t totalTime
Total time of a pipe frame (PIPE_IDLE)
char resourceName[32]
A non-unique name of the originator.
Sampling of Window::swapBuffers.
int64_t idleTime
Absolute idle time of PIPE_IDLE.
float ratio
compression ratio (transfer, compression)
Sampling of throttling of framerate_equalizer.
float averageFPS
Weighted sum averaging of FPS (WINDOW_FPS)
int64_t endTime
Absolute end time of the operation.
Sampling of async readback.
Sampling of Config::finishFrame.
Sampling of Channel::frameAssemble.
Sampling of frame transmission.