MagickCore 7.1.0
Convert, Edit, Or Compose Bitmap Images
timer.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _Timer
struct  _TimerInfo


typedef struct _Timer Timer
typedef struct _TimerInfo TimerInfo


enum  TimerState { UndefinedTimerState , StoppedTimerState , RunningTimerState }


MagickExport double GetElapsedTime (TimerInfo *)
MagickExport double GetUserTime (TimerInfo *)
MagickExport MagickBooleanType ContinueTimer (TimerInfo *)
MagickExport ssize_t FormatMagickTime (const time_t, const size_t, char *)
MagickExport TimerInfoAcquireTimerInfo (void)
MagickExport TimerInfoDestroyTimerInfo (TimerInfo *)
MagickExport void GetTimerInfo (TimerInfo *)
MagickExport void ResetTimer (TimerInfo *)
MagickExport void StartTimer (TimerInfo *, const MagickBooleanType)

Typedef Documentation

◆ Timer

typedef struct _Timer Timer

◆ TimerInfo

typedef struct _TimerInfo TimerInfo

Enumeration Type Documentation

◆ TimerState

enum TimerState

Definition at line 25 of file timer.h.

Function Documentation

◆ AcquireTimerInfo()

MagickExport TimerInfo * AcquireTimerInfo ( void  )

◆ ContinueTimer()

◆ DestroyTimerInfo()

MagickExport TimerInfo * DestroyTimerInfo ( TimerInfo timer_info)

Definition at line 163 of file timer.c.

References MagickCoreSignature, RelinquishMagickMemory(), and _TimerInfo::signature.

◆ FormatMagickTime()

MagickExport ssize_t FormatMagickTime ( const  time_t,
const  size_t,
char *  timestamp 

Definition at line 255 of file timer.c.

References FormatLocaleString(), and GetMagickUTCtime().

Referenced by ReadImage(), and TranslateEvent().

◆ GetElapsedTime()

MagickExport double GetElapsedTime ( TimerInfo )

◆ GetTimerInfo()

MagickExport void GetTimerInfo ( TimerInfo )

◆ GetUserTime()

◆ ResetTimer()

MagickExport void ResetTimer ( TimerInfo )

◆ StartTimer()

MagickExport void StartTimer ( TimerInfo time_info,
const  MagickBooleanType