API:System.Diagnostics.TStopwatch

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

TStopwatch = record

C++

struct DECLSPEC_DRECORD TStopwatch
{
private:
    static __int64 FFrequency;
    static bool FIsHighResolution;
    static double TickFrequency;
    __int64 FElapsed;
    bool FRunning;
    __int64 FStartTimeStamp;
    System::Timespan::TTimeSpan __fastcall GetElapsed();
    __int64 __fastcall GetElapsedDateTimeTicks();
    __int64 __fastcall GetElapsedMilliseconds();
    __int64 __fastcall GetElapsedTicks();
    static void __fastcall InitStopwatchType();
public:
    static TStopwatch __fastcall Create();
    static __int64 __fastcall GetTimeStamp();
    void __fastcall Reset();
    void __fastcall Start();
    static TStopwatch __fastcall StartNew();
    void __fastcall Stop();
    __property System::Timespan::TTimeSpan Elapsed = {read=GetElapsed};
    __property __int64 ElapsedMilliseconds = {read=GetElapsedMilliseconds};
    __property __int64 ElapsedTicks = {read=GetElapsedTicks};
    /* static */ __property __int64 Frequency = {read=FFrequency};
    /* static */ __property bool IsHighResolution = {read=FIsHighResolution};
    __property bool IsRunning = {read=FRunning};
};

Propriétés

Type Visibilité  Source Unité  Parent
record
struct
public
System.Diagnostics.pas
System.Diagnostics.hpp
System.Diagnostics System.Diagnostics

Description

Embarcadero Technologies ne possède pas d'informations supplémentaires pour le moment. Veuillez nous aider à documenter cette rubrique en utilisant la page Discussion !