MCPcopy Create free account
hub / github.com/Atarity/Lightpack / howLongItStart

Method howLongItStart

Software/src/TimeEvaluations.cpp:49–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47#endif
48
49void TimeEvaluations::howLongItStart()
50{
51 struct timeval tv;
52 if(gettimeofday(&tv, 0) < 0){
53 qWarning() << "howLongItStart(): Error gettimeofday()";
54 }else{
55 this->timevalue_ms = (tv.tv_sec % 1000) * 1000.0 + tv.tv_usec / 1000.0;
56 }
57}
58
59double TimeEvaluations::howLongItEnd()
60{

Callers 1

handleGrabbedColorsMethod · 0.80

Calls 1

gettimeofdayFunction · 0.85

Tested by

no test coverage detected