{**
* For the full copyright and license information, please view the
* docs/licenses/LICENSE.txt file that was distributed with this source code.
*}
{function name=load_time}
{if $data > 1.6}
{round($data * 1000)}
{elseif $data > 0.8}
{round($data * 1000)}
{else}
{sprintf('%01.3f', $data * 1000)}
{/if}
ms
{/function}