Status/Resolution/Reason: Closed/Won't Fix/
Reporter/Name(from Bugbase): Clive Morris / Clive Morris (snowshine)
Created: 05/25/2012
Components: Language
Versions: 9.0.1
Failure Type: Performance Issue
Found In Build/Fixed In Build: 9.0.1 /
Priority/Frequency: Normal / Few users will encounter
Locale/System: English / Win 2008 Server R2
Vote Count: 0
Problem Description:
I wish to have an accurate millisecond timer. Both the GetTickCount() function and timeformat(now(),"L") display essentially the same data but there are jumps in the output, so the system will display the same GetTickCount() for a number of itterations and then it will jump by about 10-30 milliseconds before showing a new value. As a minute changes the date can sometimes show the previous "second" value even though the millisecond counter has moved to the next second.
Steps to Reproduce: Run the following code:
<cfset d=now()>
<cfoutput>
<cfloop condition="#d# EQ #now()#">
#now()# ms=#timeformat(now(),"L")# tick=#GetTickCount()#<br/>
</cfloop>
</cfoutput>
Run this a few times and have a look at the output and you will see that the millisecond output does not progress smoothly as expected but jumps and sometimes the millisecond counters can have changed into the next second but the now() value still shows the previous second.
Actual Result:
Expected Result:
Any Workarounds:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3198651
Deployment Phase: Release Candidate
External Customer Info:
External Company:
External Customer Name: snowshine
External Customer Email:
External Test Config: My Hardware and Environment details:
Win Server 2008 R2
Attachments:
Comments: