Added an Opt helper module.
Do not fail on empty share directory
TMP: use only time by default (xen dom0 don't know about perf cycles...)