sensorfw
utils.h
Go to the documentation of this file.
1
28
#ifndef UTILS_H
29
#define UTILS_H
30
#include <linux/input.h>
31
35
class
Utils
36
{
37
public
:
43
static
quint64
getTimeStamp
();
44
50
static
quint64
getTimeStamp
(
const
struct
input_event*);
51
};
52
53
#endif
// UTILS_H
Utils
Collection of static utility functions.
Definition:
utils.h:36
Utils::getTimeStamp
static quint64 getTimeStamp(const struct input_event *)
Convert given timeval struct into microsecs.
Utils::getTimeStamp
static quint64 getTimeStamp()
Get timestamp of monotonic clock in microsecs.
datatypes
utils.h
Generated by
1.9.4