Open Qmin  0.8.0
GPU-accelerated Q-tensor-based liquid crystal simulations
Public Member Functions | Public Attributes | List of all members
profiler Class Reference

#include <profiler.h>

Public Member Functions

 profiler (string profilerName)
 
void start ()
 
void end ()
 
double timing ()
 
void print ()
 

Public Attributes

chrono::time_point< chrono::high_resolution_clock > startTime
 
chrono::time_point< chrono::high_resolution_clock > endTime
 
int functionCalls
 
double timeTaken
 
string name
 

Constructor & Destructor Documentation

◆ profiler()

profiler::profiler ( string  profilerName)
inline

Member Function Documentation

◆ start()

void profiler::start ( )
inline

◆ end()

void profiler::end ( )
inline

◆ timing()

double profiler::timing ( )
inline

◆ print()

void profiler::print ( )
inline

Member Data Documentation

◆ startTime

chrono::time_point<chrono::high_resolution_clock> profiler::startTime

◆ endTime

chrono::time_point<chrono::high_resolution_clock> profiler::endTime

◆ functionCalls

int profiler::functionCalls

◆ timeTaken

double profiler::timeTaken

◆ name

string profiler::name

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