STAPL API Reference          
Overview   Containers   Algorithms   Views   Skeletons   Run-Time System
Modules     Classes    
List of all members | Public Member Functions | Static Public Member Functions | Public Types
stapl::gettickcount_timer Class Reference

Time counter that uses GetTickCount() in Windows systems. More...

Public Member Functions

void start (void) noexcept
 Starts the counter.
 
value_type stop (void) const noexcept
 Stops the counter and returns the difference from start() in seconds.
 

Static Public Member Functions

static constexpr const char * name (void) noexcept
 Returns the name of the counter as a C string.
 
static raw_value_type read (void) noexcept
 Returns the raw value from the counter.
 
static constexpr value_type normalize (const raw_value_type v) noexcept
 Normalizes the given raw value to seconds.
 

Public Types

typedef DWORD raw_value_type
 
typedef double value_type
 

Detailed Description

Time counter that uses GetTickCount() in Windows systems.


The documentation for this class was generated from the following file: