MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / get_wall_time

Function get_wall_time

rtpose_wrapper/apps/rtpose.cpp:351–359  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349
350
351double get_wall_time() {
352 struct timeval time;
353 if (gettimeofday(&time,NULL)) {
354 // Handle error
355 return 0;
356 }
357 return (double)time.tv_sec + (double)time.tv_usec * 1e-6;
358 //return (double)time.tv_usec;
359}
360
361double medianBetweenValidPoints(const cv::Mat& Input){
362 std::vector<ushort> array;

Callers 8

renderFunction · 0.85
getFrameFromDirFunction · 0.85
getFrameFromCamFunction · 0.85
getFramesFunction · 0.85
processFrameFunction · 0.85
postProcessFrameFunction · 0.85
buffer_and_orderFunction · 0.85
displayFrameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected