How to read the value of ticks?
Qt Code:
  1. //timer3.PerformanceCounter;
  2. //timer3.TickCounter;
  3. //timer3.ClockType(TickCounter);
  4. //timer3.QElapsedTimer::TickCounter;
  5. //timer3.clockType(2);
  6. timer3.clockType(QElapsedTimer::TickCounter);
  7. timer3.start();
  8. time=timer3.nsecsElapsed(); // correctly? Why nsecs? How to read ticks?
To copy to clipboard, switch view to plain text mode