MagickCore  7.0.11
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
 

Typedefs

typedef struct _Timer Timer
 
typedef struct _TimerInfo TimerInfo
 

Enumerations

enum  TimerState { UndefinedTimerState, StoppedTimerState, RunningTimerState }
 

Functions

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
Enumerator
UndefinedTimerState 
StoppedTimerState 
RunningTimerState 

Definition at line 25 of file timer.h.

Function Documentation

◆ AcquireTimerInfo()

MagickExport TimerInfo* AcquireTimerInfo ( void  )

◆ ContinueTimer()

◆ DestroyTimerInfo()

MagickExport TimerInfo * DestroyTimerInfo ( TimerInfo )

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 *   
)

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()