MagickCore  7.0.7
Convert, Edit, Or Compose Bitmap Images
timer.c File Reference
Include dependency graph for timer.c:

Go to the source code of this file.

Macros

#define CLOCKS_PER_SEC   100
 

Functions

static double UserTime (void)
 
static void StopTimer (TimerInfo *)
 
MagickExport TimerInfoAcquireTimerInfo (void)
 
MagickExport MagickBooleanType ContinueTimer (TimerInfo *time_info)
 
MagickExport TimerInfoDestroyTimerInfo (TimerInfo *timer_info)
 
static double ElapsedTime (void)
 
MagickExport double GetElapsedTime (TimerInfo *time_info)
 
MagickExport void GetTimerInfo (TimerInfo *time_info)
 
MagickExport double GetUserTime (TimerInfo *time_info)
 
MagickExport void ResetTimer (TimerInfo *time_info)
 
MagickExport void StartTimer (TimerInfo *time_info, const MagickBooleanType reset)
 

Macro Definition Documentation

◆ CLOCKS_PER_SEC

#define CLOCKS_PER_SEC   100

Definition at line 56 of file timer.c.

Referenced by ElapsedTime(), and UserTime().

Function Documentation

◆ AcquireTimerInfo()

MagickExport TimerInfo* AcquireTimerInfo ( void  )

◆ ContinueTimer()

◆ DestroyTimerInfo()

MagickExport TimerInfo* DestroyTimerInfo ( TimerInfo timer_info)

Definition at line 160 of file timer.c.

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

◆ ElapsedTime()

static double ElapsedTime ( void  )
static

Definition at line 188 of file timer.c.

References CLOCKS_PER_SEC.

Referenced by StartTimer(), and StopTimer().

◆ GetElapsedTime()

◆ GetTimerInfo()

◆ GetUserTime()

◆ ResetTimer()

MagickExport void ResetTimer ( TimerInfo time_info)

◆ StartTimer()

◆ StopTimer()

◆ UserTime()

static double UserTime ( void  )
static

Definition at line 461 of file timer.c.

References CLOCKS_PER_SEC.

Referenced by StartTimer(), and StopTimer().