//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// copyright notice, this list of conditions and the following disclaimer
// in the documentation and/or other materials provided with the
// distribution.
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// (3) Si la correcin aplicada es mayor del 5% de la resolucin volvemos a calcularla ya
// que podemos considerar que normalmente no desviar�tanto tiempo.
//--------------------------------------------------------------------------------------------
// (3) Si la correcin aplicada es mayor del 5% de la resolucin volvemos a calcularla ya
// que podemos considerar que normalmente no desviar�tanto tiempo.
//--------------------------------------------------------------------------------------------
throw() {
Millisecond result(a_timeController.getResolution());
int correction = (a_expectedTime == 0) ? 0 : (a_expectedTime - msnow); // (2)
throw() {
Millisecond result(a_timeController.getResolution());
int correction = (a_expectedTime == 0) ? 0 : (a_expectedTime - msnow); // (2)