diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2014-06-12 11:05:10 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2014-06-12 11:05:10 -0400 |
commit | bb976e3a5cc01abecf6729eb511f75fb21c6d2c4 (patch) | |
tree | 606e5094f454fa53bcd52afac5cb815742d13e56 /libdimension/dimension/timer.h | |
parent | 453bb6c1b79d6d4fe4b1277336dc0f4097a5ee6b (diff) | |
download | dimension-bb976e3a5cc01abecf6729eb511f75fb21c6d2c4.tar.xz |
Add a C99 conformance test for the headers.
Diffstat (limited to 'libdimension/dimension/timer.h')
-rw-r--r-- | libdimension/dimension/timer.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libdimension/dimension/timer.h b/libdimension/dimension/timer.h index 55d66ff..be1f3c0 100644 --- a/libdimension/dimension/timer.h +++ b/libdimension/dimension/timer.h @@ -23,14 +23,14 @@ * A platform-agnostic timer abstraction. */ -/** A platform-agnotic timer. */ +/// A platform-agnotic timer. typedef struct dmnsn_timer { - double real; /**< Wall-clock time. */ - double user; /**< Time spent executing. */ - double system; /**< Time spent waiting for the system. */ + double real; ///< Wall-clock time. + double user; ///< Time spent executing. + double system; ///< Time spent waiting for the system. } dmnsn_timer; -/** A standard format string for timers. */ +/// A standard format string for timers. #define DMNSN_TIMER_FORMAT "%.2fs (user: %.2fs; system: %.2fs)" /** * The appropriate arguments to printf() a timer. For example: |