From: Mathieu Desnoyers Date: Wed, 25 Jan 2012 20:39:49 +0000 (-0500) Subject: Update clock example X-Git-Tag: v1.8~8 X-Git-Url: http://git.efficios.com/?p=ctf.git;a=commitdiff_plain;h=58262d973337c66293cda87f8775334c26282291;hp=d803bfcbf48cebc1fe31336930f674408dfce651 Update clock example Specify that this example targets only synchronized cycle counters. Signed-off-by: Mathieu Desnoyers --- diff --git a/common-trace-format-specification.txt b/common-trace-format-specification.txt index 528029d..a8603ba 100644 --- a/common-trace-format-specification.txt +++ b/common-trace-format-specification.txt @@ -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