Add support for QNX.
Use ClockCycles() to get tick count on QNX.
fix loss fraction computation
improve again packet loss computation