Update clock example
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Jan 2012 20:39:49 +0000 (15:39 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 25 Jan 2012 20:39:49 +0000 (15:39 -0500)
Specify that this example targets only synchronized cycle counters.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
common-trace-format-specification.txt

index 528029dc9d4ce799f394cf5105e159d1201869ac..a8603ba49f1b42ed2124debe642d2797069ea8f2 100644 (file)
@@ -1257,9 +1257,9 @@ the clock and clock topology should be described in a "clock"
 description block, e.g.:
 
 clock {
-       name = cycle_counter;
+       name = cycle_counter_sync;
        uuid = "62189bee-96dc-11e0-91a8-cfa3d89f3923";
-       description = "Local CPU cycle counter";
+       description = "Cycle counter synchronized across CPUs";
        freq = 1000000000;             /* frequency, in Hz */
        /* precision in seconds is: 1000 * (1/freq) */
        precision = 1000;
@@ -1285,7 +1285,7 @@ type:
 
 typealias integer {
        size = 64; align = 1; signed = false;
-       map = clock.cycle_counter.value;
+       map = clock.cycle_counter_sync.value;
 } := uint64_ccnt_t;
 
 Thirdly, stream declarations can reference the clock they use as a
This page took 0.03228 seconds and 4 git commands to generate.