Mistake on this page?
Report an issue in GitHub or email us
Static Public Member Functions
Clock Struct Reference

A C++11 chrono TrivialClock for the kernel millisecond tick count. More...

#include <Kernel.h>

Static Public Member Functions

static void lock ()
 Lock the clock to ensure it stays running; dummy for API compatibility with HighResClock. More...
 
static void unlock ()
 Unlock the clock, allowing it to stop during power saving; dummy for API compatibility with HighResClock. More...
 

Detailed Description

A C++11 chrono TrivialClock for the kernel millisecond tick count.

Note
To fit better into the chrono framework, Kernel::Clock uses std::chrono::milliseconds as its representation, which makes it signed and at least 45 bits (so it will be int64_t or equivalent).

Definition at line 73 of file Kernel.h.

Member Function Documentation

static void lock ( void  )
static

Lock the clock to ensure it stays running; dummy for API compatibility with HighResClock.

Definition at line 98 of file Kernel.h.

static void unlock ( void  )
static

Unlock the clock, allowing it to stop during power saving; dummy for API compatibility with HighResClock.

Definition at line 103 of file Kernel.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.