projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
flash: fix example usage documentation
[bertos.git]
/
bertos
/
os
/
hptime.h
diff --git
a/bertos/os/hptime.h
b/bertos/os/hptime.h
index 7e5b88a0022d53fa8faa9259eb715d40a07c0fd3..d7699d0e5f11875b1d23b5eec449a01539446449 100644
(file)
--- a/
bertos/os/hptime.h
+++ b/
bertos/os/hptime.h
@@
-32,7
+32,7
@@
*
* \brief Portable abstraction for high-resolution time handling (interface)
*
*
* \brief Portable abstraction for high-resolution time handling (interface)
*
- * \author Bern
ardo Innocenti <bernie@develer.com
>
+ * \author Bern
ie Innocenti <bernie@codewiz.org
>
*/
#ifndef HPTIME_H
#define HPTIME_H
*/
#ifndef HPTIME_H
#define HPTIME_H
@@
-45,6
+45,7
@@
extern "C" {
/** our type for "high precision absolute time" */
typedef __int64 hptime_t;
/** our type for "high precision absolute time" */
typedef __int64 hptime_t;
+ #define SIZEOF_HPTIME_T 8
#define HPTIME_TICKS_PER_SECOND (10000000I64)
#define HPTIME_TICKS_PER_MILLISEC (10000I64)
#define HPTIME_TICKS_PER_SECOND (10000000I64)
#define HPTIME_TICKS_PER_MILLISEC (10000I64)
@@
-63,6
+64,7
@@
extern "C" {
/** Type for "high precision absolute time". */
typedef int64_t hptime_t;
/** Type for "high precision absolute time". */
typedef int64_t hptime_t;
+ #define SIZEOF_HPTIME_T 8
#define HPTIME_TICKS_PER_SECOND (1000000LL)
#define HPTIME_TICKS_PER_MILLISEC (1000LL)
#define HPTIME_TICKS_PER_SECOND (1000000LL)
#define HPTIME_TICKS_PER_MILLISEC (1000LL)