sensorfw: Utils Class Reference

sensorfw

Static Public Member Functions | List of all members
Utils Class Reference

Collection of static utility functions. More...

`#include <utils.h>`

## Static Public Member Functions
static quint64 | getTimeStamp ()
| Get timestamp of monotonic clock in microsecs. More...
static quint64 | getTimeStamp (const struct input_event *)
| Convert given timeval struct into microsecs. More...

## Detailed Description

Collection of static utility functions.

Definition at line 35 of file utils.h.

## Member Function Documentation

## ◆ getTimeStamp() [1/2]

static quint64 Utils::getTimeStamp | ( |  | ) |
| static

Get timestamp of monotonic clock in microsecs.

Returns
  timestamp.

## ◆ getTimeStamp() [2/2]

static quint64 Utils::getTimeStamp | ( | const struct input_event * |  | ) |
| static

Convert given timeval struct into microsecs.

Returns
  timestamp.

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

- datatypes/utils.h