GetTickCount

E724282

GetTickCount is a Windows API function that returns the number of milliseconds that have elapsed since the system was started, commonly used for timing and measuring intervals in applications.

All labels observed (2)

Label Occurrences
GetTickCount64 2
GetTickCount canonical 1

How this entity was disambiguated

Statements (48)

Predicate Object
instanceOf Windows API function ⓘ
availability Windows services ⓘ
console applications ⓘ
desktop applications ⓘ
some Windows Store / UWP contexts via compatibility APIs ⓘ
availableOn Microsoft Windows ⓘ
linked to: Windows
callingConvention WINAPI ⓘ
category time management function ⓘ
declaredInHeader windows.h ⓘ
definedInLibrary Kernel32.dll ⓘ
linked to: Kernel32
documentationSite Microsoft Learn ⓘ
errorReporting does not provide extended error information via GetLastError ⓘ
exportedBy Kernel32.dll ⓘ
linked to: Kernel32
hasParameter none ⓘ
hasSuccessor GetTickCount64 ⓘ
headerLanguage C/C++ ⓘ
introducedFor timing and measuring intervals in applications ⓘ
languageBinding C ⓘ
C++ ⓘ
limitation 32-bit tick count subject to overflow ⓘ
linkRequirement Kernel32.lib ⓘ
linked to: Kernel32
measures elapsed time since system startup ⓘ
monotonicWithinWrap non-decreasing until wraparound occurs ⓘ
namespace global (C API) ⓘ
linked to: C API
parameterCount 0 ⓘ
partOf Windows API ⓘ
linked to: Win32 API
platform Win32 ⓘ
linked to: Win32 API

Win64 ⓘ
linked to: 64-bit Windows
recommendedAlternativeForNewCode GetTickCount64 ⓘ
linked to: GetTickCount
relatedFunction GetTickCount64 ⓘ
linked to: GetTickCount

QueryPerformanceCounter ⓘ
QueryPerformanceFrequency ⓘ
requires Windows operating system ⓘ
resolution depends on system timer resolution ⓘ
typically around 10 to 16 milliseconds on many systems ⓘ
returnDescription number of milliseconds that have elapsed since the system was started ⓘ
returns DWORD ⓘ
returnTypeWidth 32-bit unsigned integer ⓘ
threadSafety thread-safe ⓘ
timeOrigin system startup ⓘ
timeUnit milliseconds ⓘ
usedFor basic profiling ⓘ
measuring time intervals between events ⓘ
performance measurement in applications ⓘ
simple timing operations ⓘ
timeout calculations ⓘ
wrapBehavior counter value overflows and restarts from zero ⓘ
wrapsAround approximately every 49.7 days ⓘ

How these facts were elicited

Referenced by (3)

Full triples — surface form annotated when it differs from this entity's canonical label.

Kernel32 → exportsFunction → GetTickCount ⓘ
GetTickCount → recommendedAlternativeForNewCode → GetTickCount64 ⓘ
linked to: GetTickCount
GetTickCount → relatedFunction → GetTickCount64 ⓘ
linked to: GetTickCount