From: Mathieu Desnoyers Date: Wed, 25 Jan 2012 03:44:59 +0000 (-0500) Subject: clock: show that enumerations need to have their type declared X-Git-Tag: v1.8~10 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=aed18b5ef592ac98d04d023cf40d38598bb062d8;ds=sidebyside clock: show that enumerations need to have their type declared Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-specification.txt b/common-trace-format-specification.txt index 83d0fc1..90a669b 100644 --- a/common-trace-format-specification.txt +++ b/common-trace-format-specification.txt @@ -1250,13 +1250,15 @@ struct { Clock metadata allows to describe the clock topology of the system, as well as to detail each clock parameter. In absence of clock description, it is assumed that all fields named "timestamp" use the same clock -source, which increment once per nanosecond. +source, which increments once per nanosecond. Describing a clock and how it is used by streams is threefold: first, the clock and clock topology should be described in a "clock" description block, e.g.: -enum clocks { +typealias integer { size = 32; align = 32; signed = true } := uint32_t; + +enum clocks : uint32_t { cycle_counter, };