| 219 | } |
| 220 | |
| 221 | double stop() |
| 222 | { |
| 223 | auto time_diff = std::chrono::high_resolution_clock::now() - time_start; |
| 224 | double this_duration = std::chrono::duration_cast<std::chrono::duration<double>>(time_diff).count(); |
| 225 | duration += this_duration; |
| 226 | count++; |
| 227 | return this_duration; |
| 228 | } |
| 229 | #elif defined(LIBFREENECT2_WITH_OPENGL_SUPPORT) |
| 230 | double time_start; |
| 231 |