System.Diagnostics.TStopwatch.GetTimeStamp

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

class function GetTimeStamp: Int64; static;

C++

static __int64 __fastcall GetTimeStamp();

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.Diagnostics.pas
System.Diagnostics.hpp
System.Diagnostics TStopwatch

Description

Renvoie l'horodatage actuel.

Appelez GetTimestamp pour obtenir l'horodatage actuel. GetTimestamp renvoie un entier sur 64 bits contenant le temps actuel du système d’exploitation.

GetTimestamp est utilisé par TStopwatch pour calculer les moments initial et final d'un intervalle de temps surveillé.

Voir aussi