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
35class Utils
36{
37public:
43 static quint64 getTimeStamp();
44
50 static quint64 getTimeStamp(const struct input_event*);
51};
52
53#endif // UTILS_H
Collection of static utility functions.
Definition: utils.h:36
static quint64 getTimeStamp(const struct input_event *)
Convert given timeval struct into microsecs.
static quint64 getTimeStamp()
Get timestamp of monotonic clock in microsecs.