[Freeswitch-dev] Epoch current time difference

Anthony Minessale anthony.minessale at gmail.com
Thu Dec 22 20:07:48 MSK 2011

-nocal turns off the calibrating clock sequence executed at startup.  It
does several tests to find the number of microseconds you should sleep to
get exactly 1 millisecond.  Some systems are off in this respect and the
test finds the optimal value, when you specify -nocal it just uses the
default of exactly 1000 microseconds.

-nort essentially disables clock_nanosleep from being used as a method to
sleep small amounts of time.  On many systems this function is by far the
most accurate but on many others its not.  Its harder to test for this so
we have to figure it out manually, really its mostly older boxes who need

On Thu, Dec 22, 2011 at 3:36 AM, Cavalera Claudio Luigi <
Claudio.Cavalera at italtel.it> wrote:

> Hello,
> I've created this entry on the wiki:
> http://wiki.freeswitch.org/wiki/Clock
> I hope it can helps everyone which sees sees different between system
> and FS times.
> can someone elaborate a bit on these options which i believe are clock
> related?
>       -nocal                 -- disable clock calibration   [NOTE: if
> you don't want it to try to calibrate the 1ms sleep precision]
>       -nort                  -- disable clock clock_realtime
> Thanks,
> Claudio
> Internet Email Confidentiality Footer
> -----------------------------------------------------------------------------------------------------
> La presente comunicazione, con le informazioni in essa contenute e ogni
> documento o file allegato, e' rivolta unicamente alla/e persona/e cui e'
> indirizzata ed alle altre da questa autorizzata/e a riceverla. Se non siete
> i destinatari/autorizzati siete avvisati che qualsiasi azione, copia,
> comunicazione, divulgazione o simili basate sul contenuto di tali
> informazioni e' vietata e potrebbe essere contro la legge (art. 616 C.P.,
> D.Lgs n. 196/2003 Codice in materia di protezione dei dati personali). Se
> avete ricevuto questa comunicazione per errore, vi preghiamo di darne
> immediata notizia al mittente e di distruggere il messaggio originale e
> ogni file allegato senza farne copia alcuna o riprodurne in alcun modo il
> contenuto.
> This e-mail and its attachments are intended for the addressee(s) only and
> are confidential and/or may contain legally privileged information. If you
> have received this message by mistake or are not one of the addressees
> above, you may take no action based on it, and you may not copy or show it
> to anyone; please reply to this e-mail and point out the error which has
> occurred.
> -----------------------------------------------------------------------------------------------------
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale at hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org
googletalk:conf+888 at conference.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-dev/attachments/20111222/a0dedf2c/attachment-0001.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev mailing list