MeshLib
 
Loading...
Searching...
No Matches
MR::ThreadRootTimeRecord Struct Reference

#include <MRTimeRecord.h>

+ Inheritance diagram for MR::ThreadRootTimeRecord:

Public Member Functions

MRMESH_API ThreadRootTimeRecord (const char *tdName)
 
MRMESH_API void printTree ()
 
MRMESH_API ~ThreadRootTimeRecord ()
 
- Public Member Functions inherited from MR::TimeRecord
MRMESH_API std::chrono::nanoseconds childTime () const
 
std::chrono::nanoseconds myTime () const
 
double mySeconds () const
 
- Public Member Functions inherited from MR::SimpleTimeRecord
double seconds () const
 

Public Attributes

const char * threadName = nullptr
 
std::chrono::time_point< std::chrono::high_resolution_clock > started = std::chrono::high_resolution_clock::now()
 
bool printTreeInDtor = true
 
double minTimeSec = 0.1
 
std::shared_ptr< spdlog::logger > loggerHandle = Logger::instance().getSpdLogger()
 
- Public Attributes inherited from MR::TimeRecord
TimeRecordparent = nullptr
 
std::map< std::string, TimeRecordchildren
 
- Public Attributes inherited from MR::SimpleTimeRecord
int count = 0
 
std::chrono::nanoseconds time = {}
 

Constructor & Destructor Documentation

◆ ThreadRootTimeRecord()

MRMESH_API MR::ThreadRootTimeRecord::ThreadRootTimeRecord ( const char * tdName)

◆ ~ThreadRootTimeRecord()

MRMESH_API MR::ThreadRootTimeRecord::~ThreadRootTimeRecord ( )

Member Function Documentation

◆ printTree()

MRMESH_API void MR::ThreadRootTimeRecord::printTree ( )

Member Data Documentation

◆ loggerHandle

std::shared_ptr<spdlog::logger> MR::ThreadRootTimeRecord::loggerHandle = Logger::instance().getSpdLogger()

◆ minTimeSec

double MR::ThreadRootTimeRecord::minTimeSec = 0.1

◆ printTreeInDtor

bool MR::ThreadRootTimeRecord::printTreeInDtor = true

◆ started

std::chrono::time_point<std::chrono::high_resolution_clock> MR::ThreadRootTimeRecord::started = std::chrono::high_resolution_clock::now()

◆ threadName

const char* MR::ThreadRootTimeRecord::threadName = nullptr

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