Class SimOneDataStat

Nested Relationships

Nested Types

Class Documentation

class SimOneDataStat

Public Types

enum statType

Values:

enumerator stat_hotarea
enumerator stat_sensor

Public Functions

SimOneDataStat ( )
~SimOneDataStat ( )
void Init ( std :: string caseName )
inline void setLogFilePath ( std :: string logPath )
void addPacketStat ( statType type , DataContent * pDataContent )
void updateStat ( statType type , DataStat * pStat , std :: uint64_t * t , int tCount , std :: uint64_t packageSize , int frame , int sensorType )
void CreatePerformanceFile ( )
inline void setIsOpen ( bool isOpen )
inline bool getIsOpen ( )
inline void setFilePath ( char * filePath )
inline void setOutputInterval ( int intervalPacketCount )

Public Static Functions

static inline SimOneDataStat * GetInstance ( )
struct DataContent

Public Members

std :: uint64_t nodeCreateTime
std :: uint64_t BridgeIORecvTime
std :: uint64_t BridgeIOSendTime
std :: uint64_t APIRecvTime
std :: uint64_t packageSize
int frame
int sensorType
struct DataStat

Public Members

std :: uint64_t totalCount
std :: uint64_t totalPacketSize
std :: uint64_t totalTimeMs [ 3 ]
std :: uint64_t AvgTimeMS [ 3 ]
std :: uint64_t MaxTimeMS [ 3 ]
std :: uint64_t MinTimeMS [ 3 ]
std :: uint64_t thresholdCount [ 3 ]