string dbugGetFormatTickCount(long tickCount)
{
string tickInStr = ((double)tickCount / (double)10000000).ToString();
int pos = tickInStr.IndexOf('.');
if (pos > 0)
{
if (tickInStr.Length > pos + 6)
{
return tickInStr.Substring(0, pos + 6);
}
else
{
return tickInStr;
}
}
else
{
return tickInStr;
}
}